chore: add example

This commit is contained in:
Kyle Fang
2019-12-27 17:51:06 +08:00
parent 426aade71c
commit 7001eeb8e0
9 changed files with 220 additions and 0 deletions

1
scripts/configs/example/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
adminsdk.json

View File

@@ -0,0 +1,36 @@
<?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>CLIENT_ID</key>
<string>127334071631-lt3coqvcg7ejlvqbddn22ifpc94q4r03.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.127334071631-lt3coqvcg7ejlvqbddn22ifpc94q4r03</string>
<key>API_KEY</key>
<string>AIzaSyD8sPV36AgVC-T61p8eQCTi3R3izD-tW3U</string>
<key>GCM_SENDER_ID</key>
<string>127334071631</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>com.mercy</string>
<key>PROJECT_ID</key>
<string>mercy-f16ad</string>
<key>STORAGE_BUCKET</key>
<string>mercy-f16ad.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<false></false>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<true></true>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:127334071631:ios:e162e6166a81c6c5fad93a</string>
<key>DATABASE_URL</key>
<string>https://mercy-f16ad.firebaseio.com</string>
</dict>
</plist>

View File

@@ -0,0 +1,117 @@
<?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>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>mercy</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleURLSchemes</key>
<array>
<string>PHARAH_FACEBOOK_SCHEME</string>
</array>
</dict>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>google</string>
<key>CFBundleURLSchemes</key>
<array>
<string>com.googleusercontent.apps.127334071631-lt3coqvcg7ejlvqbddn22ifpc94q4r03</string>
</array>
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<key>FacebookAppID</key>
<string>PHARAH_FACEBOOK_APP_ID</string>
<key>FacebookDisplayName</key>
<string>PHARAH_FACEBOOK_APP_DISPLAY_NAME</string>
<key>LSApplicationQueriesSchemes</key>
<array>
<string>fbapi</string>
<string>fb-messenger-share-api</string>
<string>fbauth2</string>
<string>fbshareextension</string>
</array>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true/>
</dict>
</dict>
</dict>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Need Location Access</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Need PhotoLibrary Access</string>
<key>NSCameraUsageDescription</key>
<string>To upload photo</string>
<key>UIAppFonts</key>
<array>
<string>AntDesign.ttf</string>
<string>Entypo.ttf</string>
<string>EvilIcons.ttf</string>
<string>Feather.ttf</string>
<string>FontAwesome.ttf</string>
<string>FontAwesome5_Brands.ttf</string>
<string>FontAwesome5_Regular.ttf</string>
<string>FontAwesome5_Solid.ttf</string>
<string>Foundation.ttf</string>
<string>Ionicons.ttf</string>
<string>MaterialCommunityIcons.ttf</string>
<string>MaterialIcons.ttf</string>
<string>Octicons.ttf</string>
<string>SimpleLineIcons.ttf</string>
<string>Zocial.ttf</string>
</array>
<key>UIBackgroundModes</key>
<array>
<string>remote-notification</string>
</array>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>CodePushDeploymentKey</key>
<string>PHARAH_IOS_CODEPUSH_KEY</string>
<key>CodePushPublicKey</key>
<string>PHARAH_CODE_PUSH_CERT_PEM</string>
</dict>
</plist>

View File

@@ -0,0 +1,5 @@
{
"name": "mercy",
"displayName": "mercy",
"stripePublishKeys": "*"
}

View File

@@ -0,0 +1,47 @@
{
"project_info": {
"project_number": "127334071631",
"firebase_url": "https://mercy-f16ad.firebaseio.com",
"project_id": "mercy-f16ad",
"storage_bucket": "mercy-f16ad.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:127334071631:android:5c3de05af5a3804efad93a",
"android_client_info": {
"package_name": "com.mercy"
}
},
"oauth_client": [
{
"client_id": "127334071631-3pfq6pfk4c67ueq3uakgmvpc0g0ru16b.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyDDLnzllEkafhxR22Aam7jm_EmAaphlieI"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": [
{
"client_id": "127334071631-3pfq6pfk4c67ueq3uakgmvpc0g0ru16b.apps.googleusercontent.com",
"client_type": 3
},
{
"client_id": "127334071631-lt3coqvcg7ejlvqbddn22ifpc94q4r03.apps.googleusercontent.com",
"client_type": 2,
"ios_info": {
"bundle_id": "com.mercy"
}
}
]
}
}
}
],
"configuration_version": "1"
}

Binary file not shown.

View File

@@ -0,0 +1,6 @@
{
"name": "Development",
"stripeKey": "*",
"slackWebHook": "*",
"elasticSearchULR": "*"
}

View File

@@ -0,0 +1,7 @@
<resources>
<string moduleConfig="true" name="reactNativeCodePush_androidDeploymentKey">PHARAH_ANDROID_CODEPUSH_KEY</string>
<string name="app_name">mercy</string>
<string name="facebook_app_id">PHARAH_FACEBOOK_APP_ID</string>
<string name="fb_login_protocol_scheme">PHARAH_FACEBOOK_SCHEME</string>
<string name="CodePushPublicKey">PHARAH_CODE_PUSH_CERT_PEM</string>
</resources>