Skip to content

Commit

Permalink
Merge pull request arnesson#4 from apility/erikdju/platform-specific-…
Browse files Browse the repository at this point in the history
…quirks

Erikdju/platform specific quirks
  • Loading branch information
erikdju authored Jun 9, 2017
2 parents 442c566 + 9eecdf9 commit 59b31b6
Show file tree
Hide file tree
Showing 3 changed files with 8 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
1 change: 1 addition & 0 deletions scripts/after_prepare.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ if (directoryExists("platforms/ios")) {
try {
var contents = fs.readFileSync(paths[i]).toString();
fs.writeFileSync("platforms/ios/" + name + "/Resources/GoogleService-Info.plist", contents)
fs.writeFileSync("platforms/ios/" + name + "/Resources/Resources/GoogleService-Info.plist", contents)
} catch(err) {
process.stdout.write(err);
}
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 59b31b6

Please sign in to comment.