diff --git a/packages/firebase_performance/firebase_performance/example/.firebaserc b/packages/firebase_performance/firebase_performance/example/.firebaserc index 02ae2f5ed6c7..6aa25141ca27 100644 --- a/packages/firebase_performance/firebase_performance/example/.firebaserc +++ b/packages/firebase_performance/firebase_performance/example/.firebaserc @@ -1,5 +1,5 @@ { "projects": { - "default": "flutterfire-fireperf-example" + "default": "flutterfire-e2e-tests" } } diff --git a/packages/firebase_performance/firebase_performance/example/android/app/build.gradle b/packages/firebase_performance/firebase_performance/example/android/app/build.gradle index 1a5d087006e5..ee81754904ce 100644 --- a/packages/firebase_performance/firebase_performance/example/android/app/build.gradle +++ b/packages/firebase_performance/firebase_performance/example/android/app/build.gradle @@ -33,7 +33,7 @@ android { } defaultConfig { - applicationId "io.flutter.plugins.firebaseperformanceexample" + applicationId "io.flutter.plugins.firebase.tests" minSdkVersion 21 targetSdkVersion 31 versionCode flutterVersionCode.toInteger() diff --git a/packages/firebase_performance/firebase_performance/example/android/app/google-services.json b/packages/firebase_performance/firebase_performance/example/android/app/google-services.json index d9290ef3b2a0..f13186f775d6 100644 --- a/packages/firebase_performance/firebase_performance/example/android/app/google-services.json +++ b/packages/firebase_performance/firebase_performance/example/android/app/google-services.json @@ -1,735 +1,583 @@ { - "project_info": { - "project_number": "448618578101", - "firebase_url": "https://react-native-firebase-testing.firebaseio.com", - "project_id": "react-native-firebase-testing", - "storage_bucket": "react-native-firebase-testing.appspot.com" - }, - "client": [ - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:b427df3ef43d44caac3efc", - "android_client_info": { - "package_name": "com.example.test_app" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } - } - ] - } + "project_info": { + "project_number": "406099696497", + "firebase_url": "https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app", + "project_id": "flutterfire-e2e-tests", + "storage_bucket": "flutterfire-e2e-tests.appspot.com" + }, + "client": [ + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:d86a91cc7b338b233574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.analytics.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:cc6c1dc7a65cc83c", - "android_client_info": { - "package_name": "com.invertase.testing" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-a9p7bj5jlakabp22fo3cbkj7nsmag24e.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.invertase.testing", - "certificate_hash": "889b4292c735f371168a372cc7778992cd8a5052" - } - }, - { - "client_id": "448618578101-gva3jv7cr8qquj04k0o7cni674j65kha.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.invertase.testing", - "certificate_hash": "5e8f16062ea3cd2c4a0d547876baa6f38cabf625" - } - }, - { - "client_id": "448618578101-h0o9b94jnhcoal2qgjn7s7ckkc2n7okq.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.invertase.testing", - "certificate_hash": "909ca1482ef022bbae45a2db6b6d05d807a4c4aa" - } - }, - { - "client_id": "448618578101-pdjje2lkv3p941e03hkrhfa7459cr2v8.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.invertase.testing", - "certificate_hash": "992e468b990cc418f306d0131be61ecfad800ac1" - } - }, - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } - } - ] - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 } - }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:cc5ce91648e65dbeac3efc", - "android_client_info": { - "package_name": "com.notifeetestapp" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-j9nluebtat700ua550esfvaf64gbo5l5.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.notifeetestapp", - "certificate_hash": "5e8f16062ea3cd2c4a0d547876baa6f38cabf625" - } - }, - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:a241c4b471513a203574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.appcheck.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:6aa085e64d694703ac3efc", - "android_client_info": { - "package_name": "com.rnfbdemo" + "oauth_client": [ + { + "client_id": "406099696497-7bvmqp0fffe24vm2arng0dtdeh2tvkgl.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "io.flutter.plugins.firebase.appcheck.example", + "certificate_hash": "909ca1482ef022bbae45a2db6b6d05d807a4c4aa" } }, - "oauth_client": [ - { - "client_id": "448618578101-a8tk83htomfvrelhu71j93safubvipdj.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "com.rnfbdemo", - "certificate_hash": "909ca1482ef022bbae45a2db6b6d05d807a4c4aa" - } - }, - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:21d5142deea38dda3574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.auth.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:6bf0706c1f27114dac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebase.cloudfunctions.cloudfunctionsexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:3ef965ff044efc0b3574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.database.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:5cc04a661d27c405ac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebase.crashlytics.firebasecrashlyticsexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:40da41183cb3d3ff3574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.dynamiclinksexample" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:3ad281c0067ccf97ac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebase.firestoreexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-npu5ll2fj4emgvtietpb685fvdm7fg3s.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "io.flutter.plugins.firebase.firestoreexample", - "certificate_hash": "909ca1482ef022bbae45a2db6b6d05d807a4c4aa" - } - }, - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:175ea7a64b2faf5e3574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.firestore.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:0568e76dc62e89bcac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebase.messaging.example" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:7ca3394493cc601a3574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.functions.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:507d24bc5fc4d20eac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebaseanalyticsexample" + "oauth_client": [ + { + "client_id": "406099696497-17qn06u8a0dc717u8ul7s49ampk13lul.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "io.flutter.plugins.firebase.functions.example", + "certificate_hash": "a4256c0612686b336af6d138a5479b7dc1ee1af6" } }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 + { + "client_id": "406099696497-tvtvuiqogct1gs1s6lh114jeps7hpjm5.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "io.flutter.plugins.firebase.functions.example", + "certificate_hash": "909ca1482ef022bbae45a2db6b6d05d807a4c4aa" } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + }, + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:6d1c1fbf4688f39c3574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.installations.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:9d44a7b85d1ab0baac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebaseauthexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-2brn4509s8513kjf9a0i6kvtb9qnght5.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "io.flutter.plugins.firebaseauthexample", - "certificate_hash": "e1604565b51994d10886de1d91da9968dfec02ed" - } - }, - { - "client_id": "448618578101-2kqet2itdu42g0avs2v3fbsmtf6a45gg.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "io.flutter.plugins.firebaseauthexample", - "certificate_hash": "939efbe8eaa5aaf50396b19fe980ef4a8df1c6e7" - } - }, - { - "client_id": "448618578101-qd7qb4i251kmq2ju79bl7sif96si0ve3.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "io.flutter.plugins.firebaseauthexample", - "certificate_hash": "909ca1482ef022bbae45a2db6b6d05d807a4c4aa" - } - }, - { - "client_id": "448618578101-velutq65ok2dr5ohh0oi1q62irr920ss.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "io.flutter.plugins.firebaseauthexample", - "certificate_hash": "29142b8612b4b6a0ba0fefd1dbf65ab565fb2cbd" - } - }, - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:74ebb073d7727cd43574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.messaging.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:29bf96f913c195f5ac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebasecrashlyticsexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:f54b85cfa36a39f73574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.remoteconfig.example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:a7b3b683e70a7a17ac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebasedatabaseexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:0d4ed619c031c0ac3574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase.tests" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:d767a536227718bcac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebasemessagingexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-rthm8sh42ifgn9vp60914nol7u8h7mgq.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "io.flutter.plugins.firebasemessagingexample", - "certificate_hash": "29142b8612b4b6a0ba0fefd1dbf65ab565fb2cbd" - } - }, - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:899c6485cfce26c13574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebase_ui_example" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:56e2f97d61c5da38ac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebasemlcustomexample" + "oauth_client": [ + { + "client_id": "406099696497-ltgvphphcckosvqhituel5km2k3aecg8.apps.googleusercontent.com", + "client_type": 1, + "android_info": { + "package_name": "io.flutter.plugins.firebase_ui_example", + "certificate_hash": "a4256c0612686b336af6d138a5479b7dc1ee1af6" } }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:bc0b12b0605df8633574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebasecoreexample" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:f2548276e02d9ddbac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebaseperformanceexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-sn6oicnu6cmq0lfa84hit4t5vs0e6676.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "io.flutter.plugins.firebaseperformanceexample", - "certificate_hash": "909ca1482ef022bbae45a2db6b6d05d807a4c4aa" - } - }, - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:0f3f7bfe78b8b7103574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebasecrashlyticsexample" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:553625b1be8cf2efac3efc", - "android_client_info": { - "package_name": "io.flutter.plugins.firebasestorageexample" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] + } + } + }, + { + "client_info": { + "mobilesdk_app_id": "1:406099696497:android:2751af6868a69f073574d0", + "android_client_info": { + "package_name": "io.flutter.plugins.firebasestorageexample" } }, - { - "client_info": { - "mobilesdk_app_id": "1:448618578101:android:670b9e77ba703236ac3efc", - "android_client_info": { - "package_name": "io.invertase.flutter.ui.auth.example" - } - }, - "oauth_client": [ - { - "client_id": "448618578101-vh59lklbaigpccaugknk3j0g1pp81kr2.apps.googleusercontent.com", - "client_type": 1, - "android_info": { - "package_name": "io.invertase.flutter.ui.auth.example", - "certificate_hash": "e1604565b51994d10886de1d91da9968dfec02ed" - } - }, - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - } - ], - "api_key": [ - { - "current_key": "AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA" - } - ], - "services": { - "appinvite_service": { - "other_platform_oauth_client": [ - { - "client_id": "448618578101-sg12d2qin42cpr00f8b0gehs5s7inm0v.apps.googleusercontent.com", - "client_type": 3 - }, - { - "client_id": "448618578101-0gmrkbkbiq32cm5nvraanejfij0dvn4u.apps.googleusercontent.com", - "client_type": 2, - "ios_info": { - "bundle_id": "org.reactjs.native.example.testInstanceId" - } + "oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + } + ], + "api_key": [ + { + "current_key": "AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw" + } + ], + "services": { + "appinvite_service": { + "other_platform_oauth_client": [ + { + "client_id": "406099696497-a12gakvts4epfk5pkio7dphc1anjiggc.apps.googleusercontent.com", + "client_type": 3 + }, + { + "client_id": "406099696497-0mofiof3ofcgmpmirb6q0fllvb372sme.apps.googleusercontent.com", + "client_type": 2, + "ios_info": { + "bundle_id": "io.flutter.plugins.firebase.example" } - ] - } + } + ] } } - ], - "configuration_version": "1" - } \ No newline at end of file + } + ], + "configuration_version": "1" +} \ No newline at end of file diff --git a/packages/firebase_performance/firebase_performance/example/integration_test/firebase_config.dart b/packages/firebase_performance/firebase_performance/example/integration_test/firebase_config.dart deleted file mode 100644 index b281585dbdc2..000000000000 --- a/packages/firebase_performance/firebase_performance/example/integration_test/firebase_config.dart +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022, the Chromium project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'dart:io'; - -import 'package:firebase_core/firebase_core.dart'; -import 'package:flutter/foundation.dart'; - -class DefaultFirebaseConfig { - static FirebaseOptions get platformOptions { - if (kIsWeb) { - // Web - return const FirebaseOptions( - apiKey: 'AIzaSyAgUhHU8wSJgO5MVNy95tMT07NEjzMOfz0', - authDomain: 'react-native-firebase-testing.firebaseapp.com', - databaseURL: 'https://react-native-firebase-testing.firebaseio.com', - projectId: 'react-native-firebase-testing', - storageBucket: 'react-native-firebase-testing.appspot.com', - messagingSenderId: '448618578101', - appId: '1:448618578101:web:772d484dc9eb15e9ac3efc', - measurementId: 'G-0N1G9FLDZE', - ); - } else if (Platform.isIOS || Platform.isMacOS) { - // iOS and MacOS - return const FirebaseOptions( - appId: '1:448618578101:ios:2bc5c1fe2ec336f8ac3efc', - apiKey: 'AIzaSyAHAsf51D0A407EklG1bs-5wA7EbyfNFg0', - projectId: 'react-native-firebase-testing', - messagingSenderId: '448618578101', - iosBundleId: 'io.flutter.plugins.firebase.firestore.example', - iosClientId: - '448618578101-ja1be10uicsa2dvss16gh4hkqks0vq61.apps.googleusercontent.com', - androidClientId: - '448618578101-2baveavh8bvs2famsa5r8t77fe1nrcn6.apps.googleusercontent.com', - storageBucket: 'react-native-firebase-testing.appspot.com', - databaseURL: 'https://react-native-firebase-testing.firebaseio.com', - ); - } else { - // Android - return const FirebaseOptions( - appId: '1:448618578101:android:3ad281c0067ccf97ac3efc', - apiKey: 'AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA', - projectId: 'react-native-firebase-testing', - messagingSenderId: '448618578101', - ); - } - } -} diff --git a/packages/firebase_performance/firebase_performance/example/integration_test/firebase_options.dart b/packages/firebase_performance/firebase_performance/example/integration_test/firebase_options.dart new file mode 100644 index 000000000000..bf7aa28e3827 --- /dev/null +++ b/packages/firebase_performance/firebase_performance/example/integration_test/firebase_options.dart @@ -0,0 +1,89 @@ +// Copyright 2021 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// File generated by FlutterFire CLI. +// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members +import 'package:firebase_core/firebase_core.dart' show FirebaseOptions; +import 'package:flutter/foundation.dart' + show defaultTargetPlatform, kIsWeb, TargetPlatform; + +/// Default [FirebaseOptions] for use with your Firebase apps. +/// +/// Example: +/// ```dart +/// import 'firebase_options.dart'; +/// // ... +/// await Firebase.initializeApp( +/// options: DefaultFirebaseOptions.currentPlatform, +/// ); +/// ``` +class DefaultFirebaseOptions { + static FirebaseOptions get currentPlatform { + if (kIsWeb) { + return web; + } + switch (defaultTargetPlatform) { + case TargetPlatform.android: + return android; + case TargetPlatform.iOS: + return ios; + case TargetPlatform.macOS: + throw UnsupportedError( + 'DefaultFirebaseOptions have not been configured for macos - ' + 'you can reconfigure this by running the FlutterFire CLI again.', + ); + case TargetPlatform.windows: + throw UnsupportedError( + 'DefaultFirebaseOptions have not been configured for windows - ' + 'you can reconfigure this by running the FlutterFire CLI again.', + ); + case TargetPlatform.linux: + throw UnsupportedError( + 'DefaultFirebaseOptions have not been configured for linux - ' + 'you can reconfigure this by running the FlutterFire CLI again.', + ); + default: + throw UnsupportedError( + 'DefaultFirebaseOptions are not supported for this platform.', + ); + } + } + + static const FirebaseOptions web = FirebaseOptions( + apiKey: 'AIzaSyB7wZb2tO1-Fs6GbDADUSTs2Qs3w08Hovw', + appId: '1:406099696497:web:87e25e51afe982cd3574d0', + messagingSenderId: '406099696497', + projectId: 'flutterfire-e2e-tests', + authDomain: 'flutterfire-e2e-tests.firebaseapp.com', + databaseURL: + 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app', + storageBucket: 'flutterfire-e2e-tests.appspot.com', + measurementId: 'G-JN95N1JV2E', + ); + + static const FirebaseOptions android = FirebaseOptions( + apiKey: 'AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw', + appId: '1:406099696497:android:0d4ed619c031c0ac3574d0', + messagingSenderId: '406099696497', + projectId: 'flutterfire-e2e-tests', + databaseURL: + 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app', + storageBucket: 'flutterfire-e2e-tests.appspot.com', + ); + + static const FirebaseOptions ios = FirebaseOptions( + apiKey: 'AIzaSyDooSUGSf63Ghq02_iIhtnmwMDs4HlWS6c', + appId: '1:406099696497:ios:acd9c8e17b5e620e3574d0', + messagingSenderId: '406099696497', + projectId: 'flutterfire-e2e-tests', + databaseURL: + 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app', + storageBucket: 'flutterfire-e2e-tests.appspot.com', + androidClientId: + '406099696497-17qn06u8a0dc717u8ul7s49ampk13lul.apps.googleusercontent.com', + iosClientId: + '406099696497-mcs94a53ttg7ru556uec2hejel40ej7u.apps.googleusercontent.com', + iosBundleId: 'io.flutter.plugins.firebase.tests', + ); +} diff --git a/packages/firebase_performance/firebase_performance/example/integration_test/firebase_performance_e2e_test.dart b/packages/firebase_performance/firebase_performance/example/integration_test/firebase_performance_e2e_test.dart index e6b85ca1429e..945b2b98efdd 100644 --- a/packages/firebase_performance/firebase_performance/example/integration_test/firebase_performance_e2e_test.dart +++ b/packages/firebase_performance/firebase_performance/example/integration_test/firebase_performance_e2e_test.dart @@ -8,14 +8,14 @@ import 'package:firebase_performance/firebase_performance.dart'; import 'package:flutter/foundation.dart' show kIsWeb; import 'package:integration_test/integration_test.dart'; -import 'firebase_config.dart'; +import 'firebase_options.dart'; void main() { IntegrationTestWidgetsFlutterBinding.ensureInitialized(); setUpAll(() async { await Firebase.initializeApp( - options: DefaultFirebaseConfig.platformOptions, + options: DefaultFirebaseOptions.currentPlatform, ); }); diff --git a/packages/firebase_performance/firebase_performance/example/ios/Flutter/AppFrameworkInfo.plist b/packages/firebase_performance/firebase_performance/example/ios/Flutter/AppFrameworkInfo.plist index 3a9c234f96d4..9b41e7d87980 100644 --- a/packages/firebase_performance/firebase_performance/example/ios/Flutter/AppFrameworkInfo.plist +++ b/packages/firebase_performance/firebase_performance/example/ios/Flutter/AppFrameworkInfo.plist @@ -25,6 +25,6 @@ arm64 MinimumOSVersion - 9.0 + 11.0 diff --git a/packages/firebase_performance/firebase_performance/example/ios/Runner.xcodeproj/project.pbxproj b/packages/firebase_performance/firebase_performance/example/ios/Runner.xcodeproj/project.pbxproj index 376168acff46..9c89b90bd44a 100644 --- a/packages/firebase_performance/firebase_performance/example/ios/Runner.xcodeproj/project.pbxproj +++ b/packages/firebase_performance/firebase_performance/example/ios/Runner.xcodeproj/project.pbxproj @@ -3,13 +3,12 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 50; objects = { /* Begin PBXBuildFile section */ 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 4F30D5F713FAE573DBE831BD /* libPods-Runner.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AADA30890C75F448DA1E1040 /* libPods-Runner.a */; }; 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB21CF90195004384FC /* Debug.xcconfig */; }; 9740EEB51CF90195004384FC /* Generated.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 9740EEB31CF90195004384FC /* Generated.xcconfig */; }; 978B8F6F1D3862AE00F588F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 7AFFD8EE1D35381100E5BB4D /* AppDelegate.m */; }; @@ -17,6 +16,8 @@ 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; + 9903DF608794B096EA88A2AE /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = 1113342D5D37BB68C9894616 /* GoogleService-Info.plist */; }; + A179044980BFAE87AA7CC5EA /* Pods_Runner.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 43C088DEB2D7CF557A30EB8F /* Pods_Runner.framework */; }; /* End PBXBuildFile section */ /* Begin PBXCopyFilesBuildPhase section */ @@ -33,10 +34,12 @@ /* End PBXCopyFilesBuildPhase section */ /* Begin PBXFileReference section */ + 1113342D5D37BB68C9894616 /* GoogleService-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "Runner/GoogleService-Info.plist"; sourceTree = ""; }; 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; 355BC2C50462780197DDCB5E /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = ""; }; 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; + 43C088DEB2D7CF557A30EB8F /* Pods_Runner.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Runner.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 73333FD263564BF21EA2CA68 /* Pods-Runner.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.debug.xcconfig"; path = "Pods/Target Support Files/Pods-Runner/Pods-Runner.debug.xcconfig"; sourceTree = ""; }; 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; 7AFFD8ED1D35381100E5BB4D /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; @@ -49,7 +52,6 @@ 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - AADA30890C75F448DA1E1040 /* libPods-Runner.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Runner.a"; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -57,7 +59,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 4F30D5F713FAE573DBE831BD /* libPods-Runner.a in Frameworks */, + A179044980BFAE87AA7CC5EA /* Pods_Runner.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -67,7 +69,7 @@ 556632B50846818D9A90AA4B /* Frameworks */ = { isa = PBXGroup; children = ( - AADA30890C75F448DA1E1040 /* libPods-Runner.a */, + 43C088DEB2D7CF557A30EB8F /* Pods_Runner.framework */, ); name = Frameworks; sourceTree = ""; @@ -91,6 +93,7 @@ 97C146EF1CF9000F007C117D /* Products */, DE7EB5CF2B4FC4A8BCD09CC6 /* Pods */, 556632B50846818D9A90AA4B /* Frameworks */, + 1113342D5D37BB68C9894616 /* GoogleService-Info.plist */, ); sourceTree = ""; }; @@ -149,6 +152,7 @@ 97C146EC1CF9000F007C117D /* Resources */, 9705A1C41CF9048500538489 /* Embed Frameworks */, 3B06AD1E1E4923F5004D2608 /* Thin Binary */, + C8F9A74D28F7E3549E25E81B /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -165,11 +169,12 @@ 97C146E61CF9000F007C117D /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0910; + LastUpgradeCheck = 1300; ORGANIZATIONNAME = "The Chromium Authors"; TargetAttributes = { 97C146ED1CF9000F007C117D = { CreatedOnToolsVersion = 7.3.1; + DevelopmentTeam = YYX2P3XVJ7; }; }; }; @@ -203,6 +208,7 @@ 9740EEB41CF90195004384FC /* Debug.xcconfig in Resources */, 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, + 9903DF608794B096EA88A2AE /* GoogleService-Info.plist in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -255,6 +261,44 @@ shellPath = /bin/sh; shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; }; + C8F9A74D28F7E3549E25E81B /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh", + "${BUILT_PRODUCTS_DIR}/FirebaseABTesting/FirebaseABTesting.framework", + "${BUILT_PRODUCTS_DIR}/FirebaseCore/FirebaseCore.framework", + "${BUILT_PRODUCTS_DIR}/FirebaseCoreInternal/FirebaseCoreInternal.framework", + "${BUILT_PRODUCTS_DIR}/FirebaseInstallations/FirebaseInstallations.framework", + "${BUILT_PRODUCTS_DIR}/FirebasePerformance/FirebasePerformance.framework", + "${BUILT_PRODUCTS_DIR}/FirebaseRemoteConfig/FirebaseRemoteConfig.framework", + "${BUILT_PRODUCTS_DIR}/GoogleDataTransport/GoogleDataTransport.framework", + "${BUILT_PRODUCTS_DIR}/GoogleUtilities/GoogleUtilities.framework", + "${BUILT_PRODUCTS_DIR}/PromisesObjC/FBLPromises.framework", + "${BUILT_PRODUCTS_DIR}/integration_test/integration_test.framework", + "${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework", + ); + name = "[CP] Embed Pods Frameworks"; + outputPaths = ( + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseABTesting.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseCore.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseCoreInternal.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseInstallations.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebasePerformance.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FirebaseRemoteConfig.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleDataTransport.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/GoogleUtilities.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/FBLPromises.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/integration_test.framework", + "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Runner/Pods-Runner-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -396,18 +440,22 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = YYX2P3XVJ7; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Flutter", ); INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); LIBRARY_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.firebasePerformanceExample; + PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.firebase.tests; PRODUCT_NAME = "$(TARGET_NAME)"; VERSIONING_SYSTEM = "apple-generic"; }; @@ -419,18 +467,22 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = YYX2P3XVJ7; ENABLE_BITCODE = NO; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Flutter", ); INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); LIBRARY_SEARCH_PATHS = ( "$(inherited)", "$(PROJECT_DIR)/Flutter", ); - PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.firebasePerformanceExample; + PRODUCT_BUNDLE_IDENTIFIER = io.flutter.plugins.firebase.tests; PRODUCT_NAME = "$(TARGET_NAME)"; VERSIONING_SYSTEM = "apple-generic"; }; diff --git a/packages/firebase_performance/firebase_performance/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/packages/firebase_performance/firebase_performance/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme index 1263ac84b105..1c19f4b86e14 100644 --- a/packages/firebase_performance/firebase_performance/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ b/packages/firebase_performance/firebase_performance/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme @@ -1,6 +1,6 @@ + + + + CLIENT_ID + 406099696497-mcs94a53ttg7ru556uec2hejel40ej7u.apps.googleusercontent.com + REVERSED_CLIENT_ID + com.googleusercontent.apps.406099696497-mcs94a53ttg7ru556uec2hejel40ej7u + ANDROID_CLIENT_ID + 406099696497-17qn06u8a0dc717u8ul7s49ampk13lul.apps.googleusercontent.com + API_KEY + AIzaSyDooSUGSf63Ghq02_iIhtnmwMDs4HlWS6c + GCM_SENDER_ID + 406099696497 + PLIST_VERSION + 1 + BUNDLE_ID + io.flutter.plugins.firebase.tests + PROJECT_ID + flutterfire-e2e-tests + STORAGE_BUCKET + flutterfire-e2e-tests.appspot.com + IS_ADS_ENABLED + + IS_ANALYTICS_ENABLED + + IS_APPINVITE_ENABLED + + IS_GCM_ENABLED + + IS_SIGNIN_ENABLED + + GOOGLE_APP_ID + 1:406099696497:ios:acd9c8e17b5e620e3574d0 + DATABASE_URL + https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app + + \ No newline at end of file diff --git a/packages/firebase_performance/firebase_performance/example/ios/Runner/Info.plist b/packages/firebase_performance/firebase_performance/example/ios/Runner/Info.plist index 930df5baa66b..fa3d95238741 100644 --- a/packages/firebase_performance/firebase_performance/example/ios/Runner/Info.plist +++ b/packages/firebase_performance/firebase_performance/example/ios/Runner/Info.plist @@ -45,5 +45,7 @@ UIViewControllerBasedStatusBarAppearance + CADisableMinimumFrameDurationOnPhone + diff --git a/packages/firebase_performance/firebase_performance/example/ios/firebase_app_id_file.json b/packages/firebase_performance/firebase_performance/example/ios/firebase_app_id_file.json new file mode 100644 index 000000000000..cbd176455eae --- /dev/null +++ b/packages/firebase_performance/firebase_performance/example/ios/firebase_app_id_file.json @@ -0,0 +1,7 @@ +{ + "file_generated_by": "FlutterFire CLI", + "purpose": "FirebaseAppID & ProjectID for this Firebase app in this directory", + "GOOGLE_APP_ID": "1:406099696497:ios:acd9c8e17b5e620e3574d0", + "FIREBASE_PROJECT_ID": "flutterfire-e2e-tests", + "GCM_SENDER_ID": "406099696497" +} \ No newline at end of file diff --git a/packages/firebase_performance/firebase_performance/example/lib/firebase_config.dart b/packages/firebase_performance/firebase_performance/example/lib/firebase_config.dart deleted file mode 100644 index b281585dbdc2..000000000000 --- a/packages/firebase_performance/firebase_performance/example/lib/firebase_config.dart +++ /dev/null @@ -1,49 +0,0 @@ -// Copyright 2022, the Chromium project authors. Please see the AUTHORS file -// for details. All rights reserved. Use of this source code is governed by a -// BSD-style license that can be found in the LICENSE file. - -import 'dart:io'; - -import 'package:firebase_core/firebase_core.dart'; -import 'package:flutter/foundation.dart'; - -class DefaultFirebaseConfig { - static FirebaseOptions get platformOptions { - if (kIsWeb) { - // Web - return const FirebaseOptions( - apiKey: 'AIzaSyAgUhHU8wSJgO5MVNy95tMT07NEjzMOfz0', - authDomain: 'react-native-firebase-testing.firebaseapp.com', - databaseURL: 'https://react-native-firebase-testing.firebaseio.com', - projectId: 'react-native-firebase-testing', - storageBucket: 'react-native-firebase-testing.appspot.com', - messagingSenderId: '448618578101', - appId: '1:448618578101:web:772d484dc9eb15e9ac3efc', - measurementId: 'G-0N1G9FLDZE', - ); - } else if (Platform.isIOS || Platform.isMacOS) { - // iOS and MacOS - return const FirebaseOptions( - appId: '1:448618578101:ios:2bc5c1fe2ec336f8ac3efc', - apiKey: 'AIzaSyAHAsf51D0A407EklG1bs-5wA7EbyfNFg0', - projectId: 'react-native-firebase-testing', - messagingSenderId: '448618578101', - iosBundleId: 'io.flutter.plugins.firebase.firestore.example', - iosClientId: - '448618578101-ja1be10uicsa2dvss16gh4hkqks0vq61.apps.googleusercontent.com', - androidClientId: - '448618578101-2baveavh8bvs2famsa5r8t77fe1nrcn6.apps.googleusercontent.com', - storageBucket: 'react-native-firebase-testing.appspot.com', - databaseURL: 'https://react-native-firebase-testing.firebaseio.com', - ); - } else { - // Android - return const FirebaseOptions( - appId: '1:448618578101:android:3ad281c0067ccf97ac3efc', - apiKey: 'AIzaSyCuu4tbv9CwwTudNOweMNstzZHIDBhgJxA', - projectId: 'react-native-firebase-testing', - messagingSenderId: '448618578101', - ); - } - } -} diff --git a/packages/firebase_performance/firebase_performance/example/lib/firebase_options.dart b/packages/firebase_performance/firebase_performance/example/lib/firebase_options.dart new file mode 100644 index 000000000000..bf7aa28e3827 --- /dev/null +++ b/packages/firebase_performance/firebase_performance/example/lib/firebase_options.dart @@ -0,0 +1,89 @@ +// Copyright 2021 The Chromium Authors. All rights reserved. +// Use of this source code is governed by a BSD-style license that can be +// found in the LICENSE file. + +// File generated by FlutterFire CLI. +// ignore_for_file: lines_longer_than_80_chars, avoid_classes_with_only_static_members +import 'package:firebase_core/firebase_core.dart' show FirebaseOptions; +import 'package:flutter/foundation.dart' + show defaultTargetPlatform, kIsWeb, TargetPlatform; + +/// Default [FirebaseOptions] for use with your Firebase apps. +/// +/// Example: +/// ```dart +/// import 'firebase_options.dart'; +/// // ... +/// await Firebase.initializeApp( +/// options: DefaultFirebaseOptions.currentPlatform, +/// ); +/// ``` +class DefaultFirebaseOptions { + static FirebaseOptions get currentPlatform { + if (kIsWeb) { + return web; + } + switch (defaultTargetPlatform) { + case TargetPlatform.android: + return android; + case TargetPlatform.iOS: + return ios; + case TargetPlatform.macOS: + throw UnsupportedError( + 'DefaultFirebaseOptions have not been configured for macos - ' + 'you can reconfigure this by running the FlutterFire CLI again.', + ); + case TargetPlatform.windows: + throw UnsupportedError( + 'DefaultFirebaseOptions have not been configured for windows - ' + 'you can reconfigure this by running the FlutterFire CLI again.', + ); + case TargetPlatform.linux: + throw UnsupportedError( + 'DefaultFirebaseOptions have not been configured for linux - ' + 'you can reconfigure this by running the FlutterFire CLI again.', + ); + default: + throw UnsupportedError( + 'DefaultFirebaseOptions are not supported for this platform.', + ); + } + } + + static const FirebaseOptions web = FirebaseOptions( + apiKey: 'AIzaSyB7wZb2tO1-Fs6GbDADUSTs2Qs3w08Hovw', + appId: '1:406099696497:web:87e25e51afe982cd3574d0', + messagingSenderId: '406099696497', + projectId: 'flutterfire-e2e-tests', + authDomain: 'flutterfire-e2e-tests.firebaseapp.com', + databaseURL: + 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app', + storageBucket: 'flutterfire-e2e-tests.appspot.com', + measurementId: 'G-JN95N1JV2E', + ); + + static const FirebaseOptions android = FirebaseOptions( + apiKey: 'AIzaSyCdRjCVZlhrq72RuEklEyyxYlBRCYhI2Sw', + appId: '1:406099696497:android:0d4ed619c031c0ac3574d0', + messagingSenderId: '406099696497', + projectId: 'flutterfire-e2e-tests', + databaseURL: + 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app', + storageBucket: 'flutterfire-e2e-tests.appspot.com', + ); + + static const FirebaseOptions ios = FirebaseOptions( + apiKey: 'AIzaSyDooSUGSf63Ghq02_iIhtnmwMDs4HlWS6c', + appId: '1:406099696497:ios:acd9c8e17b5e620e3574d0', + messagingSenderId: '406099696497', + projectId: 'flutterfire-e2e-tests', + databaseURL: + 'https://flutterfire-e2e-tests-default-rtdb.europe-west1.firebasedatabase.app', + storageBucket: 'flutterfire-e2e-tests.appspot.com', + androidClientId: + '406099696497-17qn06u8a0dc717u8ul7s49ampk13lul.apps.googleusercontent.com', + iosClientId: + '406099696497-mcs94a53ttg7ru556uec2hejel40ej7u.apps.googleusercontent.com', + iosBundleId: 'io.flutter.plugins.firebase.tests', + ); +} diff --git a/packages/firebase_performance/firebase_performance/example/lib/main.dart b/packages/firebase_performance/firebase_performance/example/lib/main.dart index 7f5357973b8f..a4ad4a4c39db 100644 --- a/packages/firebase_performance/firebase_performance/example/lib/main.dart +++ b/packages/firebase_performance/firebase_performance/example/lib/main.dart @@ -6,14 +6,17 @@ import 'dart:async'; import 'package:firebase_core/firebase_core.dart'; import 'package:firebase_performance/firebase_performance.dart'; -import 'package:firebase_performance_example/firebase_config.dart'; import 'package:flutter/material.dart'; import 'package:http/http.dart'; import 'package:pedantic/pedantic.dart'; +import 'firebase_options.dart'; + Future main() async { WidgetsFlutterBinding.ensureInitialized(); - await Firebase.initializeApp(options: DefaultFirebaseConfig.platformOptions); + await Firebase.initializeApp( + options: DefaultFirebaseOptions.currentPlatform, + ); runApp(MyApp()); }