File "help_modifiche.txt"

Full Path: /srv/www/www.cadoro.it/app/release/help_modifiche.txt
File size: 2.05 KB
MIME-type: text/plain
Charset: utf-8

cordova-universal-links-plugin: https://github.com/nordnet/cordova-universal-links-plugin
<universal-links>
    <ios-team-id value="2MDL33XTW3" />
    <host name="*.alisupermercati.it" scheme="https">
        <path event="registrazioneConfirm" url="/registrazione/*" />
        <path url="/login" />
    </host>
    <host name="alisupermercati.it" scheme="https">
        <path event="registrazioneConfirm" url="/registrazione/*" />
        <path url="/login" />
    </host>
    <host name="*.alisupermercati.it" scheme="http">
        <path event="registrazioneConfirm" url="/registrazione/*" />
        <path url="/login" />
    </host>
    <host name="alisupermercati.it" scheme="http">
        <path event="registrazioneConfirm" url="/registrazione/*" />
        <path url="/login" />
    </host>
</universal-links>
//universalLinks
universalLinks.subscribe('registrazioneConfirm', function (eventData) {
  console.log('Did launch application from the link: ' + eventData.url);
  //console.log(JSON.stringify(eventData));
  var res = eventData.path.split("/");
  res.shift();

  $rootScope.user_id = res[1];
  $rootScope.hash = res[2];
  $rootScope.$emit("CallAuthWelcomeController", {});
});

.controller('AuthWelcomeController', function(
    $rootScope,
    $scope,
    $http,
    $ionicHistory,
    $ionicLoading,
    $ionicPlatform,
    $ionicPopup,
    $location,
    $timeout,
    $cordovaGoogleAnalytics,
    localStorageService,
    API_END_POINT
  ) {
  $rootScope.$on("CallAuthWelcomeController", function(){
    //console.log("CallParentMethod");
    if($rootScope.user_id) {
      $scope.doConfirmRegistrazione($rootScope.user_id, $rootScope.hash);
      $rootScope.user_id = false;
    }
  });
});



BARCODE
https://github.com/phonegap/phonegap-plugin-barcodescanner




ANALYTICS
$timeout(function(){
      $cordovaGoogleAnalytics.startTrackerWithId('UA-51373396-47');
    }, 3000);







    <host name="192.168.1.119" scheme="http">
        <path event="landing" url="/Cadoro/landing/*" />
    </host>







CADORO vorrebbe utilizzare la fotocamera per scannerizzare QRcode.