I am building a mobile app using Ionic 4 + Cordova. It was compiling perfectly ok for a few dozens builds, no problem whatsoever.
I made a very small change in the code, nothing changes in plugins, NPM or whatever else. And all of a sudden, it fails during compilation with:
platforms\android\app\src\main\java\com\gae\scaffolder\plugin\MyFirebaseInstanceIDService.java:6: error: cannot find symbol
symbol: class FirebaseInstanceIdService
location: package com.google.firebase.iid
I am using the below cordova plugins (and was using the same when it was compiling ok):
I tried whatever I could find on the net, but nothing changed.
One of the suggestions was to also add firebase-auth, even if not used, which I did but didnt have any effect, so I removed it.
(edit: I also tried removing and re-adding the android platform, again no effect)
Any ideas? (as it is for a project with a deadline in 2 days, I would really appreciate any help I can get quickly)…
MANY thanks !