Open Lerolben opened 1 year ago
Problem appears only in Android. For wonderpush/wonderpush-cordova-sdk versions higher than 3.2.4
wonderpush/wonderpush-cordova-sdk
3.2.4
If we called the subscribeToNotifications method without an argument, in Android Studio we can see:
subscribeToNotifications
To native (Cordova plugin): callbackId: WonderPushPlugin1671177871, service: WonderPushPlugin, action: subscribeToNotifications, actionArgs: [null] File: http://localhost/5587.bbfd13ac199b513b.js - Line 1 - Msg: [WonderPush] error calling native method: [object Arguments]
Calling the method subscribeToNotifications with the true or false parameter works fine.
true
false
The parameter is not required, so it should work by default without it.
Problem appears only in Android. For
wonderpush/wonderpush-cordova-sdk
versions higher than3.2.4
If we called the
subscribeToNotifications
method without an argument, in Android Studio we can see:Calling the method
subscribeToNotifications
with thetrue
orfalse
parameter works fine.The parameter is not required, so it should work by default without it.