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

Always create new player ids on app install #914

Merged
merged 2 commits into from
Apr 12, 2021

Conversation

emawby
Copy link
Contributor

@emawby emawby commented Apr 9, 2021

This pr removes the usage of identifierForVendor to prevent creating a new player id for a reinstalled app.

This change is Reviewable

This means all new installs will result in a new player id.
@emawby emawby requested review from jkasten2 and Jeasmine April 9, 2021 18:14
Copy link
Member

@jkasten2 jkasten2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed 2 of 2 files at r1.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @emawby and @Jeasmine)


iOS_SDK/OneSignalSDK/Source/OSUserState.h, line 37 at r1 (raw file):

@property (strong, nonatomic, readwrite, nullable) NSString *timezoneId;
//This property is no longer being populated with vendor id
@property (strong, nonatomic, readwrite, nullable) NSString *adId;

Can we just delete the property completely?

Copy link
Contributor Author

@emawby emawby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: 1 of 3 files reviewed, 1 unresolved discussion (waiting on @Jeasmine and @jkasten2)


iOS_SDK/OneSignalSDK/Source/OSUserState.h, line 37 at r1 (raw file):

Previously, jkasten2 (Josh Kasten) wrote…

Can we just delete the property completely?

I was concerned about wrappers expecting it but it looks like they never access it so I removed it completely

@emawby emawby requested a review from jkasten2 April 9, 2021 22:43
Copy link
Member

@jkasten2 jkasten2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 2 files at r2.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Jeasmine and @jkasten2)

Copy link
Contributor Author

@emawby emawby left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewable status: all files reviewed, 1 unresolved discussion (waiting on @Jeasmine and @jkasten2)


iOS_SDK/OneSignalSDK/Source/OSUserState.h, line 37 at r1 (raw file):

Previously, emawby (Elliot Mawby) wrote…

I was concerned about wrappers expecting it but it looks like they never access it so I removed it completely

Done.

@emawby emawby merged commit a2091b2 into master Apr 12, 2021
@emawby emawby deleted the fix/always_create_new_player branch April 12, 2021 17:39
@emawby emawby mentioned this pull request Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants