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

"can't find package" error. #3835

Open
JacksonRossiDev opened this issue Apr 22, 2024 · 4 comments
Open

"can't find package" error. #3835

JacksonRossiDev opened this issue Apr 22, 2024 · 4 comments
Labels

Comments

@JacksonRossiDev
Copy link

I am setting up a one-time purchase with Revenuecat

Purchases.purchasePackage is having a hard time finding my package. I have tried to enter the string in manually but I keep getting the "can't find package" error.

Please let me know if you can help
Screenshot 2024-04-22 at 4 55 38 PM
Screenshot 2024-04-22 at 4 56 03 PM

@RCGitBot
Copy link
Contributor

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

@vegaro
Copy link
Contributor

vegaro commented Apr 24, 2024

Is coins-100 a package in RevenueCat? Or a product configured in Apple/Google? purchasePackage accepts a RevenueCat package, not a product sku.

Also I see you're doing active["coins-100"]. active is an array of entitlements, is coins-100 an entitlement?

I'd recommend you take a look at https://www.revenuecat.com/docs/getting-started/entitlements if you haven't yet

Thanks!

@JacksonRossiDev
Copy link
Author

@vegaro Thank you so much for the response!

coins-100 is a package in RevenueCat, inside of an offering named coins. The product inside of the coins-100 package is a product named litecoins. Please let me know if you can provide any guidance on how I can run the correct Purchases.purchasePackage command

@JacksonRossiDev
Copy link
Author

Screenshot 2024-04-24 at 9 50 21 AM
Screenshot 2024-04-24 at 9 52 01 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants