Quantcast
Channel: Ionic Forum - Latest posts
Viewing all articles
Browse latest Browse all 228595

Tracking users geoLocation .factory or .service? What do you think is best?

$
0
0

I am trying to approach this feature on my app the best way possible and I am seeing so many different examples. I was wondering what some of you have done or would suggest...

My app tracks the users location every Minute and it lets them know.. I am approaching this using ngCordova's $cordovaGeoLocation plugin and all the samples I have seen have it being used as a factory and others as a service.. What would be the advantage or disadvantage?

Thank you all.


Viewing all articles
Browse latest Browse all 228595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>