Skip to content

Commit

Permalink
chore: expose dev firebase
Browse files Browse the repository at this point in the history
Closes #85
  • Loading branch information
jogboms committed Apr 27, 2019
1 parent 8df59ad commit f610732
Show file tree
Hide file tree
Showing 7 changed files with 86 additions and 2 deletions.
1 change: 0 additions & 1 deletion android/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,4 @@
/build
/captures
GeneratedPluginRegistrant.java
google-services.json
key.properties
42 changes: 42 additions & 0 deletions android/app/src/dev/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"project_info": {
"project_number": "825955979349",
"firebase_url": "https://tailormade-debug.firebaseio.com",
"project_id": "tailormade-debug",
"storage_bucket": "tailormade-debug.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:825955979349:android:3f8c0f411c823bd8",
"android_client_info": {
"package_name": "io.github.jogboms.tailormade.dev"
}
},
"oauth_client": [
{
"client_id": "825955979349-7v0gurknfqj5q445uu90r9uuroe8kgn1.apps.googleusercontent.com",
"client_type": 3
}
],
"api_key": [
{
"current_key": "AIzaSyBbjeMRGPPLsgfOkpDtFkTlWj0mlZVEfGI"
}
],
"services": {
"analytics_service": {
"status": 1
},
"appinvite_service": {
"status": 1,
"other_platform_oauth_client": []
},
"ads_service": {
"status": 2
}
}
}
],
"configuration_version": "1"
}
1 change: 1 addition & 0 deletions android/app/src/prod/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
google-services.json
2 changes: 1 addition & 1 deletion ios/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Icon?
/Flutter/Flutter.framework
/Flutter/Generated.xcconfig
/ServiceDefinitions.json
GoogleService-Info.plist
Runner/GoogleService-Info.plist

Pods/
.symlinks/
40 changes: 40 additions & 0 deletions ios/Runner/Firebase/dev/GoogleService-Info.plist
Original file line number Diff line number Diff line change
@@ -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>825955979349-llfp7aheo7il83p3ltltncfmi60bsbeg.apps.googleusercontent.com</string>
<key>REVERSED_CLIENT_ID</key>
<string>com.googleusercontent.apps.825955979349-llfp7aheo7il83p3ltltncfmi60bsbeg</string>
<key>API_KEY</key>
<string>AIzaSyDfcLDICnkmOCAx3l9Tg1hD5eBogrmtgX4</string>
<key>GCM_SENDER_ID</key>
<string>825955979349</string>
<key>PLIST_VERSION</key>
<string>1</string>
<key>BUNDLE_ID</key>
<string>io.github.jogboms.tailormade.dev</string>
<key>PROJECT_ID</key>
<string>tailormade-debug</string>
<key>STORAGE_BUCKET</key>
<string>tailormade-debug.appspot.com</string>
<key>IS_ADS_ENABLED</key>
<true></true>
<key>IS_ANALYTICS_ENABLED</key>
<false></false>
<key>IS_APPINVITE_ENABLED</key>
<false></false>
<key>IS_GCM_ENABLED</key>
<true></true>
<key>IS_SIGNIN_ENABLED</key>
<true></true>
<key>GOOGLE_APP_ID</key>
<string>1:825955979349:ios:3f8c0f411c823bd8</string>
<key>DATABASE_URL</key>
<string>https://tailormade-debug.firebaseio.com</string>
</dict>
</plist>
1 change: 1 addition & 0 deletions ios/Runner/Firebase/prod/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
GoogleService-Info.plist
1 change: 1 addition & 0 deletions lib/widgets/screens/splash/splash.dart
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,7 @@ class _ContentState extends State<_Content> {
}
continue fallthrough;

// ignore: no_duplicate_case_values
fallthrough:
case "sign_in_failed":
message = "Sorry, We could not connect. Try again.";
Expand Down

1 comment on commit f610732

@jogboms
Copy link
Owner Author

@jogboms jogboms commented on f610732 Apr 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Closes #87

Please sign in to comment.