Skip to content

The DebugView shows the user property even if the app has removed it. #8651

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

Closed
chauhan130 opened this issue Sep 13, 2021 · 4 comments
Closed

Comments

@chauhan130
Copy link

[REQUIRED] Step 1: Describe your environment

  • Xcode version: 12.5.1
  • Firebase SDK version: Analytics (7.5.0)
  • Installation method: CocoaPods
  • Firebase Component: Analytics

[REQUIRED] Step 2: Describe the problem

The DebugView shows the user property even if the app has removed it. The firebase debug logs claims the same.

Steps to reproduce:

  1. Add a user property with Firebase Analytics like referred_by.
  2. The debug view would show the added property.
  3. Remove the property from the app, like: Analytics.setUserProperty(nil, forName: "referred_by").
    The firebase debug logs should confirm the property is removed:
    2021-09-13 16:29:24.107639+0530 Application[6767:644301] 7.5.0 - [Firebase/Analytics][I-ACS023078] User property removed. Name: referred_by
  4. Notice the Debug View still shows the user property for consecutive events.

Not sure if this is related, but there is an outstanding issue #4856 which looks exactly the same.

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@rizafran
Copy link
Contributor

Hi @chauhan130, I've tried to reproduce the issue, and I was able to get the same behavior. I've made a follow up in the existing bug found on the issue #4856. I'll let you know once I've got an update from them. Thanks.

@chauhan130
Copy link
Author

Thank you @rizafran.

@paulb777
Copy link
Member

Closing in favor of the duplicate #4856

@firebase firebase locked and limited conversation to collaborators Oct 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants