function onNotification(e){
  console.log('NOTIFICATION', e);
}

angular.module("proBebe", ["ionic", "proBebe.controllers", "proBebe.services", "ngCordovaOauth"]).run(function($ionicPlatform, $rootScope, $state, authentication, pushProcessing, Microdonation, ObserverMicrodonation) {

  $ionicPlatform.ready(function() {
    // $state.go('messages');
    // Microdonation.setSendingMessages(false);

    var isIOS = ionic.Platform.isIOS();
    var isAndroid = ionic.Platform.isAndroid();
    var currentPlatform = ionic.Platform.platform();

    if(!isIOS && !isAndroid) $rootScope.systemType = '2';
    if(isIOS) $rootScope.systemType = '0';
    if(isAndroid) $rootScope.systemType = '1';

    // Microdonation.setSendingMessages(false);

    try {
      window.cordova.plugins.Keyboard.hideKeyboardAccessoryBar();
      window.StatusBar.styleDefault();
      window.open = window.cordova.InAppBrowser.open;
    } catch(error) {
      console.log(error);
    }
  });

  if (authentication.isAuthenticated()) {
    pushProcessing.initialize();
  } else {
    $rootScope.status = 'sign';
  }

  authentication.initialize();

  $rootScope.$on('authenticate', function() {
    pushProcessing.initialize();
  });

  $rootScope.$on('$stateChangeStart', function(event, toState, toParams, fromState, fromParams) {
    // ObserverMicrodonation.start();
    // if(ObserverMicrodonation.isTimeToShowPopup()) Microdonation.popup($rootScope);

    if (!authentication.isAuthenticated() && toState.name != 'sign' && toState.name != 'resetPassword') {
      $state.go('sign');
      event.preventDefault();
    }
  });

}).config(function($stateProvider, $urlRouterProvider, $ionicConfigProvider) {
  $ionicConfigProvider.views.maxCache(0);

  $stateProvider.state("messages", {
    url: "/messages",
    controller: "MessagesCtrl",
    templateUrl: "templates/messages.html"
  })
  .state("sign", {
    url: "/sign",
    controller: "AuthCtrl",
    templateUrl: "templates/auth/sign.html"
  })
  .state("resetPassword", {
    url: "/resetPassword",
    controller: "AuthCtrl",
    templateUrl: "templates/auth/reset_password.html"
  })
  .state("profile", {
    url: "/profile",
    controller: "ProfileCtrl",
    templateUrl: "templates/profile.html"
  })
  .state("about", {
    url: "/about",
    controller: "AboutCtrl",
    templateUrl: "templates/about.html"
  })
  .state("microdonation", {
    url: "/microdonation",
    controller: "MicroDonationCtrl",
    templateUrl: "templates/microdonation.html"
  });

  $urlRouterProvider.otherwise("/messages");
});

@@ -593,9 +593,13 @@
  = '
-2
+other
 ';%0A 
@@ -636,17 +636,19 @@
 Type = '
-0
+ios
 ';%0A    i
@@ -689,9 +689,15 @@
  = '
-1
+android
 ';%0A%0A

Change string of device system