These are chat archives for angular/angular-2-ionic-2

24th
Oct 2017
kkrishnan90
@kkrishnan90
Oct 24 2017 14:34
@rgolea is ionic electron possible??? Never knew that..
I have been through some basics of angular electron though
Rares Golea
@rgolea
Oct 24 2017 14:48
@kkrishnan90 it is, it’s not a big problem but you have to load cordova using a script
I used
  <!-- cordova.js required for cordova apps -->
  <!-- <script src="cordova.js"></script> -->
  <script>
    (function(){
      'use strict';
      if(window.Ionic && window.Ionic.platform && !window.Ionic.platform.is('electron')){
        var s = document.createElement('script');
          s.type = 'text/javascript';
          s.async = true;
          s.src = 'cordova.js';
        document.head.appendChild(s);
      }
    })();
  </script>
haven’t tested properly yet but I believe it should work. Haven’t wrapped in an app either.
Syed Washfi Ahmad
@swa06
Oct 24 2017 18:05
Hi, I have been trying to implement android background geolocation tracking with
cordova plugin background geolocation (https://github.com/mauron85/cordova-plugin-background-geolocation) .
Can anyone please tell me does it send location data to server after app is terminated from background?