Parcourir la source

comment one signal version

master
Daniel il y a 2 ans
Parent
révision
988729efd4
1 fichiers modifiés avec 11 ajouts et 1 suppressions
  1. +11
    -1
      src/client/app/js/app/util/OneSignal.js

+ 11
- 1
src/client/app/js/app/util/OneSignal.js Voir le fichier

@@ -77,7 +77,17 @@ app.util.OneSignal = (function(){
{
// fail silently
}
// Woher wissen wir welche cordova version hier aktuell läuft?
// if (cordova version == 2) {
// OneSignal
// .startInit( appId )
// .handleNotificationOpened( cbNotificationOpened )
// .endInit();
// } else {
// OneSignal.setAppId(appId);
// }
OneSignal
.startInit( appId )
.handleNotificationOpened( cbNotificationOpened )


Chargement…
Annuler
Enregistrer