Marshmallow Permission
See original GitHub issueHi there,
I seem to be getting a decent amount of crashes due to permissions on sending SMS messages with this plugin.
"Fatal Exception: java.lang.SecurityException: Sending SMS message: uid 10238 does not have android.permission.SEND_SMS"
Most of the crashes are on Marshmallow, I am assuming due to the new runtime permissions implemented in Android M. Are there any plans to have the plugin request permission (or am I missing something?)
Issue Analytics
- State:
- Created 8 years ago
- Comments:9 (6 by maintainers)
Top Results From Across the Web
Android marshmallow request permission?
Open a Dialog using the code below: ActivityCompat.requestPermissions(MainActivity.this, new String[]{Manifest.permission.READ_EXTERNAL_STORAGE}, 1);.
Read more >Marshmallow Permissions: Should I, Will I, Could I?
This change mandates that every app using Location permissions (Beacons included) targeting Marshmallow and above needs to programmatically ask ...
Read more >Request app permissions
Overview · <action> · <activity> · <activity-alias> · <application> · <category> · <compatible-screens> · <data> · <grant-uri-permission> · <instrumentation> ...
Read more >Understanding App Permissions
Permission Updates in Marshmallow. Marshmallow brought large changes to the permissions model. It introduced the concept of runtime permissions. These are ...
Read more >Dangerous Permissions on Android Marshmallow
Starting from Android 6.0, permissions are handled differently. See how to make your app compatible with dangerous permissions on Android Marshmallow.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Glad to hear that, I am going to merge this branch on master, let it sit there for a few days then publish a new release. Will close the issue after posting the new release.
I published a new release and updated the readme file via https://github.com/cordova-sms/cordova-sms-plugin/commit/d3df32b263ad72a00a58c3ac0cbfd787ff599ab7.
Closing this issue for now. Feel free to open a new one if you notice anything. Thanks again for testing. 🍻