Skip to content

Commit

Permalink
Fix app crashing when receiving push notification in Android
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdju committed Jun 9, 2017
1 parent 5f5d168 commit f95db66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ xmlns:android="http://schemas.android.com/apk/res/android">
<source-file src="src/android/OnNotificationOpenReceiver.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/FirebasePluginInstanceIDService.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/FirebasePluginMessagingService.java" target-dir="src/org/apache/cordova/firebase" />
<source-file src="src/android/colors.xml" target-dir="res/values" />

<framework src="src/android/build.gradle" custom="true" type="gradleReference" />
<framework src="com.google.firebase:firebase-core:+" />
Expand Down
6 changes: 6 additions & 0 deletions src/android/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="primary">#FFFFFF00</color>
<color name="primary_dark">#FF220022</color>
<color name="accent">#FF00FFFF</color>
</resources>

0 comments on commit f95db66

Please sign in to comment.