Comments (7)
@EliasDeuss Is it possible that those products you are trying to fetch are consumables in Android? If that's the case, you have to pass the second optional parameter specifying the PurchaseType.inapp
type. This optional parameter doesn't have any effect in iOS.
Purchases.getProducts(productIdentifiers, type: PurchaseType.inapp);
We can add better docs if that's confusing.
from purchases-flutter.
Hi @EliasDeuss, the reason why products is empty is a misconfiguration either in RevenueCat or in Play Console. Things that you should double check:
- The product ids configured in RevenueCat match the product ids in Play Console.
tieronetip, tier3tip, tier5tip, tier10tip, tier21tip
- Products are active in Play Console.
- The application id you are running matches the one in the play store. For example, some people add a
.debug
suffix to their application id when developing. That will break the fetching of the products. - Your app is published in a Closed Track. Doing this fixes a bunch of these issues. https://docs.revenuecat.com/docs/google-play-store#create-a-closed-track-and-add-a-tester-to-it
Other useful links that might help you find your issue are https://docs.revenuecat.com/docs/google-play-store and https://developer.android.com/google/play/billing/billing_testing#testing-purchases
from purchases-flutter.
@vegaro I have followed all the instructions and they still don't show up.
from purchases-flutter.
Did you manage to get it to work? Some steps take some time to propagate.
from purchases-flutter.
@vegaro No they still haven't shown up for me yet.
from purchases-flutter.
ok
from purchases-flutter.
@vegaro Yea that was it. Facing another issue now that I got that working.
The product is not available for purchase. | Couldn't find product.
Even though the product ids match.
Error:
D/[Purchases] - DEBUG(12635): Requesting products with identifiers: tieronetip
D/[Purchases] - DEBUG(12635): Products request finished for tieronetip
D/[Purchases] - DEBUG(12635): Retrieved skuDetailsList:
E/[Purchases] - ERROR(12635): The product is not available for purchase. | Couldn't find product.
Thanks for the help
from purchases-flutter.
Related Issues (20)
- Sample app does not call Purchases.removeCustomerInfoUpdateListener HOT 2
- The await for CustomerInfo customerInfo = await Purchases.purchasePackage(myProductList[index]); never completed; MagicWeather example, v.6.3.0 HOT 5
- Offerings not found or Null HOT 13
- Expand with linux, windows and more HOT 2
- Product Localization Problem For AppStore HOT 2
- presentPaywallIfNeeded always return Null HOT 6
- iOS simulator checkoutl HOT 9
- Dismissing iOS payment sheet throws uncatchable error HOT 3
- App rejected because no prices available in the TestFlight version but available in the AppStore version HOT 7
- Do you have example code for new paywall system? HOT 2
- Fatal Crash when using Flutter 6.3.0-beta.2 Paywall HOT 8
- What is public_ios_sdk_key ? HOT 4
- productPlanIdentifier parameter missing from EntitlementInfo HOT 2
- logOut() throws "user is anonymous" error even if I check Purchases.isAnonymous first HOT 5
- CustomerInfo == / hashCode aren't working HOT 3
- late initialization crashes the app HOT 3
- RevenueCatUi.framework is 4 MB in my executable for iOS, and I do not even use it, wassup? HOT 7
- Use default localization if app store localization for the device language is null or empty HOT 2
- ios 12 app crashing on startup for purchases_flutter 6.15.0 and above HOT 7
- Deprecated purchaseProduct HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from purchases-flutter.