Skip to content

Cannot sign in and sing up on Android version. #34

@ZakroKhitalishvili

Description

@ZakroKhitalishvili

When I run the repository on Android, I cannot sign in with my existing account. Then I tried to create a new account, but I got a message telling a user with the email exists even on made-up emails.
I checked logs and found:
No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()
I added Firebase.initializeApp() in main(), however still get issues:

W/System  ( 8677): Ignoring header X-Firebase-Locale because its value was null.
D/FirebaseAuth( 8677): Notifying id token listeners about user ( 40f53Ps4FdeNCniH9ttRZsCd4W82 ).
I/flutter ( 8677): Authentication complete, user=AppUser(documentId: null, email: --my-email--, fireId: 40f53Ps4FdeNCniH9ttRZsCd4W82, firstName: null, lastName: null, imageUrl: null)
I/flutter ( 8677): SetCurrentUserCommand: AppUser(documentId: null, email: --my-email--, fireId: 40f53Ps4FdeNCniH9ttRZsCd4W82, firstName: null, lastName: null, imageUrl: null)
I/flutter ( 8677): RouterDelegate.build()
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->getObject(Ljava/lang/Object;J)Ljava/lang/Object; (greylist, linking, allowed)
I/flutter ( 8677): restoreRouteInfo: /?u=emFrcm8xOTk2QGdtYWlsLmNvbQ==&
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->putLong(Ljava/lang/Object;JJ)V (greylist, linking, allowed)
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
I/flutter ( 8677): NoSuchMethodError: The method '[]=' was called on null.
I/flutter ( 8677): Receiver: null
I/flutter ( 8677): Tried calling: []=("documentId", "--my-email--")
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed)
I/flutter ( 8677): NoSuchMethodError: The method '[]' was called on null.
I/flutter ( 8677): Receiver: null
I/flutter ( 8677): Tried calling: []("documentId")
I/flutter ( 8677): Saving: app-model
W/er.flutterfoli( 8677): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed)

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