Hello! I recently moved an app (ionic 3) from Cordova to Capacitor.
The iOS app worked right away (awesome)
However, it’s been many days that I have been trying to get the Android app working. I indeed got many dependencies errors regarding firebase. I realized that the app was still using cordova firebase plugins so I removed them.
Now, when I build the app, I seem to be getting another dependency issue:
In a file called PushInstanceIDListenerService.java.
It says that FirebaseInstanceIdService cannot be found. I looked up online and saw that this service was deprecated.
I also added the google-services.json file.
My question is: How can I get the application to run given that I am using the latest capacitor version?
This PushInstanceIDListenerService appears unused. When I delete it and run the app on my phone. I have the following error:
I am very confused because everything worked so nicely on iOS.
Articles I read
Thank you so much!!
UPDATE:
It seems like this comes from a phonegap plugin. I will try to remove it and tell you what it does
By the way good job Ionic. XPlatform framework iOS build are very easy (since capacitor). I always had troubles with iOS build. It is now a very nice experience.
Vittorio