quickstart-android
quickstart-android copied to clipboard
(Remote Config) E/AndroidRuntime: FATAL EXCEPTION: main
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()
The app close immediately without giving any details in stacktrace
@ArcherEmiya05 can you provide some logs from logcat
that show the crash? There should be some evidence in there.
Same thing for me and there's no stacktrace :(
@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()
Any updates on this issue? Did you find a solution?
happens on my app as well, no stacktrace