|
|
@@ -172,6 +172,16 @@ exports.convertProperties = function (options) {
|
|
|
options.data = JSON.stringify(options.data);
|
|
|
}
|
|
|
|
|
|
+ if (options.every)
|
|
|
+ if (device.platform == 'iOS' && typeof options.every != 'string') {
|
|
|
+ options.every = this.getDefaults().every;
|
|
|
+ var warning = 'Every option is not a string: ' + options.id;
|
|
|
+ warning += '. Expects one of: second, minute, hour, day, week, ';
|
|
|
+ warning += 'month, year on iOS.';
|
|
|
+ console.warn(warning);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
return options;
|
|
|
};
|
|
|
|