Skip to content

Firebase Auth: Crash when updating profile #16309

@fvisticot

Description

@fvisticot

Steps to Reproduce

  • Log user with email / pwd mode (user already created on firebase auth)
  • From the app, try to update photoUrl:
UserUpdateInfo userInfo = new UserUpdateInfo();
    userInfo.photoUrl=photoUrl;
    userInfo.displayName='fred';
    _auth.updateProfile(userInfo)

Logs

No log -> app crash
Run your application with flutter run and attach all the log output.

Run flutter analyze and attach any output of that command also.

Flutter Doctor

✓] Flutter (Channel beta, v0.2.3, on Mac OS X 10.12.6 16G29, locale fr-FR)
• Flutter version 0.2.3 at /Users/fvisticot/Tools/flutter
• Framework revision 5a58b36 (3 weeks ago), 2018-03-13 13:20:13 -0700
• Engine revision e61bb9a
• Dart version 2.0.0-dev.35.flutter-290c576264

[!] Android toolchain - develop for Android devices (Android SDK 26.0.2)
• Android SDK at /Users/fvisticot/Library/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-27, build-tools 26.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
! Some Android licenses not accepted. To resolve this, run: flutter doctor --android-licenses

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 9.2, Build version 9C40b
• ios-deploy 1.9.2
• CocoaPods version 1.4.0

[✓] Android Studio (version 3.0)
• Android Studio at /Applications/Android Studio.app/Contents
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] VS Code (version 1.20.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Dart Code extension version 2.10.0

[✓] Connected devices (3 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 5.0.2 (API 21) (emulator)
• iPhone fred • e1a670a9b4554a51269d6bc159b72ae78b9953f9 • ios • iOS 11.2.6
• iPhone 7 • F9B6637E-3B71-4146-BC7F-92CC05FDA7F7 • ios • iOS 11.2 (simulator)

! Doctor found issues in 1 category.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions