瀏覽代碼

Forgot to add platform specific options for location based notifications

Sebastián Katzer 8 年之前
父節點
當前提交
3c3147a7ad
共有 1 個文件被更改,包括 5 次插入3 次删除
  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;
     }
 };