solve conflict between push and local notification of cordova

Step 1: in platforms/android/project.properties

dex.force.jumbo=true
target=android-22
android.library.reference.1=CordovaLib
cordova.system.library.1=com.android.support:support-v4:+

 

 

Step 2 : delete android-support-v4.jar from  platforms/android/libs

 

Step 3 : If you are getting android version problem

# Project target.
target=android-22

This should be done in two files:

myApp/platforms/android/project.propertiesmyApp/platforms/android/CordovaLib/project.properties

Also the manifest should be updated:

<uses-sdk android:minSdkVersion="14" android:targetSdkVersion="22" />
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s