Comments (5)
Is your app deleting NSUserDefaults
? If so, that would explain the crash.
If that is the case, there are a couple of workarounds, like only deleting the keys your app uses, or configuring RevenueCat with a separate instance of NSUserDefaults. Let me know if this is your case and I can elaborate more.
from purchases-flutter.
from purchases-flutter.
I see. My thinking is that there might be a plugin or something (or the app itself) that's deleting user defaults.
I'm working on #49, which will allow for a quick workaround for this issue on flutter. I'll keep you posted.
In the meantime, are you using any plugins like shared_preferences that might be causing this?
from purchases-flutter.
from purchases-flutter.
thanks for the info. That one should be safe, since it internally uses the keychain for storage (from their docs).
I'm not sure what might be causing NSUserDefaults getting cleared in your case, but I'll let you know as soon as I get the workaround out.
in #49 there's another workaround that might help, although that one involves a bit more work on the dev side
from purchases-flutter.
Related Issues (20)
- CustomerInfo listener fires with stale data HOT 3
- presentPaywallIfNeeded isn't defined. Using 6.3.0-beta.1 HOT 10
- Crash on SDK for the iOS app - PurchasesHybridCommon HOT 4
- 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
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.