Skip to content

Commit

Permalink
android notif: Replace hardcoded applicationId with variable
Browse files Browse the repository at this point in the history
As stated in google docs and Stackoverflow the category name of the
GCM reciever intent-filter should match with the package name
Link: https://stackoverflow.com/a/13445847/5026681
  • Loading branch information
kunall17 committed Aug 14, 2018
1 parent 26899ad commit bc6eb98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
tools:selector="com.wix.reactnativenotifications">
<intent-filter>
<action android:name="com.google.android.c2dm.intent.RECEIVE" />
<category android:name="com.zulipmobile" />
<category android:name="${applicationId}" />
<action android:name="com.google.android.c2dm.intent.REGISTRATION" />
</intent-filter>
</receiver>
Expand Down

0 comments on commit bc6eb98

Please sign in to comment.