Please see the above link for native app debugging and also the OS Logs sections to see detailed information from the logs about any error. Hopefully it will help you to understand the issue.
You can add custom error handling on the activity in your nanoflow. You then have the latestError variable with the exception. Whenever I call some device function or server interaction, like calling a microflow or running synchronize, I always add custom error handling. You can just show the error and ask the user to copy/paste it. Or create some errorlog entity that you write to and synchronize to the backend. When I handle an exception I also log an error, useful during development but of no use in distributed apps
Hi Thanks four your responses.
I’ve added error handling and also tried to debug using chrome outlined in the documentation.
I seem to get a null exception because the object is unidentified. This happened on the first try. Now I just recieve ‘Get location timed out’
If is any specific settings on the java actions I should use?
Maybe your app is not allowed to access the device location? Did you include the location permission in AndroidManifest.xml? Also check the device settings for the app permissions
Edit: Does it work in the Make It Native app? If so, there is an issue with your build. Double check permission settings in AndroidManifest.xml
Just to update this thread, If anyone is having the same issue
If i set the timeout to empty and maximum age to empty it seems to have worked.