Comments (11)
Hi! š You're correct, it's not exposed yet. We're discussing options for the best implementation of this method that makes sense in a cross-platform environment (iOS and Android have different ways of handling this, with Android being a ton more granular when it comes to what's available).
We're going to expose the method soon, though.
from purchases-flutter.
It would be great to see this flutter call in revenuecat soon! Thanks for the consideration.
from purchases-flutter.
Without the canMakePayments iOS method supported in RevenueCat for Flutter you have to call it natively in iOS xcode. This method is required by Apple in order to get approval for purchases. To say RevenueCat offers support for Flutter currently is misleading since you can't get approval for your iOS build with purchases without calling this method from my understanding.
from purchases-flutter.
@stea1thbear this shouldn't cause any issues with app review. The method is mostly used by kids apps to show a UI if a parent disabled purchases.
A different workaround to know if purchases are disabled could be looking out for PURCHASE_NOT_ALLOWED
errors when trying to purchase and showing a UI there if that's a requirement for you.
from purchases-flutter.
Anyone please help me in implementing this plugin.
I am getting this error
Invalid Play Store credentials errors
I tried this solution but still getting same error. There is already a project in Google Cloud Platform(that is created automatically by firebase when I implemented google login using firebase) but when I go to Google Play Console to link that project then I am unable to find that project in existing projects in Api Access section of Google Play Console. I don't know what's wrong I am doing.
Do I need to do anything special to make that existing Google Cloud Platform to see in Api Access of my google play console?
Please HELP...!
from purchases-flutter.
@chirag-chopra the best place to figure out your issue is to contact our support at https://support.revenuecat.com. They'll be able to provide you with detailed assistance and step-by-step instructions.
We reserve GitHub issues for bug reports only.
from purchases-flutter.
I also tried revenue cat support also but they didn't responded. I am so sorry that I am asking for help like this. But I am roaming here and there on internet for some support. Please help me. I will always remember you.
from purchases-flutter.
Iām a little lost, Iām about to implement this package but here it says the method mentioned in the docs is not available for flutter? How do I know if a user is a premium user?
from purchases-flutter.
@armandojimenez this thread refers specifically to a method called canMakePayments
, which tells you if the user is able to make payments (for example, a parent may have restricted access to their child so that they can't buy items).
In order to know if a user is a premium user, you check their subscription status (docs here)
from purchases-flutter.
Update here: this feature has been added in #193, and will be a part of the next release.
Sorry for the long wait for this one!
from purchases-flutter.
This is included in the latest release, 3.3.0: https://github.com/RevenueCat/purchases-flutter/releases/tag/3.3.0
Going to close the ticket for now, but please re-open if you run into any issues!
from purchases-flutter.
Related Issues (20)
- no built in Android HOT 3
- MacOS two factor window is sized wrong and is jumpy, see video HOT 5
- Expiration date is same as purchase date (macOS) HOT 4
- 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
- App crashes on reopen from homescreen due to PurhcasesHybridCommon error HOT 5
- entitlement info does not contain info about the base plan (Google Play) HOT 3
- Inclusion of Unidentified 0.5MB JPG Image in purchases_ui_flutter Dependency HOT 3
- The price returned is incorrect HOT 5
- Paywall Result should return the correct status HOT 3
- Exception: _TypeError (type 'Null' is not a subtype of type 'String' in type cast) on allPurchaseDates field on iOS for Android Prepaid Subscriptions HOT 5
- Support custom Paywall view modes HOT 3
- Android is all of a sudden DEAD - getCustomerInfo doesn't work and getOfferings HOT 7
- Paywall doesn't show trial text HOT 3
- Paywall doesn't have configurable close button color 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.