I followed these instructions on adding ProGuard to Flutter and am now seeing this exception when starting the application:
java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/firebase/auth/internal/zzae;
This is obviously connected to Firebase Auth. The mentioned instructions also state the following:
Any additional libraries (for example, Firebase) require their own rules to be added.
I did, however, not find any resources which show what statements I would need to append to proguard-rules.pro
.
I can imagine that other Firebase components would crash similarly after the Auth component is fixed, so I am wondering what the meaning of "for example, Firebase" is, i.e. if there are rules for every component or if I will just need to fix this for Firebase Authentication.