mirror of
https://github.com/tappollo/booster.git
synced 2026-04-29 10:05:51 +08:00
chore: add example
This commit is contained in:
1
scripts/configs/example/.gitignore
vendored
Normal file
1
scripts/configs/example/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
adminsdk.json
|
||||
36
scripts/configs/example/GoogleService-Info.plist
Normal file
36
scripts/configs/example/GoogleService-Info.plist
Normal 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>
|
||||
117
scripts/configs/example/Info.plist
Normal file
117
scripts/configs/example/Info.plist
Normal 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>
|
||||
5
scripts/configs/example/app.json
Normal file
5
scripts/configs/example/app.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"name": "mercy",
|
||||
"displayName": "mercy",
|
||||
"stripePublishKeys": "*"
|
||||
}
|
||||
47
scripts/configs/example/google-services.json
Normal file
47
scripts/configs/example/google-services.json
Normal 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"
|
||||
}
|
||||
BIN
scripts/configs/example/release.keystore
Normal file
BIN
scripts/configs/example/release.keystore
Normal file
Binary file not shown.
6
scripts/configs/example/server.json
Normal file
6
scripts/configs/example/server.json
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "Development",
|
||||
"stripeKey": "*",
|
||||
"slackWebHook": "*",
|
||||
"elasticSearchULR": "*"
|
||||
}
|
||||
7
scripts/configs/example/strings.xml
Normal file
7
scripts/configs/example/strings.xml
Normal 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>
|
||||
Reference in New Issue
Block a user