You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
for iOS :
/Users/UserA/Library/Android/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-6.2.0/ios/Classes/FLTFirebaseAnalyticsPlugin.m:49:19: 'setScreenName:screenClass:' is deprecated: Use +[FIRAnalytics logEventWithName:kFIREventScreenView parameters:] instead.
for Android :
Note: /Users/UserA/Library/Android/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-6.2.0/android/src/main/java/io/flutter/plugins/firebaseanalytics/FirebaseAnalyticsPlugin.java uses or
overrides a deprecated API.
[ +3 ms] Note: Recompile with -Xlint:deprecation for details.
Try to build iOS project it will throw above warning
While run for android also get same error
Expected behavior
Do not show deprecation warning as its latest sdk for flutter.
Additional context
Add any other context about the problem here.
Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
[✓] Flutter (Channel stable, 1.22.3, on Mac OS X 10.15.7 19H2, locale en-GB)
• Flutter version 1.22.3 at /Users/UserA/Library/Android/flutter
• Framework revision 8874f21e79 (2 weeks ago), 2020-10-29 14:14:35 -0700
• Engine revision a1440ca392
• Dart version 2.10.3
[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at /Users/UserA/Library/Android/sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.1, Build version 12A7403
• CocoaPods version 1.10.0
[!] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
[✓] VS Code (version 1.42.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.7.1
[!] Connected device
! No devices available
! Doctor found issues in 2 categories.
Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
mehtahardikr
changed the title
🐛 [firebase_analytics] getting deprecation warning in iOS
🐛 [firebase_analytics] getting deprecation warning in iOS/Android
Nov 13, 2020
Hi @mehtahardikr
i can reproduce these warnings, this issue mention these warnings #3876
I will ios label as well
we can track all warning for these plugins from there
Thank you
Bug report
Describe the bug
for iOS :
/Users/UserA/Library/Android/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-6.2.0/ios/Classes/FLTFirebaseAnalyticsPlugin.m:49:19: 'setScreenName:screenClass:' is deprecated: Use +[FIRAnalytics logEventWithName:kFIREventScreenView parameters:] instead.
for Android :
Note: /Users/UserA/Library/Android/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_analytics-6.2.0/android/src/main/java/io/flutter/plugins/firebaseanalytics/FirebaseAnalyticsPlugin.java uses or
overrides a deprecated API.
[ +3 ms] Note: Recompile with -Xlint:deprecation for details.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Do not show deprecation warning as its latest sdk for flutter.
Additional context
Add any other context about the problem here.
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: