I’m working on an app for a client who wants to know how his users are distributed geographically. We have added some analytics, but would also like to track this ourselves (we are not recording any user data at the same time).
The only way I can see to do this is to use:
Runtime:addEventListener( "location", locationHandler )
and then record the latitude and longitude in the locationHandler function.
However on iOS this brings up a “will you allow this app to access your location” popup, which the client would prefer not to have. Ad networks seem to be able to track user’s locations without this, so I was wondering if there is a way for us to do the same in Corona.
I should point out that while I have an Enterprise licence, this app is being built using the regular SDK,