Skip to content

Commit

Permalink
Merge pull request #682 from lovegaoshi/dev
Browse files Browse the repository at this point in the history
fix: billing
  • Loading branch information
lovegaoshi authored Dec 6, 2024
2 parents 8d2c84f + 68ab5ed commit da359f2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,5 @@
"node": ">=18.0.0"
},
"isSwift": true,
"packageManager": "yarn@4.5.1"
}
"packageManager": "yarn@4.5.3"
}
2 changes: 1 addition & 1 deletion src/hooks/useVIP.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const initRevenueCatWeb = async (userid?: string) => {
const getVIPStatus = async () => {
if (APPSTORE) {
const customerInfo = await Purchases.getCustomerInfo();
return customerInfo.entitlements.active[VIPId] === undefined;
return customerInfo.entitlements.active[VIPId] !== undefined;
}
await initRevenueCatWeb();
const customerInfo = await PurchasesWeb.getSharedInstance().getCustomerInfo();
Expand Down

0 comments on commit da359f2

Please sign in to comment.