0

Now I am developed an application that have to send current location to server for trigger a notification to users when he/she approached the shop.And the problem is when user start device at the first time my app doesn't run thus it can't send the current location to server. How do I do this task?

What I want to know is how to call some function in the app when device started.

Thank you very much.

T.Dack
  • 29
  • 1
  • 3
  • 2
    Possible duplicate of [Background user location when app is terminated/suspended](http://stackoverflow.com/questions/28790893/background-user-location-when-app-is-terminated-suspended) – Elvin Mar 31 '17 at 09:46
  • http://stackoverflow.com/a/37248870/3747974 – Santo Mar 31 '17 at 11:37

0 Answers0