Hello Playmaker Community!
I am working on an app that is based on GPS location and uses
http://geojson.io/ to determinate wether the user is in a designated area or not.
The core functionlaity of this project heavily depends on "Location Info" , therefore the action "Device/Get Location Info" is used to detect the Latitude and Longitude.
I start with an init state that starts the location service. I want it to try for 30 seconds - if it fails it pauses and restarts the initialization. This is the State that is supposed to do it :
The problem is that the State
instantly triggers the "Location Services Failed" transition. I tried it with a GPS faker, ran it via Unity Remote 5 on a Lolipop Android device and built the app and gave it permission to use the Location services - to no avail.
The next step would be to save the Location info and sync it to geojson and detect if they match a certain area - but it never reaches this state :
I am desperately trying to figure out what could be causing it - I tried the updated actions i found on the forum somewhere (a 2013 post) , but I doubt that they are not updated in the Playmaker 1.8.3 I am using in my project.
Am I missing something Action-wise ? Or is it some project setting I am missing out on ?
Any kind of help would be greatly appreciated!
Best Regards
Alex