I have updated my Android's targetSdkVersion to 30, and I realized that the actionViewIntent function does not work on Android 11.
There is no error thrown. So I can't able to debug.
Below is my code:
RNFetchBlob.android.actionViewIntent(filePath, mimeType);
Has anyone else had this issue after updating? Please assist me!!
Thanks in advance.
I fixed this issue by adding "queries" in AndroidManifest.xml
<queries>
<intent>
<action android:name="android.intent.action.VIEW" />
<data android:mimeType="*/*" />
</intent>
</queries>
<application ....