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

Paywalls: Use coroutines to interact with SDK #1224

Merged

Conversation

tonidero
Copy link
Contributor

@tonidero tonidero commented Sep 6, 2023

Description

We can and should be using coroutines to interact with the main SDK. This updates the paywall tester app and the revenuecatui sdk to use the coroutine versions of the SDK methods.

@tonidero tonidero added refactor A code change that neither fixes a bug nor adds a feature RevenueCatUI labels Sep 6, 2023
@tonidero tonidero marked this pull request as ready for review September 6, 2023 16:57
@tonidero tonidero requested a review from a team September 6, 2023 16:57
@tonidero tonidero force-pushed the toniricodiez/pwl-221-create-paywall-tester-sample-app-3 branch from cda6832 to bba0dc1 Compare September 6, 2023 17:04
@codecov
Copy link

codecov bot commented Sep 6, 2023

Codecov Report

❗ No coverage uploaded for pull request base (paywalls@0377b53). Click here to learn what that means.
Patch has no changes to coverable lines.

❗ Current head f120612 differs from pull request most recent head 10d443a. Consider uploading reports for the commit 10d443a to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##             paywalls    #1224   +/-   ##
===========================================
  Coverage            ?   85.25%           
===========================================
  Files               ?      186           
  Lines               ?     6319           
  Branches            ?      911           
===========================================
  Hits                ?     5387           
  Misses              ?      586           
  Partials            ?      346           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@NachoSoto NachoSoto left a comment

Choose a reason for hiding this comment

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

Awesome!
Looks like you need to rebase, but I looked at the last commit 🚢

Base automatically changed from toniricodiez/pwl-221-create-paywall-tester-sample-app-3 to paywalls September 6, 2023 17:12
@tonidero tonidero force-pushed the toniricodiez/pwl-221-create-paywall-tester-sample-app-4 branch from f120612 to 10d443a Compare September 6, 2023 17:13
@tonidero tonidero merged commit f177873 into paywalls Sep 6, 2023
3 of 5 checks passed
@tonidero tonidero deleted the toniricodiez/pwl-221-create-paywall-tester-sample-app-4 branch September 6, 2023 17:18
tonidero added a commit that referenced this pull request Oct 31, 2023
### Description
We can and should be using coroutines to interact with the main SDK.
This updates the paywall tester app and the `revenuecatui ` sdk to use
the coroutine versions of the SDK methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor A code change that neither fixes a bug nor adds a feature RevenueCatUI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants