diff --git a/package.json b/package.json index 42cb26be..637df44f 100644 --- a/package.json +++ b/package.json @@ -183,5 +183,5 @@ "node": ">=18.0.0" }, "isSwift": true, - "packageManager": "yarn@4.5.1" -} \ No newline at end of file + "packageManager": "yarn@4.5.3" +} diff --git a/src/hooks/useVIP.ts b/src/hooks/useVIP.ts index 40c967e8..2d09fa66 100644 --- a/src/hooks/useVIP.ts +++ b/src/hooks/useVIP.ts @@ -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();