Remove yourcompany.com from firebase_database (#450)
diff --git a/packages/firebase_database/example/android/app/google-services.json b/packages/firebase_database/example/android/app/google-services.json index d642590..223cb29 100644 --- a/packages/firebase_database/example/android/app/google-services.json +++ b/packages/firebase_database/example/android/app/google-services.json
@@ -1,117 +1,27 @@ { "project_info": { - "project_number": "297855924061", - "firebase_url": "https://flutterfire-cd2f7.firebaseio.com", - "project_id": "flutterfire-cd2f7", - "storage_bucket": "flutterfire-cd2f7.appspot.com" + "project_number": "159623150305", + "firebase_url": "https://flutter-firebase-plugins.firebaseio.com", + "project_id": "flutter-firebase-plugins", + "storage_bucket": "flutter-firebase-plugins.appspot.com" }, "client": [ { "client_info": { - "mobilesdk_app_id": "1:297855924061:android:669871c998cc21bd", - "android_client_info": { - "package_name": "com.yourcompany.firebaseauth.example" - } - }, - "oauth_client": [ - { - "client_id": "297855924061-r1u58cnh4p6l1ghpkteil46erlkfll62.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.yourcompany.firebaseauth.example", - "certificate_hash": "c3adef7e7773e40e777d5c236dbba7461cbea5f0" - } - }, - { - "client_id": "297855924061-col4in4uubarifm60nbq8id01ec3ss4c.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.yourcompany.firebaseauth.example", - "certificate_hash": "8a4e194f5bfc3fb1075e7daae8dcddd526fde207" - } - }, - { - "client_id": "297855924061-f68m5v860ms5faiotn5mv9f50cmpacdq.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyD_shO5mfO9lhy2TVWhfo1VUmARKlG4suk" - } - ], - "services": { - "analytics_service": { - "status": 1 - }, - "appinvite_service": { - "status": 2, - "other_platform_oauth_client": [ - { - "client_id": "297855924061-48k2m6hl6pa4q9hukijjd0c20ev4qans.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "com.yourcompany.firebaseAuthExample" - } - }, - { - "client_id": "297855924061-f68m5v860ms5faiotn5mv9f50cmpacdq.apps.googleusercontent.com", - "client_type": 3 - } - ] - }, - "ads_service": { - "status": 2 - } - } - }, - { - "client_info": { - "mobilesdk_app_id": "1:297855924061:android:92efa9a0df6f077f", - "android_client_info": { - "package_name": "io.flutter.plugins.firebasestorageexample" - } - }, - "oauth_client": [ - { - "client_id": "297855924061-f68m5v860ms5faiotn5mv9f50cmpacdq.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyD_shO5mfO9lhy2TVWhfo1VUmARKlG4suk" - } - ], - "services": { - "analytics_service": { - "status": 1 - }, - "appinvite_service": { - "status": 1, - "other_platform_oauth_client": [] - }, - "ads_service": { - "status": 2 - } - } - }, - { - "client_info": { - "mobilesdk_app_id": "1:297855924061:android:db912bec12847bd9", + "mobilesdk_app_id": "1:159623150305:android:c68d3ad04a4046db", "android_client_info": { "package_name": "io.flutter.plugins.firebasedatabaseexample" } }, "oauth_client": [ { - "client_id": "297855924061-f68m5v860ms5faiotn5mv9f50cmpacdq.apps.googleusercontent.com", + "client_id": "159623150305-q05bbbtsutr02abhips3suj7hujfk4bg.apps.googleusercontent.com", "client_type": 3 } ], "api_key": [ { - "current_key": "AIzaSyD_shO5mfO9lhy2TVWhfo1VUmARKlG4suk" + "current_key": "AIzaSyChk3KEG7QYrs4kQPLP1tjJNxBTbfCAdgg" } ], "services": {
diff --git a/packages/firebase_database/example/ios/Runner.xcodeproj/project.pbxproj b/packages/firebase_database/example/ios/Runner.xcodeproj/project.pbxproj index 1799e01..885a079 100755 --- a/packages/firebase_database/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/firebase_database/example/ios/Runner.xcodeproj/project.pbxproj
@@ -7,8 +7,8 @@ objects = { /* Begin PBXBuildFile section */ - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 2D5378261FAA1A9400D5DBA9 /* flutter_assets in Resources */ = {isa = PBXBuildFile; fileRef = 2D5378251FAA1A9400D5DBA9 /* flutter_assets */; }; + 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; 3B80C3941E831B6300D905FE /* App.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; }; 3B80C3951E831B6300D905FE /* App.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 3B80C3931E831B6300D905FE /* App.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; 5C6F5A711EC3CCCC008D64B5 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 5C6F5A701EC3CCCC008D64B5 /* GeneratedPluginRegistrant.m */; }; @@ -41,8 +41,8 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; }; 2D5378251FAA1A9400D5DBA9 /* flutter_assets */ = {isa = PBXFileReference; lastKnownFileType = folder; name = flutter_assets; path = Flutter/flutter_assets; sourceTree = SOURCE_ROOT; }; + 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; }; 3B80C3931E831B6300D905FE /* App.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = App.framework; path = Flutter/App.framework; sourceTree = "<group>"; }; 5C6F5A6F1EC3CCCC008D64B5 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = "<group>"; }; 5C6F5A701EC3CCCC008D64B5 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; }; @@ -186,7 +186,6 @@ TargetAttributes = { 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; - DevelopmentTeam = 3GRKCVVJ22; }; }; }; @@ -263,7 +262,7 @@ ); inputPaths = ( "${SRCROOT}/Pods/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", - "${PODS_ROOT}/../../../../../../flutter/bin/cache/artifacts/engine/ios-release/Flutter.framework", + "${PODS_ROOT}/.symlinks/flutter/ios/Flutter.framework", ); name = "[CP] Embed Pods Frameworks"; outputPaths = ( @@ -437,7 +436,6 @@ buildSettings = { ARCHS = arm64; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = 3GRKCVVJ22; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -449,7 +447,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.firebaseDatabaseExample; + PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.firebaseDatabaseExample; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -460,7 +458,6 @@ buildSettings = { ARCHS = arm64; ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = 3GRKCVVJ22; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -472,7 +469,7 @@ "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = com.yourcompany.firebaseDatabaseExample; + PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.firebaseDatabaseExample; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release;
diff --git a/packages/firebase_database/example/ios/Runner/GoogleService-Info.plist b/packages/firebase_database/example/ios/Runner/GoogleService-Info.plist index a45523b..3e13a99 100644 --- a/packages/firebase_database/example/ios/Runner/GoogleService-Info.plist +++ b/packages/firebase_database/example/ios/Runner/GoogleService-Info.plist
@@ -7,34 +7,34 @@ <key>AD_UNIT_ID_FOR_INTERSTITIAL_TEST</key> <string>ca-app-pub-3940256099942544/4411468910</string> <key>CLIENT_ID</key> - <string>297855924061-ffdoe4eg21nfc2na7sk968m17fncagik.apps.googleusercontent.com</string> + <string>159623150305-1l2uq0jjcvricku3ah3fuav0v0nvrakp.apps.googleusercontent.com</string> <key>REVERSED_CLIENT_ID</key> - <string>com.googleusercontent.apps.297855924061-ffdoe4eg21nfc2na7sk968m17fncagik</string> + <string>com.googleusercontent.apps.159623150305-1l2uq0jjcvricku3ah3fuav0v0nvrakp</string> <key>API_KEY</key> - <string>AIzaSyBq6mcufFXfyqr79uELCiqM_O_1-G72PVU</string> + <string>AIzaSyDyzecVw1zXTpBKwfFHxpl7QyYBhimNhUk</string> <key>GCM_SENDER_ID</key> - <string>297855924061</string> + <string>159623150305</string> <key>PLIST_VERSION</key> <string>1</string> <key>BUNDLE_ID</key> - <string>com.yourcompany.firebaseDatabaseExample</string> + <string>io.flutter.plugins.firebaseDatabaseExample</string> <key>PROJECT_ID</key> - <string>flutterfire-cd2f7</string> + <string>flutter-firebase-plugins</string> <key>STORAGE_BUCKET</key> - <string>flutterfire-cd2f7.appspot.com</string> + <string>flutter-firebase-plugins.appspot.com</string> <key>IS_ADS_ENABLED</key> - <true/> + <true></true> <key>IS_ANALYTICS_ENABLED</key> - <false/> + <false></false> <key>IS_APPINVITE_ENABLED</key> - <false/> + <false></false> <key>IS_GCM_ENABLED</key> - <true/> + <true></true> <key>IS_SIGNIN_ENABLED</key> - <true/> + <true></true> <key>GOOGLE_APP_ID</key> - <string>1:297855924061:ios:c6de2b69b03a5be8</string> + <string>1:159623150305:ios:a837cdfe238b8a54</string> <key>DATABASE_URL</key> - <string>https://flutterfire-cd2f7.firebaseio.com</string> + <string>https://flutter-firebase-plugins.firebaseio.com</string> </dict> </plist> \ No newline at end of file
diff --git a/packages/firebase_database/example/lib/main.dart b/packages/firebase_database/example/lib/main.dart index b7c6af2..934c8e9 100755 --- a/packages/firebase_database/example/lib/main.dart +++ b/packages/firebase_database/example/lib/main.dart
@@ -6,7 +6,6 @@ import 'dart:io' show Platform; import 'package:flutter/material.dart'; -import 'package:firebase_auth/firebase_auth.dart'; import 'package:firebase_core/firebase_core.dart'; import 'package:firebase_database/firebase_database.dart'; import 'package:firebase_database/ui/firebase_animated_list.dart'; @@ -100,7 +99,6 @@ } Future<Null> _increment() async { - await FirebaseAuth.instance.signInAnonymously(); // Increment counter in transaction. final TransactionResult transactionResult = await _counterRef.runTransaction((MutableData mutableData) async {
diff --git a/packages/firebase_database/example/pubspec.yaml b/packages/firebase_database/example/pubspec.yaml index e4b948f..3813e2f 100755 --- a/packages/firebase_database/example/pubspec.yaml +++ b/packages/firebase_database/example/pubspec.yaml
@@ -4,8 +4,6 @@ dependencies: flutter: sdk: flutter - firebase_auth: - path: ../../firebase_auth firebase_database: path: ../ firebase_core: ^0.0.1