From 522c417090cde7acbd9de74bfea53b7dcbefd975 Mon Sep 17 00:00:00 2001 From: Clement Fradet Normand Date: Tue, 13 Aug 2019 00:13:44 +0200 Subject: [PATCH] Update index.js Just better wording to understand. --- www/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/js/index.js b/www/js/index.js index 6745858..5d25b01 100644 --- a/www/js/index.js +++ b/www/js/index.js @@ -99,7 +99,7 @@ var app = { function registerForPushNotification() { console.log("Register button pressed"); window.plugins.OneSignal.registerForPushNotifications(); - // Only works if user previously subscribed and you used setSubscription(false) below + // Push notifications only work if user previously subscribed and you set setSubscription(true) window.plugins.OneSignal.setSubscription(true); }