Commit c65e9473 by Sebastián Katzer

Add warning that trigger: { count: } is not supported on iOS

parent 38503d9c
...@@ -248,6 +248,10 @@ exports.convertTrigger = function (options) { ...@@ -248,6 +248,10 @@ exports.convertTrigger = function (options) {
trigger.count = trigger.every ? 5 : 1; trigger.count = trigger.every ? 5 : 1;
} }
if (trigger.count && device.platform == 'iOS') {
console.warn('trigger: { count: } is not supported on iOS.');
}
if (!isCal) { if (!isCal) {
trigger.notifyOnEntry = !!trigger.notifyOnEntry; trigger.notifyOnEntry = !!trigger.notifyOnEntry;
trigger.notifyOnExit = trigger.notifyOnExit === true; trigger.notifyOnExit = trigger.notifyOnExit === true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment