Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getLatitude() and getLongitude() throws exception in main.java #30

Open
shop2020 opened this issue May 8, 2020 · 1 comment
Open

getLatitude() and getLongitude() throws exception in main.java #30

shop2020 opened this issue May 8, 2020 · 1 comment

Comments

@shop2020
Copy link

shop2020 commented May 8, 2020

When Localtion lastdata is null (because the Location service is not yet finished with the init process successfully, then
getLatitude() and getLongitude() throws exception in main.java
near line:
@171 and @176

https://github.com/ryanw3bb/unity-native-toolkit/blob/master/Android/app/src/main/java/com/secondfury/nativetoolkit/Main.java

@elliotstronge
Copy link

I am also having this issue, would be good to have a fix. Currently throwing it an a try/catch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants