-
Notifications
You must be signed in to change notification settings - Fork 596
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
Cannot set tenantId back to null after setting it to something else #3398
Comments
I found a few problems with this issue:
|
Hi, thanks for filing this issue! We are unable to promise any timeline for this, but if others also have this issue, adding a +1 on this issue can help us prioritize adding this to the roadmap. (Googler-only internal tracking bug: b/217762163) |
I am facing this issue as well. Any solutions or workarounds? @Rexios80 |
We made a public tenant |
@Rexios80 Whats a public tenant? |
Instead of having users with no tenant id, we just made sure everyone has a tenant |
+1 Please make this a feature |
@lisajian Any updates on this? |
All it would take is modifying this method in the Android SDK: public void setTenantId(@NonNull String var1) {
Preconditions.checkNotEmpty(var1);
synchronized(this.zzj) {
this.zzk = var1;
}
} It looks like all that needs done is removing the Obviously I can't see the actual Android SDK code so I can't know for sure if it's that easy, but the tenant id starts out null so I see no reason these extraneous null checks aren't the only roadblock to setting it back to null. I don't see how this could possibly take over 2 years to implement. What is going on over there? The iOS and web SDKs already allow this so it's not a new feature or something. |
+1 |
[REQUIRED] Step 2: Describe your environment
[REQUIRED] Step 3: Describe the problem
Steps to reproduce:
Set tenantId to something. Attempt to set it back to null.
Relevant Code:
Details
flutterfire issue: firebase/flutterfire#7896 (comment)
The text was updated successfully, but these errors were encountered: