mirror of
https://github.com/flutter/samples.git
synced 2025-11-08 13:58:47 +00:00
Upgrade Firebase plugins to next major version (#1495)
This commit is contained in:
@@ -536,3 +536,26 @@ flutter pub run flutter_launcher_icons:main
|
||||
|
||||
You can [configure](https://github.com/fluttercommunity/flutter_launcher_icons#book-guide)
|
||||
the look of the icon in the `flutter_icons:` section of `pubspec.yaml`.
|
||||
|
||||
|
||||
# Troubleshooting
|
||||
|
||||
## CocoaPods
|
||||
|
||||
When upgrading to higher versions of Flutter or plugins, you might encounter an error when
|
||||
building the iOS or macOS app. A good first thing to try is to delete the `ios/Podfile.lock`
|
||||
file (or `macos/Podfile.lock`, respectively), then trying to build again. (You can achieve
|
||||
a more thorough cleanup by running `flutter clean` instead.)
|
||||
|
||||
## Warnings in console
|
||||
|
||||
When running the game for the first time, you might see warnings like the following:
|
||||
|
||||
> Note: Some input files use or override a deprecated API.
|
||||
|
||||
or
|
||||
|
||||
> warning: 'viewState' was deprecated in macOS 11.0: Use -initWithState: instead
|
||||
|
||||
These warning come from the various plugins that are used by the template. They are not harmful
|
||||
and can be ignored. The warnings are meant for the plugin authors, not for you, the game developer.
|
||||
|
||||
@@ -23,8 +23,8 @@ dependencies:
|
||||
# If you don't need one of the following dependencies,
|
||||
# delete the relevant line below, and get rid of any Dart code
|
||||
# that references the dependency.
|
||||
firebase_core: ^1.15.0 # Needed for Crashlytics below
|
||||
firebase_crashlytics: ^2.8.1 # Error reporting
|
||||
firebase_core: ^2.1.1 # Needed for Crashlytics below
|
||||
firebase_crashlytics: ^3.0.3 # Error reporting
|
||||
games_services: ^3.0.0 # Achievements and leaderboards
|
||||
google_mobile_ads: ^2.0.1 # Ads
|
||||
in_app_purchase: ^3.0.1 # In-app purchases
|
||||
|
||||
Reference in New Issue
Block a user