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

Commit

Permalink
Added hook and resource file to copy GoogleService-Info.plist
Browse files Browse the repository at this point in the history
  • Loading branch information
jcesarmobile authored and macdonst committed May 4, 2017
1 parent 38bd358 commit 0169587
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
9 changes: 0 additions & 9 deletions scripts/copy_file.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,3 @@ if(fileExists("GoogleService-Info.plist") && directoryExists("platforms/ios/")){
process.stdout.write(err);
}
}

if(fileExists("google-services.json") && directoryExists("platforms/android/")){
try {
var contents = fs.readFileSync("google-services.json").toString();
fs.writeFileSync("platforms/android/google-services.json", contents);
} catch(err) {
process.stdout.write(err);
}
}
6 changes: 6 additions & 0 deletions src/ios/Firebase/GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
</dict>
</plist>

0 comments on commit 0169587

Please sign in to comment.