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

Automatic screen name includes object address and makes it unusable #100

Closed
nezhyborets opened this issue Nov 23, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@nezhyborets
Copy link

nezhyborets commented Nov 23, 2023

Expected Behavior

Current Behavior

Currently screen name is captured in a way that includes object address, which is different each time object instantiated. This way I can't filter by actual Screen Name because there are plenty of records for single screen name.
Screenshot 2023-11-23 at 16 36 12

Possible Solution

There are plenty of possible solutions, but the easiest one would be to just print Class of an object, and not include brackets, object address etc. So that it would be:
FriendProfile instead of <Evenly.FriendProfile: 0x10501e800>

Steps to Reproduce

  1. Just enable defaultTracking so that screenViews are tracked, so defaultTracking: .init(screenViews: true) or defaultTracking: .ALL and see what's received by Amplitude

Environment

  • SDK Version: Amplitude-Swift 1.1.0
  • OS Info: iOS 17.0.1, iOS Simulator iPhone 15 Pro Max
@nezhyborets nezhyborets added the bug Something isn't working label Nov 23, 2023
@crleona
Copy link
Collaborator

crleona commented Mar 15, 2024

Hi @nezhyborets - this should be fixed in the latest release.

@crleona crleona closed this as completed Mar 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants