WIP Add OneSignal Adapter

This commit is contained in:
George Deglin
2016-02-12 18:32:39 -08:00
parent 9248f9af6d
commit a1b24da3e7
4 changed files with 210 additions and 25 deletions

View File

@@ -485,11 +485,6 @@ RestWrite.prototype.handleInstallation = function() {
this.data.installationId = this.data.installationId.toLowerCase();
}
if (this.data.deviceToken && this.data.deviceType == 'android') {
throw new Parse.Error(114,
'deviceToken may not be set for deviceType android');
}
var promise = Promise.resolve();
if (this.query && this.query.objectId) {