The Wayback Machine - https://web.archive.org/web/20201009122329/https://github.com/firebase/quickstart-android/issues/902
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

(Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main #902

Open
ArcherEmiya05 opened this issue Jul 2, 2019 · 4 comments
Open

(Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main #902

ArcherEmiya05 opened this issue Jul 2, 2019 · 4 comments

Comments

@ArcherEmiya05
Copy link

@ArcherEmiya05 ArcherEmiya05 commented Jul 2, 2019

Step 1: Describe your environment

  • Android device: Xperia XA1
  • Android OS version: 8.0.0
  • Google Play Services version: 4.3.0
  • Firebase/Play Services SDK version: 18.0.0

Step 2: Describe the problem:

Steps to reproduce:

(Offline only) App crash whenever the device is not connected to internet.

Observed Results:

E/AndroidRuntime: FATAL EXCEPTION: main

Relevant Code:

Calling fetch() or fetchAndActivate() inside onResume()

@ArcherEmiya05 ArcherEmiya05 changed the title E/AndroidRuntime: FATAL EXCEPTION: main (Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main Jul 2, 2019
@ArcherEmiya05

Loading…

Author

@ArcherEmiya05 ArcherEmiya05 commented Jul 2, 2019

The app close immediately without giving any details in stacktrace

@samtstern

Loading…

Member

@samtstern samtstern commented Jul 3, 2019

@ArcherEmiya05 can you provide some logs from logcat that show the crash? There should be some evidence in there.

@adrianolc

Loading…

@adrianolc adrianolc commented Jul 5, 2019

Same thing for me and there's no stacktrace :(

@ArcherEmiya05

Loading…

Author

@ArcherEmiya05 ArcherEmiya05 commented Jul 6, 2019

@ArcherEmiya05 can you provide some logs from logcat that show the crash? There should be some evidence in there.

Thats all the what it says in logcat on 3 devices that I've tested.

E/AndroidRuntime: FATAL EXCEPTION: main
Process: package.name, PID: XXXX

Also I tried it on different device LG K10 K430dsy and Cherry Mobile J5s. All crash when device is not connected to a network. So my work around as of now is to check whether the app is connected to any network before calling fetch() or fetchAndActivate()

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

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.