Skip to content

Commit

Permalink
fix: local dependencies in example apps (firebase#3319)
Browse files Browse the repository at this point in the history
* fix: local dependencies in example apps

* Update packages/firebase_analytics/firebase_analytics/example/pubspec.yaml

Co-authored-by: Mike Diarmid <[email protected]>

Co-authored-by: Mike Diarmid <[email protected]>
  • Loading branch information
helenaford and Salakar authored Aug 26, 2020
1 parent 6942dbe commit 82c7e17
Show file tree
Hide file tree
Showing 14 changed files with 75 additions and 13 deletions.
4 changes: 4 additions & 0 deletions packages/cloud_firestore/cloud_firestore/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ dependencies:
firebase_core:
path: ../../../firebase_core/firebase_core

dependency_overrides:
firebase_core:
path: ../../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
drive: 0.0.1-6.0.pre
Expand Down
4 changes: 4 additions & 0 deletions packages/cloud_functions/cloud_functions/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ dependencies:
firebase_core:
path: ../../../firebase_core/firebase_core

dependency_overrides:
firebase_core:
path: ../../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
flutter_driver:
Expand Down
7 changes: 6 additions & 1 deletion packages/firebase_admob/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@ dependencies:
sdk: flutter
firebase_admob:
path: ../
firebase_core: ^0.5.0
firebase_core:
path: ../../firebase_core/firebase_core

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,14 @@ dependencies:
sdk: flutter
firebase_analytics:
path: ../
firebase_core: ^0.4.0
firebase_core:
path: ../../../firebase_core/firebase_core
e2e: ^0.6.1

dependency_overrides:
firebase_core:
path: ../../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
flutter_test:
Expand Down
6 changes: 6 additions & 0 deletions packages/firebase_auth/firebase_auth/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ dependencies:
path: ../../../firebase_dynamic_links
uuid: ^2.0.2

dependency_overrides:
firebase_core:
path: ../../../firebase_core/firebase_core
firebase_dynamic_links:
path: ../../../firebase_dynamic_links

dev_dependencies:
pedantic: ^1.8.0
drive: 0.0.1-6.0.pre
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_database/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ dependencies:
firebase_core:
path: ../../firebase_core/firebase_core

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
flutter_driver:
Expand Down
9 changes: 6 additions & 3 deletions packages/firebase_dynamic_links/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ description: Demonstrates how to use the firebase_dynamic_links plugin.
dependencies:
flutter:
sdk: flutter

firebase_dynamic_links:
path: ../
firebase_core: ^0.5.0-dev.2

firebase_core:
path: ../../firebase_core/firebase_core
url_launcher: ^5.1.6

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
e2e: ^0.6.1
Expand Down
10 changes: 8 additions & 2 deletions packages/firebase_in_app_messaging/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,14 @@ dependencies:
cupertino_icons: ^0.1.2
firebase_in_app_messaging:
path: ../
firebase_core: ^0.5.0
firebase_analytics: ^6.0.0
firebase_core:
path: ../../firebase_core/firebase_core
firebase_analytics:
path: ../../firebase_analytics/firebase_analytics

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
Expand Down
6 changes: 5 additions & 1 deletion packages/firebase_messaging/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ dependencies:
firebase_messaging:
path: ../
firebase_core:
path: ../firebase_core/firebase_core
path: ../../firebase_core/firebase_core

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
Expand Down
9 changes: 6 additions & 3 deletions packages/firebase_ml_custom/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,18 @@ environment:
dependencies:
flutter:
sdk: flutter

firebase_ml_custom:
path: ../
firebase_core: ^0.4.0
firebase_core:
path: ../../firebase_core/firebase_core
cupertino_icons: ^0.1.3

image_picker: ^0.6.0
tflite: 1.1.1

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
flutter_test:
Expand Down
7 changes: 6 additions & 1 deletion packages/firebase_ml_vision/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,14 @@ dependencies:
cupertino_icons: ^0.1.2
firebase_ml_vision:
path: ../
firebase_core: ^0.4.0
firebase_core:
path: ../../firebase_core/firebase_core
camera: ^0.5.6+1

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
e2e: ^0.6.1
Expand Down
7 changes: 6 additions & 1 deletion packages/firebase_performance/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,12 @@ dependencies:
sdk: flutter
firebase_performance:
path: ../
firebase_core: ^0.4.0
firebase_core:
path: ../../firebase_core/firebase_core

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_remote_config/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ dependencies:
firebase_core:
path: ../../firebase_core/firebase_core

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
flutter_test:
Expand Down
4 changes: 4 additions & 0 deletions packages/firebase_storage/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ dependencies:
uuid: ^2.0.2
http: ^0.12.0

dependency_overrides:
firebase_core:
path: ../../firebase_core/firebase_core

dev_dependencies:
pedantic: ^1.8.0
flutter_test:
Expand Down

0 comments on commit 82c7e17

Please sign in to comment.