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

Commit

Permalink
🐛 Issue #1188: Strings.xml google_app_id conflict with google-service…
Browse files Browse the repository at this point in the history
…s.json
  • Loading branch information
macdonst committed May 4, 2017
1 parent ee9ecc9 commit 620af90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/android/com/adobe/phonegap/push/PushConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ public interface PushConstants {
public static final String IMAGE_TYPE_SQUARE = "square";
public static final String IMAGE_TYPE_CIRCLE = "circle";
public static final String GOOGLE_APP_ID = "google_app_id";
public static final String GCM_DEFAULT_SENDER_ID = "gcm_defaultSenderId";
}
2 changes: 1 addition & 1 deletion src/android/com/adobe/phonegap/push/PushPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public void run() {

Log.v(LOG_TAG, "execute: jo=" + jo.toString());

senderID = getStringResourceByName(GOOGLE_APP_ID);
senderID = getStringResourceByName(GCM_DEFAULT_SENDER_ID);

Log.v(LOG_TAG, "execute: senderID=" + senderID);

Expand Down

0 comments on commit 620af90

Please sign in to comment.