'Firesbase auth fallback exception : Java lang exception

Firebase Auth causes error if I set code shrinker to R8. I am frustrated its been a week solving it, but i could not solve it. 'Unable to instantiate service com.google.firebase.auth.api.fallback.service.FirebaseAuthFallbackService: java.lang.ClassNotFoundException: Didn't find class "com.google.firebase.auth.api.fallback.service.FirebaseAuthFallbackService"'

My Android Properties: enter image description here

Full Error enter image description here



Solution 1:[1]

In your proguard.cfg file you need to add the line;

-keep class com.google.firebase.auth.api.fallback.service.FirebaseAuthFallbackService { *; }

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 c.lamont.dev