Closed Tom3652 closed 1 month ago
I just think about it now, but is it possible that the ARCore sdk is checking for the API availability before starting the session ? And thus encounter an error because there is no internet connection ?
Geospatial requires an internet connection, so you will get EarthState Error Internal starting the app without an internet connection. I think at that point the only way to fix the issue would be to call Session.configure twice and disable/reenable the geospatial api once internet has been restored (or wait for internet access before configuring the arcore session initially).
SPECIFIC ISSUE ENCOUNTERED
Build the sample app and turn off your wifi / internet connection. See that
Earth.EarthState
isERROR_INTERNAL
.VERSIONS USED
adb shell pm dump com.google.ar.core | findstr /i "packages: versionName"
On macOS, use:adb shell pm dump com.google.ar.core | egrep -i versionName\|packages:
adb shell getprop ro.build.fingerprint
: motorola/sofiar_reteu/sofiar:11/RPES31.Q4U-47-35-12/24aaf7:user/release-keysSTEPS TO REPRODUCE THE ISSUE
ERROR_INTERNAL
WORKAROUNDS (IF ANY)
No workarounds unfortunately
ADDITIONAL COMMENTS
Note : turning on wifi when the app is already running doesn't make it work, you have to kill the app and restart it with internet connection to get a "normal" earth state.