This repo is for remaining backwards compatible with previous versions of Cordova.
Your plugin can depend on this plugin and use it to handle the new run time permissions Android 6.0.0 (cordova-android 5.0.0) introduced.
View this commit to see how to depend on cordova-plugin-compat
. View this file to see how PermissionHelper
is being used to request and store permissions. Read more about Android permissions at http://cordova.apache.org/docs/en/latest/guide/platforms/android/plugin.html#android-permissions.