Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Null value set to PhotoUrl is not saved on Android devices #1112

Closed
georgemarkosian opened this issue Sep 19, 2024 · 3 comments
Closed

Comments

@georgemarkosian
Copy link

georgemarkosian commented Sep 19, 2024

Description

Our app has a user avatar feature that allows users to delete their avatars. It's done through setting a null value to PhotoUrl and calling UpdateUserProfileAsync method. This works well on iOS and in Unity Editor, but on Android devices the task completes fine but the change is not applied.

Reproducing the issue

  1. Use Android device
  2. Call UpdateUserProfileAsync with user profile with valid Uri in PhotoUrl
  3. Call UpdateUserProfileAsync with the user profile with PhotoUrl set to null
  4. PhotoUrl doesn't change and remains the same as set on step 1

Firebase Unity SDK Version

12.2.0

Unity editor version

2022.3.46

Installation Method

Unity Package Manager

Problematic Firebase Component(s)

Authentication

Other Firebase Component(s) in use

Analytics, Crashlytics, Firestore, In-App Messaging, Installations, Messaging, Remote Config, Storage

Additional SDKs you are using

FacebookSDK, AppsFlyer, GoogleSignIn.

Targeted Platform(s)

Android

Unity editor platform

Mac

Scripting Runtime

IL2CPP

Release Distribution Type

Pre-built SDK from https://firebase.google.com/download/unity

@google-oss-bot
Copy link

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

@argzdev argzdev added api: auth and removed needs-triage new New issue. labels Sep 19, 2024
@argzdev argzdev self-assigned this Sep 20, 2024
@argzdev
Copy link

argzdev commented Sep 20, 2024

Thanks for reaching out, @georgemarkosian. I was able to reproduce the same behavior. I'll go ahead and notify our engineering team.

@a-maurice
Copy link
Collaborator

This should be fixed with the latest release, 12.4.0, https://github.com/firebase/firebase-unity-sdk/releases/tag/v12.4.0

Thanks for flagging this.

@firebase firebase locked and limited conversation to collaborators Dec 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.