Hey I forked the push notification plugin (https://github.com/alexislg2/PushPlugin) and added it to my project.
The project won't compile with cordova build
because I have a error: cannot find symbol
error.
The reason is that I use in the plugin Notification.setCategory()
method which is Android SDK 21.
How to force cordova to compile using API level 21?
I installed the android 21 sdk build tools + I set <preference name="android-targetSdkVersion" value="21" />
in my config.xml
But cordova keeps trying to compile with android 19. What is wrong?
Thanks