I am getting the following crash for a lot of users :
Fatal Exception: java.lang.NullPointerException: Attempt to invoke interface method \'java.util.Set jav
The bug @Ευάγγελος pointed out was fixed in version 15.0.0
. However, that version introduced another bug that was also causing NullPointerException
. Fortunately, it was quickly fixed in 15.0.2
.
As stated in Kirril Karmizin's comment, it's a known bug since June 2017 (Github Firebase issues). I also received multiple crash reports
Fatal Exception: java.lang.NullPointerException
at com.google.android.gms.internal.zzdyx.zzb(Unknown Source)
at com.google.android.gms.internal.zzdyx.zza(Unknown Source)
at com.google.android.gms.internal.zzfan.run(Unknown Source)
at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:848)
, with:
A probable step in the right direction for those that would want to keep Remote Config in their apps can be found in Official RemoteConfic docs:
You should set in-app default parameter values in the Remote Config object, so that your app behaves predictably before it fetches values from the Remote Config service.
For me, I could not risk more crash reports in a production app. I removed Remote Config and I've seen no crashes until now.