question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Marshmallow Permission

See original GitHub issue

Hi 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:closed
  • Created 8 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
dbaqcommented, Apr 6, 2016

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.

0reactions
dbaqcommented, Apr 13, 2016

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. 🍻

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found