Closed ghost closed 7 years ago
@pieruz what version of cordova-android or cordova-ios do you use? Run cordova platforms
or phonegap platforms
to find out.
@macdonst Sorry for the dumb question, but how can I do this check using DevExtreme?
@pieruz No clue. I've never used DevExtreme. Probably should ask them.
@macdonst I asked, I will come back here with the answer
@macdonst Ok, here I am.
Cordova-android version is 6.2.3
Cordova-ios version is 4.4.0
@pieruz those are the supported versions for 2.0.0. Not sure why you are getting undefined. Are you building locally?
@macdonst I created the template in the phonegap online utility and then I created the package with the DevExtreme tool. Opening the generated package, I see the version I wrote above, with the push plugin included in the plugin list
@pieruz I'm really sorry but I don't have time to research the DevExtreme tool. You would probably be better off asking them for support. Everything you are doing looks correct.
@macdonst You're right, finally I solved with them the issue. Now it works like charms!
@pieruz can you post what the solution was so that other can benefit if they actually search the old issues?
This thread has been automatically locked.
I have updated my project to phonegap 7.0.1 and using the push plugin version 2.
In my index.js file, after the device is ready, I run this code:
This used to work like charms, now it doesn't. Why?
This is also my confing.xml file
The first if in my code goes in the else branch. This because PushNotification is undefined. Why is it undefined? Am I missing something?