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
Move and rename to new RC official plugin #96
Conversation
b44f47f
to
b1baae5
Compare
af0a416
to
cea9ba3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this file be removed?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it was generated when creating the ionic project... I don't think we will really use cypress
for now, so we could probably remove it entirely, but will do that in a separate PR. Removing this file would also require removing other files so I prefer not to do it here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok! I was asking in case you had commented it out yourself
example/purchase-tester/src/components/FunctionTesterContainer.tsx
Outdated
Show resolved
Hide resolved
@@ -60,7 +60,7 @@ public class PurchasesPlugin: CAPPlugin, PurchasesDelegate { | |||
call.keepAlive = true | |||
self.customerInfoUpdateListeners.append(call.callbackId) | |||
if let lastReceivedCustomerInfo { | |||
call.resolve(lastReceivedCustomerInfo.dictionary) | |||
call.resolve(CommonFunctionality.encode(customerInfo: lastReceivedCustomerInfo)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh nice 😇
This PR brings the changes to the plugin performed by RC from an internal repo to the public repo. There will be a new major release v6.0.0 soon with all the changes. Some of the major changes:
@capgo/capacitor-purchases
to@revenuecat/purchases-capacitor
.CapacitorPurchases
toPurchases
.migration/v6-MIGRATION.md
.