Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
➕ add dependency on cordova-support-google-services (#2293)
Browse files Browse the repository at this point in the history
  • Loading branch information
chemerisuk authored and macdonst committed Apr 9, 2018
1 parent 4d89cc7 commit fe6cb91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 17 deletions.
1 change: 1 addition & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<framework src="me.leolin:ShortcutBadger:1.1.17@aar"/>
<framework src="com.google.firebase:firebase-messaging:$FCM_VERSION"/>
<framework src="push.gradle" custom="true" type="gradleReference"/>
<dependency id="cordova-support-google-services" version="~1.1.0"/>
<source-file src="src/android/com/adobe/phonegap/push/FCMService.java" target-dir="src/com/adobe/phonegap/push/"/>
<source-file src="src/android/com/adobe/phonegap/push/PushConstants.java" target-dir="src/com/adobe/phonegap/push/"/>
<source-file src="src/android/com/adobe/phonegap/push/PushHandlerActivity.java" target-dir="src/com/adobe/phonegap/push/"/>
Expand Down
17 changes: 0 additions & 17 deletions push.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,3 @@ android {
applicationId = doExtractStringFromManifest("package")
}
}

buildscript {
repositories {
jcenter()
mavenLocal()
}
dependencies {
classpath 'com.android.tools.build:gradle:+'
classpath 'com.google.gms:google-services:3.0.0'
}
}

// apply plugin: 'com.google.gms.google-services'
// class must be used instead of id(string) to be able to apply plugin from non-root gradle file
ext.postBuildExtras = {
apply plugin: com.google.gms.googleservices.GoogleServicesPlugin
}

0 comments on commit fe6cb91

Please sign in to comment.