I'm integrating flutter add-to-app module into my existing native host app. Both native host app and Flutter add-to-app module are using firebase crashlytics, but they are using different version of firebase.
- Flutter module -> use latest firebase version
- Native host app -> use quite old firebase version
This lead to following error (crash) when flutter module trying to record an error.
'com.google.firebase.crashlytics.FirebaseCrashlytics.core' is inaccessible to class 'com.google.firebase.crashlytics.FlutterFirebaseCrashlyticsInternal'
I assumed that this is because there are some updates in latest firebase so FlutterFirebaseCrashlyticsInternal somehow can't talk to FirebaseCrashlytics.core
Note:
- The only firebase feature I'm going to use is: Firebase crashlytics
- Due to some reasons, I'm unable to upgrade firebase version in Native app at this moment.
Wondering if this is something I can fix from flutter side without giving any change on Native Host app side? Or the only way to fix is update firebase configured on native side to latest version?