I'm currently integrating the Firebase plugin from the Forge component and the CleverTap Cordova plugin built from the GitHub repository (https://github.com/CleverTap/clevertap-cordova) into my OutSystems mobile app. However, I'm encountering a duplicate class error: 'Duplicate class com.google.firebase.iid.FirebaseInstanceIdReceiver found in modules jetified-firebase-iid-18.0.0-runtime (com.google.firebase:firebase-iid:18.0.0) and jetified-firebase-messaging-23.0.6-runtime (com.google.firebase:firebase-messaging:23.0.6).'
Interestingly, the app gets generated successfully if I exclude either the Firebase resource file or the CleverTap plugin.
Any insights or guidance on resolving this issue would be greatly appreciated! I am attaching a log file.Please note this happens only for android build, Ios works fine
Hey Team,
After some consideration, we've decided to streamline our approach by choosing between Firebase and CleverTap. Since CleverTap incorporates Firebase configuration within itself, it's not feasible to integrate both into the same application. Therefore, we'll need to prioritize one over the other for our current solution.
Hi Joel,
You can check this on Github.
https://github.com/firebase/firebase-android-sdk/issues/4206#issue-1409911151
Hope this will help you.
Regards,
Amreen