Skip to content

CustomEntitlementsComputation sample app: fix resubscribes to customerInfoStream#2446

Merged
NachoSoto merged 1 commit into
custom-entitlement-disabled-apifrom
fix/unnecessary_resubscribe_in_sample_app
Apr 26, 2023
Merged

CustomEntitlementsComputation sample app: fix resubscribes to customerInfoStream#2446
NachoSoto merged 1 commit into
custom-entitlement-disabled-apifrom
fix/unnecessary_resubscribe_in_sample_app

Conversation

@aboedo

@aboedo aboedo commented Apr 26, 2023

Copy link
Copy Markdown
Member

fixes resubscribes to customerInfoStream in the CustomEntitlementsComputation sample app

…pen multiple times when the view is presented
@aboedo aboedo requested a review from a team April 26, 2023 14:51
@aboedo aboedo self-assigned this Apr 26, 2023
@aboedo aboedo added the test label Apr 26, 2023
.task {
Purchases.configureInCustomEntitlementsComputationMode(apiKey: Constants.apiKey,
appUserID: appUserID)
subscribeToCustomerInfoStream()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit per our style guide:

Suggested change
subscribeToCustomerInfoStream()
self.subscribeToCustomerInfoStream()

@NachoSoto

Copy link
Copy Markdown
Contributor

NBD though, I'll go ahead and merge this so I can include it in the release.

@NachoSoto NachoSoto merged commit 0c9b340 into custom-entitlement-disabled-api Apr 26, 2023
@NachoSoto NachoSoto deleted the fix/unnecessary_resubscribe_in_sample_app branch April 26, 2023 16:53
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