Open micmek opened 7 years ago
I solved this by adding another plugin
https://www.npmjs.com/package/cordova-plugin-android-support-v4
cordova plugin add cordova-plugin-android-support-v4
Please make sure you put this in the documentation as a prerequisite.
error: cannot find symbol ContextCompat.checkSelfPermission(this.cordova.getActivity(), type));
any help ??
I'm having the same issue. Any update on this?
In build.gradle you need a dependency
dependencies {
compile 'com.android.support:support-v4:25.2.0'
}
getting the following Execution failed for task ':compileDebugJavaWithJavac'.
/sms_receiver/SmsReceiverPlugin.java:8: error: package android.support.v4.app does not exist import android.support.v4.app.ActivityCompat;