Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update RNFetchBlobReq.java #878

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

shavlegkakulia
Copy link

@shavlegkakulia shavlegkakulia commented Aug 9, 2024

Register BroadcastReceiver for ACTION_DOWNLOAD_COMPLETE with version-based handling

  • Added conditional logic to register the BroadcastReceiver for DownloadManager.ACTION_DOWNLOAD_COMPLETE.
  • For Android SDK 34 and above (and target SDK 34 and above), included the Context.RECEIVER_EXPORTED flag to comply with new permissions requirements.
  • For Android versions below SDK 34, registered the receiver without the RECEIVER_EXPORTED flag to maintain compatibility.
Screenshot 2024-08-09 at 15 23 52

on target 34 or upper there was crash. in this file "RnFetchBlobReq" 199 line there added new argument in "registerReceiver" if target is more or equal with 34.
@mkhotib20
Copy link

hello @joltup do you still maintaining this repo? it ned to be merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants