I've been cleaning up a code snippet that i've been sharing here:
I've run into an issue that I thought would be worth creating a new thread for.
While I was developing the code in the above link, I was using companion, because I couldn't seem to get the LocationSensor.latitude to return correct values. No worries, I simply substituted a number block for the approximate latitude while I was testing using Companion.
Thus:
Instead of:
I've now changed over to some near-final testing and started using apk builds to test. However, the compiled app does not seem to be passing the LocationSensor1.Latitude values through to my formulas. I am certainly able to return a value from LocationSensor1.Latitude using the following test:
Label1 displays the correct value in the compiled app.
To be clear, if I run the compiled app using:
It works properly. But if I change it to:
Permission are granted.
Here is the procedure that calls upon the Latitude_Test variable:
Any idea of what might be going on?