Skip to content

Commit

Permalink
Update authDomain overriding to use new copyWith method
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Jul 30, 2024
1 parent 4a8b5d2 commit af1f90e
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 56 deletions.
2 changes: 1 addition & 1 deletion pub_stats/lib/firebase_options.dart
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class DefaultFirebaseOptions {
appId: '1:602612349235:web:bc801073a0f4599a252646',
messagingSenderId: '602612349235',
projectId: 'pub-stats-collector',
authDomain: 'proxy.pubstats.dev',
authDomain: 'pub-stats-collector.firebaseapp.com',
databaseURL: 'https://pub-stats-collector-default-rtdb.firebaseio.com',
storageBucket: 'pub-stats-collector.appspot.com',
measurementId: 'G-SVB0V0S48E',
Expand Down
3 changes: 2 additions & 1 deletion pub_stats/lib/service/firebase_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ class FirebaseService {

static Future<FirebaseService> create() async {
await Firebase.initializeApp(
options: DefaultFirebaseOptions.currentPlatform,
options: DefaultFirebaseOptions.currentPlatform
.copyWith(authDomain: 'proxy.pubstats.dev'),
);

// Initialize services
Expand Down
108 changes: 54 additions & 54 deletions pub_stats/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ packages:
dependency: transitive
description:
name: _flutterfire_internals
sha256: b46f62516902afb04befa4b30eb6a12ac1f58ca8cb25fb9d632407259555dd3d
sha256: b1595874fbc8f7a50da90f5d8f327bb0bfd6a95dc906c390efe991540c3b54aa
url: "https://pub.dev"
source: hosted
version: "1.3.39"
version: "1.3.40"
ansicolor:
dependency: transitive
description:
Expand Down Expand Up @@ -93,18 +93,18 @@ packages:
dependency: transitive
description:
name: device_info_plus
sha256: eead12d1a1ed83d8283ab4c2f3fca23ac4082f29f25f29dff0f758f57d06ec91
sha256: "93429694c9253d2871b3af80cf11b3cbb5c65660d402ed7bf69854ce4a089f82"
url: "https://pub.dev"
source: hosted
version: "10.1.0"
version: "10.1.1"
device_info_plus_platform_interface:
dependency: transitive
description:
name: device_info_plus_platform_interface
sha256: d3b01d5868b50ae571cd1dc6e502fc94d956b665756180f7b16ead09e836fd64
sha256: "282d3cf731045a2feb66abfe61bbc40870ae50a3ed10a4d3d217556c35c8c2ba"
url: "https://pub.dev"
source: hosted
version: "7.0.0"
version: "7.0.1"
equatable:
dependency: transitive
description:
Expand Down Expand Up @@ -197,146 +197,146 @@ packages:
dependency: "direct main"
description:
name: firebase_analytics
sha256: "2017da2cb0745fa912e13aadfc94e49691796cf6b7ed37edbca2a2388713da11"
sha256: "064e5b57b0693305946b7caa6a80ed80a918f46804c247b6cd7ed9cd327df48f"
url: "https://pub.dev"
source: hosted
version: "11.2.0"
version: "11.2.1"
firebase_analytics_platform_interface:
dependency: transitive
description:
name: firebase_analytics_platform_interface
sha256: "4ea00fe31ff74c92c613e082193b55bd21f0653b536dd77cc1ba4cf60771d214"
sha256: d094547c9022c404b5ca39b7209607fc80e75e39d38875f050508fa4346b3e74
url: "https://pub.dev"
source: hosted
version: "4.2.0"
version: "4.2.1"
firebase_analytics_web:
dependency: transitive
description:
name: firebase_analytics_web
sha256: e5ce84f0c4e6fb8f8ca673d009445938a61845d8fa6b42c11913d5bbdbedf300
sha256: "06dc023b0144c0df630a56b6262cc9e7d6069fe78148853d97614dbefb6ea923"
url: "https://pub.dev"
source: hosted
version: "0.5.9"
version: "0.5.9+1"
firebase_app_check:
dependency: "direct main"
description:
name: firebase_app_check
sha256: "92a72c3a557455eadf39b2d7c2ef7d1b4fc4dd79c6b1edbaae1bc1c4a62309ed"
sha256: "8314938830d6b47217e369664567f6d8a1e77603448e1dbdaf4f7d8c2111ff5c"
url: "https://pub.dev"
source: hosted
version: "0.3.0+3"
version: "0.3.0+4"
firebase_app_check_platform_interface:
dependency: transitive
description:
name: firebase_app_check_platform_interface
sha256: "703017a0378d00127b94c7eef239fc18c0d04b66310634534e02df9ee5785691"
sha256: edefbd312d2f4c52ab6a62d4efca512012bcc580f152c856a5730bfabcf8a924
url: "https://pub.dev"
source: hosted
version: "0.1.0+33"
version: "0.1.0+34"
firebase_app_check_web:
dependency: transitive
description:
name: firebase_app_check_web
sha256: a737957345510f55e08e3356c19bd0a80d77c72510bda5a6f67387a0b4c78c10
sha256: "2c2377ecf922514c540c2d4a9c06e46830a0706fdfc3d59b7ade9b75843b81c5"
url: "https://pub.dev"
source: hosted
version: "0.1.2+11"
version: "0.1.2+12"
firebase_auth:
dependency: "direct main"
description:
name: firebase_auth
sha256: a41b56878fa6aef3ea52962329b47eee333672d4b0ecc406e071b9fc729f242c
sha256: b0dde65595b65c0c2c2c2127da0ce7772a375fcefbea8490c1563a4aecbd0195
url: "https://pub.dev"
source: hosted
version: "5.1.2"
version: "5.1.3"
firebase_auth_platform_interface:
dependency: transitive
description:
name: firebase_auth_platform_interface
sha256: d1c68097588f3b75ef79a22102ff96c311735c254353bccf6824d19f1a7e86b9
sha256: "0408e2ed74b1afa0490a93aa041fe90d7573af7ffc59a641edc6c5b5c1b8d2a4"
url: "https://pub.dev"
source: hosted
version: "7.4.2"
version: "7.4.3"
firebase_auth_web:
dependency: transitive
description:
name: firebase_auth_web
sha256: e66ec0ae5697ee39ccd4865d6887cb0df220dd4ea0b21404910c68ca4c1a731a
sha256: "7e0c6d0fa8c5c1b2ae126a78f2d1a206a77a913f78d20f155487bf746162dccc"
url: "https://pub.dev"
source: hosted
version: "5.12.4"
version: "5.12.5"
firebase_core:
dependency: "direct main"
description:
name: firebase_core
sha256: "5159984ce9b70727473eb388394650677c02c925aaa6c9439905e1f30966a4d5"
sha256: "3187f4f8e49968573fd7403011dca67ba95aae419bc0d8131500fae160d94f92"
url: "https://pub.dev"
source: hosted
version: "3.2.0"
version: "3.3.0"
firebase_core_platform_interface:
dependency: transitive
description:
name: firebase_core_platform_interface
sha256: "1003a5a03a61fc9a22ef49f37cbcb9e46c86313a7b2e7029b9390cf8c6fc32cb"
sha256: "3c3a1e92d6f4916c32deea79c4a7587aa0e9dbbe5889c7a16afcf005a485ee02"
url: "https://pub.dev"
source: hosted
version: "5.1.0"
version: "5.2.0"
firebase_core_web:
dependency: transitive
description:
name: firebase_core_web
sha256: "23509cb3cddfb3c910c143279ac3f07f06d3120f7d835e4a5d4b42558e978712"
sha256: e8d1e22de72cb21cdcfc5eed7acddab3e99cd83f3b317f54f7a96c32f25fd11e
url: "https://pub.dev"
source: hosted
version: "2.17.3"
version: "2.17.4"
firebase_database:
dependency: "direct main"
description:
name: firebase_database
sha256: "0a823695cf651cda7aba5665d94e83d515227a7cf8e1328649e6b4052d34cf24"
sha256: e758ef2be8530ba84cf9a483255a9bb1bf0df458884196155a0e643972db730c
url: "https://pub.dev"
source: hosted
version: "11.0.3"
version: "11.0.4"
firebase_database_platform_interface:
dependency: transitive
description:
name: firebase_database_platform_interface
sha256: "8caaa655126fefe48efb11b1441baae1263519f3e0cf1c8ba675257c67aaba6c"
sha256: a1a2c17effa98da2366c70b5444c45df758edc33aef27608ee55ab6d28159f39
url: "https://pub.dev"
source: hosted
version: "0.2.5+39"
version: "0.2.5+40"
firebase_database_web:
dependency: transitive
description:
name: firebase_database_web
sha256: "64a5f01fa8669b57e3ba016432bea486e1b98e196920f444d0dc99ce89b20720"
sha256: e89f2008fea74d9f9e54d39ff5039b68db11349ccaef5ac3ddfcffd6c1ea270e
url: "https://pub.dev"
source: hosted
version: "0.2.5+11"
version: "0.2.5+12"
firebase_performance:
dependency: "direct main"
description:
name: firebase_performance
sha256: e5d35af7e4434d43da77fe5ed1c9ab4037876b59a4c7caaaefe1ffb34e51c6ff
sha256: "6d17133458b9627f15f278d6f71bebbbce885d393f3462b690e55deeb5c36b90"
url: "https://pub.dev"
source: hosted
version: "0.10.0+3"
version: "0.10.0+4"
firebase_performance_platform_interface:
dependency: transitive
description:
name: firebase_performance_platform_interface
sha256: b763a6b71135fcce792b8a2b3793679a73e2af336c630c6336425adf5efe1c44
sha256: "28dc0a70a3459fe51d1c1be5754803a9a0db0e210322ec7526f6ce42bf6ad83e"
url: "https://pub.dev"
source: hosted
version: "0.1.4+39"
version: "0.1.4+40"
firebase_performance_web:
dependency: transitive
description:
name: firebase_performance_web
sha256: "1d3712f5445eceb4ab961ea7eabcefdc460cc7569be71223380c7ea4c2fa3ce2"
sha256: db91d86b34280f5253d2913945fdd51d7114486584a298a7bedf1c4b2ab08f79
url: "https://pub.dev"
source: hosted
version: "0.1.6+11"
version: "0.1.6+12"
firebase_ui_database:
dependency: "direct main"
description:
Expand Down Expand Up @@ -525,10 +525,10 @@ packages:
dependency: "direct main"
description:
name: logger
sha256: af05cc8714f356fd1f3888fb6741cbe9fbe25cdb6eedbab80e1a6db21047d4a4
sha256: "697d067c60c20999686a0add96cf6aba723b3aa1f83ecf806a8097231529ec32"
url: "https://pub.dev"
source: hosted
version: "2.3.0"
version: "2.4.0"
matcher:
dependency: transitive
description:
Expand Down Expand Up @@ -565,18 +565,18 @@ packages:
dependency: transitive
description:
name: package_info_plus
sha256: b93d8b4d624b4ea19b0a5a208b2d6eff06004bc3ce74c06040b120eeadd00ce0
sha256: "4de6c36df77ffbcef0a5aefe04669d33f2d18397fea228277b852a2d4e58e860"
url: "https://pub.dev"
source: hosted
version: "8.0.0"
version: "8.0.1"
package_info_plus_platform_interface:
dependency: transitive
description:
name: package_info_plus_platform_interface
sha256: f49918f3433a3146047372f9d4f1f847511f2acd5cd030e1f44fe5a50036b70e
sha256: ac1f4a4847f1ade8e6a87d1f39f5d7c67490738642e2542f559ec38c37489a66
url: "https://pub.dev"
source: hosted
version: "3.0.0"
version: "3.0.1"
path:
dependency: transitive
description:
Expand Down Expand Up @@ -770,10 +770,10 @@ packages:
dependency: transitive
description:
name: url_launcher_android
sha256: ceb2625f0c24ade6ef6778d1de0b2e44f2db71fded235eb52295247feba8c5cf
sha256: "678979703e10d7862c551c736fe6b9f185261bddf141b46672063b99790bc700"
url: "https://pub.dev"
source: hosted
version: "6.3.3"
version: "6.3.7"
url_launcher_ios:
dependency: transitive
description:
Expand Down Expand Up @@ -818,10 +818,10 @@ packages:
dependency: transitive
description:
name: url_launcher_windows
sha256: ecf9725510600aa2bb6d7ddabe16357691b6d2805f66216a97d1b881e21beff7
sha256: "49c10f879746271804767cb45551ec5592cdab00ee105c06dddde1a98f73b185"
url: "https://pub.dev"
source: hosted
version: "3.1.1"
version: "3.1.2"
vector_graphics:
dependency: transitive
description:
Expand Down Expand Up @@ -882,10 +882,10 @@ packages:
dependency: transitive
description:
name: win32_registry
sha256: "10589e0d7f4e053f2c61023a31c9ce01146656a70b7b7f0828c0b46d7da2a9bb"
sha256: "723b7f851e5724c55409bb3d5a32b203b3afe8587eaf5dafb93a5fed8ecda0d6"
url: "https://pub.dev"
source: hosted
version: "1.1.3"
version: "1.1.4"
xml:
dependency: transitive
description:
Expand Down

0 comments on commit af1f90e

Please sign in to comment.