Merge pull request #5768 from cmgustavo/ref/push-notification-02

Ref/push notification 02
This commit is contained in:
Matias Alejo Garcia 2017-03-13 18:41:30 -03:00 committed by GitHub
commit cfa808c217
6 changed files with 169 additions and 2 deletions

4
.gitignore vendored
View file

@ -104,6 +104,6 @@ www/img/app
www/index.html
## Firebase
GoogleService-Info.plist
google-services.json
/GoogleService-Info.plist
/google-services.json

View file

@ -132,6 +132,9 @@ function copyDir(from, to, cb) {
}
// Push Notification
fs.copySync(configDir + '/GoogleService-Info.plist', '../GoogleService-Info.plist');
fs.copySync(configDir + '/google-services.json', '../google-services.json');
copyDir(configDir + '/img/', '../www/img/app/', function() {
copyDir(configDir + '/sass/', '../src/sass/app/', function() {

View file

@ -0,0 +1,40 @@
<?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>
<key>AD_UNIT_ID_FOR_BANNER_TEST</key>
<string>ca-app-pub-3940256099942544/2934735716</string>
<key>AD_UNIT_ID_FOR_INTERSTITIAL_TEST</key>
<string>ca-app-pub-3940256099942544/4411468910</string>
<key>CLIENT_ID</key>
<string>149194066736-nrekra78jvd1cqakh0l69bpbgmj05j81.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.149194066736-nrekra78jvd1cqakh0l69bpbgmj05j81</string>
<key>API_KEY</key>
<string>AIzaSyAygvOaO5hmkL2Vze66yVAGU2QhcoTyZFA</string>
<key>GCM_SENDER_ID</key>
<string>149194066736</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.bitpay.wallet</string>
<key>PROJECT_ID</key>
<string>bitpay-wallet</string>
<key>STORAGE_BUCKET</key>
<string>bitpay-wallet.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<true/>
<key>IS_ANALYTICS_ENABLED</key>
<false/>
<key>IS_APPINVITE_ENABLED</key>
<true/>
<key>IS_GCM_ENABLED</key>
<true/>
<key>IS_SIGNIN_ENABLED</key>
<true/>
<key>GOOGLE_APP_ID</key>
<string>1:149194066736:ios:64dc8a200f13f9ee</string>
<key>DATABASE_URL</key>
<string>https://bitpay-wallet.firebaseio.com</string>
</dict>
</plist>

View file

@ -0,0 +1,42 @@
{
"project_info": {
"project_number": "149194066736",
"firebase_url": "https://bitpay-wallet.firebaseio.com",
"project_id": "bitpay-wallet",
"storage_bucket": "bitpay-wallet.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:149194066736:android:64dc8a200f13f9ee",
"android_client_info": {
"package_name": "com.bitpay.wallet"
}
},
"oauth_client": [
{
"client_id": "149194066736-1gf0d9nk288dke5jdiuj8unkplhl8nco.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCZ8nyjRBe-0Lyur0LjO-SOkjv32uNQKy0"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}

View file

@ -0,0 +1,40 @@
<?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>
<key>AD_UNIT_ID_FOR_BANNER_TEST</key>
<string>ca-app-pub-3940256099942544/2934735716</string>
<key>AD_UNIT_ID_FOR_INTERSTITIAL_TEST</key>
<string>ca-app-pub-3940256099942544/4411468910</string>
<key>CLIENT_ID</key>
<string>149194066736-tukkdahsck00842frm4l7c2r04bhhj4l.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.149194066736-tukkdahsck00842frm4l7c2r04bhhj4l</string>
<key>API_KEY</key>
<string>AIzaSyAygvOaO5hmkL2Vze66yVAGU2QhcoTyZFA</string>
<key>GCM_SENDER_ID</key>
<string>149194066736</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.bitpay.copay</string>
<key>PROJECT_ID</key>
<string>bitpay-wallet</string>
<key>STORAGE_BUCKET</key>
<string>bitpay-wallet.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<true/>
<key>IS_ANALYTICS_ENABLED</key>
<false/>
<key>IS_APPINVITE_ENABLED</key>
<true/>
<key>IS_GCM_ENABLED</key>
<true/>
<key>IS_SIGNIN_ENABLED</key>
<true/>
<key>GOOGLE_APP_ID</key>
<string>1:149194066736:ios:6de8942b48fea047</string>
<key>DATABASE_URL</key>
<string>https://bitpay-wallet.firebaseio.com</string>
</dict>
</plist>

View file

@ -0,0 +1,42 @@
{
"project_info": {
"project_number": "149194066736",
"firebase_url": "https://bitpay-wallet.firebaseio.com",
"project_id": "bitpay-wallet",
"storage_bucket": "bitpay-wallet.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:149194066736:android:6de8942b48fea047",
"android_client_info": {
"package_name": "com.bitpay.copay"
}
},
"oauth_client": [
{
"client_id": "149194066736-1gf0d9nk288dke5jdiuj8unkplhl8nco.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyCZ8nyjRBe-0Lyur0LjO-SOkjv32uNQKy0"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}