Reputation: 109
I am using https://github.com/katzer/cordova-plugin-email-composer plugin for sending a email on Android with Cordova. But it is not working on Android 6 (MarshMallow) and it is working on below version of Android 6.
Upvotes: 1
Views: 494
Reputation: 3550
That's likely because the plugin requires the GET_ACCOUNTS permission and the plugin has not added the runtime permission bits for Android M devices when building with SDK 23+.
You could use SDK 22 or lower instead of 23+ to build your app and runtime permissions won't be required.
Upvotes: 2