Sfoglia il codice sorgente

Forgot to add platform specific options for location based notifications

Sebastián Katzer 8 anni fa
parent
commit
3c3147a7ad
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. 5 3
      www/local-notification-util.js

+ 5 - 3
www/local-notification-util.js

@@ -54,9 +54,11 @@ exports.applyPlatformSpecificOptions = function () {
         defaults.color       = undefined;
         break;
     case 'iOS':
-        defaults.attachments = undefined;
-        defaults.region      = undefined;
-        defaults.radius      = undefined;
+        defaults.attachments   = undefined;
+        defaults.region        = undefined;
+        defaults.radius        = undefined;
+        defaults.notifyOnEntry = true;
+        defaults.notifyOnExit  = false;
         break;
     }
 };