I have implemented Capacitor plugin for Firebase Crashlytics in my Ionic 5 app following this doc. I completed all the steps but getting the following error.
error: package com.getcapacitor.community.firebasecrashlytic does not exist
^
This error is coming when Android Studio is trying to build the project. The error is comming the the MainActivity.java
class in line import com.getcapacitor.community.firebasecrashlytic.FirebaseCrashlytics;
In short
There is a typo in README. I managed to fix it by adding s
in firebasecrashlytic
.
Just change import com.getcapacitor.community.firebasecrashlytic.FirebaseCrashlytics;
to import com.getcapacitor.community.firebasecrashlytics.FirebaseCrashlytics;
Some fun
There was an issue related to this "bug". The issue was closed without fixing the cause.
There are already a few pull requests (like this one) waiting for approval.