From 22751662e07fd95a70ea926b041f8ef33c089762 Mon Sep 17 00:00:00 2001 From: AYM1607 Date: Wed, 20 Feb 2019 23:04:43 -0600 Subject: [PATCH] Added firebase configuration files and dependencies --- android/app/build.gradle | 4 +- android/app/google-services.json | 42 +++++++++++++++++++ android/build.gradle | 1 + ios/Runner.xcodeproj/project.pbxproj | 11 +++-- .../xcshareddata/IDEWorkspaceChecks.plist | 8 ++++ ios/Runner/GoogleService-Info.plist | 40 ++++++++++++++++++ pubspec.yaml | 5 +++ 7 files changed, 106 insertions(+), 5 deletions(-) create mode 100644 android/app/google-services.json create mode 100644 ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 ios/Runner/GoogleService-Info.plist diff --git a/android/app/build.gradle b/android/app/build.gradle index 6a24d30..ac4bd19 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -33,7 +33,7 @@ android { defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). - applicationId "com.example.domore" + applicationId "consulting.mabby.domore" minSdkVersion 16 targetSdkVersion 27 versionCode flutterVersionCode.toInteger() @@ -59,3 +59,5 @@ dependencies { androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' } + +apply plugin: 'com.google.gms.google-services' diff --git a/android/app/google-services.json b/android/app/google-services.json new file mode 100644 index 0000000..5c0bc88 --- /dev/null +++ b/android/app/google-services.json @@ -0,0 +1,42 @@ +{ + "project_info": { + "project_number": "854370768062", + "firebase_url": "https://do-more-app.firebaseio.com", + "project_id": "do-more-app", + "storage_bucket": "do-more-app.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:854370768062:android:4a5a9a9b5503a9ae", + "android_client_info": { + "package_name": "consulting.mabby.domore" + } + }, + "oauth_client": [ + { + "client_id": "854370768062-8o9gh6foq8o53br517jhuh3unbjmangl.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyDAM1KMKjqO5CBZbCjJT_KEGrIGhBZQkoU" + } + ], + "services": { + "analytics_service": { + "status": 1 + }, + "appinvite_service": { + "status": 1, + "other_platform_oauth_client": [] + }, + "ads_service": { + "status": 2 + } + } + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/android/build.gradle b/android/build.gradle index bb8a303..18252e5 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -6,6 +6,7 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:3.2.1' + classpath 'com.google.gms:google-services:3.2.1' } } diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj index 7d20be5..5f770d9 100644 --- a/ios/Runner.xcodeproj/project.pbxproj +++ b/ios/Runner.xcodeproj/project.pbxproj @@ -181,6 +181,7 @@ TargetAttributes = { 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; + DevelopmentTeam = U97TNR7Y3B; }; }; }; @@ -380,7 +381,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = S8QB4VV633; + DEVELOPMENT_TEAM = U97TNR7Y3B; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -392,7 +393,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.doMore; + PRODUCT_BUNDLE_IDENTIFIER = consulting.mabby.domore; PRODUCT_NAME = "$(TARGET_NAME)"; VERSIONING_SYSTEM = "apple-generic"; }; @@ -506,6 +507,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = U97TNR7Y3B; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -517,7 +519,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.doMore; + PRODUCT_BUNDLE_IDENTIFIER = consulting.mabby.domore; PRODUCT_NAME = "$(TARGET_NAME)"; VERSIONING_SYSTEM = "apple-generic"; }; @@ -529,6 +531,7 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; + DEVELOPMENT_TEAM = U97TNR7Y3B; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -540,7 +543,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.doMore; + PRODUCT_BUNDLE_IDENTIFIER = consulting.mabby.domore; PRODUCT_NAME = "$(TARGET_NAME)"; VERSIONING_SYSTEM = "apple-generic"; }; diff --git a/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/ios/Runner/GoogleService-Info.plist b/ios/Runner/GoogleService-Info.plist new file mode 100644 index 0000000..d4a98b7 --- /dev/null +++ b/ios/Runner/GoogleService-Info.plist @@ -0,0 +1,40 @@ + + + + + AD_UNIT_ID_FOR_BANNER_TEST + ca-app-pub-3940256099942544/2934735716 + AD_UNIT_ID_FOR_INTERSTITIAL_TEST + ca-app-pub-3940256099942544/4411468910 + CLIENT_ID + 854370768062-bsmn2u8jngin4g6ior8crnir42t8p9u4.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.854370768062-bsmn2u8jngin4g6ior8crnir42t8p9u4 + API_KEY + AIzaSyDkGpZ50jB0NlKMR1c2OmZlwKQbDaFK-lg + GCM_SENDER_ID + 854370768062 + PLIST_VERSION + 1 + BUNDLE_ID + consulting.mabby.domore + PROJECT_ID + do-more-app + STORAGE_BUCKET + do-more-app.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:854370768062:ios:4a5a9a9b5503a9ae + DATABASE_URL + https://do-more-app.firebaseio.com + + \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 924b7fd..39bcbe6 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -22,6 +22,11 @@ dependencies: http: ^0.12.0 sqflite: ^1.1.0 rxdart: ^0.20.0 + firebase_core: ^0.3.0+2 + cloud_firestore: ^0.9.0 + firebase_auth: ^0.8.1 + firebase_ml_vision: ^0.6.0 + firebase_storage: ^2.0.1 dev_dependencies: flutter_test: