[OneSignal Plugin] DisableSubscription not working for plugin
Question
onesignal-plugin
Mobile icon
Forge component by Platform Maintenance
Application Type
Mobile

Hi all ,


I suspected the the code has change on the OneSignal side where to Disable subscriptions.

I can see in the Plugin it the java script is calling : 

OneSignal.setSubscription(false);

Where it has now changed to : 

OneSignal.disablePush(true); 


Can you guys confirm if this is correct and if plugin should change ? 

Thanks ,

Jacques  


window.plugins.OneSignal.setSubscription(true);

$resolve();

just used a javascript 

window.plugins.OneSignal.setSubscription(true);

$resolve();

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.