Skip to content

Commit 4d7e705

Browse files
author
undefined
committed
Add exported
1 parent 85537d0 commit 4d7e705

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/RNFetchBlob/RNFetchBlobReq.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ public void run() {
197197
downloadManagerId = dm.enqueue(req);
198198
androidDownloadManagerTaskTable.put(taskId, Long.valueOf(downloadManagerId));
199199
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.TIRAMISU) {
200-
appCtx.registerReceiver(this, new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE), RECEIVER_NOT_EXPORTED);
200+
appCtx.registerReceiver(this, new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE), RECEIVER_EXPORTED);
201201
} else {
202202
appCtx.registerReceiver(this, new IntentFilter(DownloadManager.ACTION_DOWNLOAD_COMPLETE));
203203
}

0 commit comments

Comments
 (0)