Skip to content

Commit

Permalink
Using cordova cdvPluginPostBuildExtras variable to add function and e…
Browse files Browse the repository at this point in the history
…xecute it when gradle build the project. Before it wasn't executed and fails on init firebase cause is not configured properly
  • Loading branch information
psabater committed Sep 17, 2018
1 parent 160d921 commit 675b0ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/android/build-extras.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ dependencies {
implementation 'com.urbanairship.android:urbanairship-fcm:9.4.1'
}

ext.postBuildExtras = {
cdvPluginPostBuildExtras.push({
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
}
})

0 comments on commit 675b0ca

Please sign in to comment.