react-native-sms icon indicating copy to clipboard operation
react-native-sms copied to clipboard

Fix sms apps crashing without permissions

Open rogerkerse opened this issue 3 years ago • 0 comments

This code goes through all apps that correspond to given intent and gives them read access to attachment.

Without this error will pop up on many devices

E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.google.android.apps.messaging, PID: 26367
    java.lang.SecurityException: UID 10120 does not have permission to content://com.xx.provider/external_files/Download/photo-736230.jpeg

rogerkerse avatar Jul 29 '20 13:07 rogerkerse