-
Notifications
You must be signed in to change notification settings - Fork 784
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
Invalid value for visibility : 2 #191
Comments
If you're using 'addAndroidDownloads' in your RNFetchBlob config then you have to give android permission to DOWNLOAD_WITHOUT_NOTIFICATION in your AndroidManifest.xml
For reference: https://stackoverflow.com/questions/9345977/downloadmanager-request-setnotificationvisibility-fails-with-jsecurityexception Hope this helps you :) |
i added the permision into my android manifest but the error still there.. and actually i wanted it to be visible is there any other solution?? |
solved it.. i change the visibility into visible and the error solve, can try this if really still not working after using all the solution. |
@nonoyek where you changed the visibility? |
addAndroidDownloads : { tested and work fine in android u need to change notification to true |
confirmed that |
It worked for me!! |
Continuing this from the original repo. This happens downloading files via fetch with rn-fetch-blob. Cannot seem to track down a cause here.
wkh237#726
The text was updated successfully, but these errors were encountered: