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

Earth state is INTERNAL when starting the app without an active internet connection #1671

Open
Tom3652 opened this issue Sep 9, 2024 · 1 comment
Labels

Comments

@Tom3652
Copy link

Tom3652 commented Sep 9, 2024

SPECIFIC ISSUE ENCOUNTERED

Build the sample app and turn off your wifi / internet connection.
See that Earth.EarthState is ERROR_INTERNAL.

VERSIONS USED

  • Android Studio: 2024.1.2
  • ARCore SDK for Android: 1.45.0
  • Device manufacturer, model, and O/S: Motorola
  • Google Play Services for AR (ARCore): versionName=1.45.242050483
    On Windows, use: 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:
  • Output of adb shell getprop ro.build.fingerprint: motorola/sofiar_reteu/sofiar:11/RPES31.Q4U-47-35-12/24aaf7:user/release-keys

STEPS TO REPRODUCE THE ISSUE

  1. Turn off all internet connectivity on your phone
  2. Log the earth state
  3. Run the sample quickstart
  4. See the earth state is in 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.

@Tom3652 Tom3652 added the bug label Sep 9, 2024
@Tom3652
Copy link
Author

Tom3652 commented Sep 9, 2024

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 ?

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

No branches or pull requests

1 participant