4.9.17

Firebase Push Notification ile Admob Birlikte Kullanımı Cordova

Selamlar,

Ionic v1 ile yazdığım bir uygulamada hem reklam (admob) hem de push notification (firebase notification) kullanmam gerekiyordu. Cordova pluginlerinden cordova-admob ve cordova-plugin-fcm yi birlikte kullanmaya çalıştım fakat şu hatayı aldım:

Execution failed for task ':processDebugGoogleServices'.
> Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 9.0.0.

Biraz araştırdığımda sorunu çözdüklerini dile getirdiler ama ne yaptıysam çalıştıradım. Çözümü farklı bir yolda buldum. cordova-admob plugini yerine cordova-plugin-admobpro-firebase'i kullanarak hatayı ortadan kaldırdım.