You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use your package but it tells me "Trying to initialize OneSignalPushAdapter without oneSignalAppId or oneSignalApiKey"
I copied and pasted the example shown at the README.md.
That said, I have been trying to debug the package putting a console.log() when it initializes.
Here is what I am doing:
varOneSignalPushAdapter=exports.OneSignalPushAdapter=function(){functionOneSignalPushAdapter(){varpushConfig=arguments.length<=0||arguments[0]===undefined ? {} : arguments[0];// I am adding this lineconsole.log("pushConfig",pushConfig)//.....
Hello,
I am trying to use your package but it tells me "Trying to initialize OneSignalPushAdapter without oneSignalAppId or oneSignalApiKey"
I copied and pasted the example shown at the README.md.
That said, I have been trying to debug the package putting a console.log() when it initializes.
Here is what I am doing:
Now, I am testing the code like this:
When this piece of code executes, I see in the console that OneSignalPushAdapter tries to be initialized 3 times. (i don't know why)
The console.log result i am getting is:
The text was updated successfully, but these errors were encountered: