Comments (5)
Hi @Pratiksha0796
I checked this using package example with the modification as above to print out the verificationData but I can get the decoded data without error.
What is your current in_app_purchase
package version? And which platform are you getting the issue? (Android, iOS, macOS).
Please share the entire error trace if any. Thanks!
from flutter.
Hi @huycozy , Thanks for your response.
I'm using in_app_purchase: ^3.1.13 and this is the only one error I'm getting for iOS
Unexpected character (at character 1)
MII8kQYJKoZIhvcNAQcCoII8gjCCPH4CAQExDzANBglghkgBZQMEAgEFADCCK8cGCSqGSIb3DQE...
I'm testing in-app subscription with sandbox tester on physical device.
from flutter.
Hi @huycozy
Why I'm getting this type of response for purchaseDetails.verificationData.localVerificationData
response is something like this
MIJ27wYJKoZIhvcNAQcCoIJ24DCCdtwCAQExDzANBglghkgBZQMEAgEFADCCZiUGCSqGSIb3DQEHAaCCZhYEgmYSMYJmDjAKAgEIAgEBBAIWADAKAgEUAgEBBAIMADALAgEBAgEBBAMCAQAwCwIBCwIBAQQDAgEAMAsCAQ8CAQEEAwIBADALAgEQAgEBBAMCAQAwCwIBGQIBAQQDAgEDMAwCAQoCAQEEBBYCNCswDAIBDgIBAQQEAgIAnTANAgEDAgEBBAUMAzEwNjANAgENAgEBBAUC
Response should be something like - {"orderId":"GPA.3365-7685-1898-54077","packageName":"com.inapptest.net","productId":"testproductid","purchaseTime":1658121156026,"purchaseState":0,"purchaseToken":"kgfemgbkacejamjnmafadmnj.AO-J1Oz9_C62j3NyNe4FPFCHpFIZI2KXfm2JTrl4NE7k4x7Elroi49kJln7Ch1J6bFTMvDe2d8rLvRbJ9tugbQR5lM0Ny8_CKA","acknowledged":false}
from flutter.
My IAP setup on iOS has another issue so I can't check this currently. Could you try upgrading the package to the latest version and retry? Since you have this issue on iOS, please make sure the latest version is in_app_purchase_storekit: ^0.3.16
(you can check the version from pubspec.lock
file).
from flutter.
@huycozy I'm already using latest version of package and using in_app_purchase_storekit: ^0.3.16
from flutter.
Related Issues (20)
- CP iOS 18 fixes for beta and stable
- CP ci.yaml to use iOS 17 or 18 for beta and stable
- Upgrade remaining iOS devices to iOS 18
- Update .ci.yaml in flutter/flutter to use iOS 18 only
- Upgrade remaining bots in dart-internal to macOS 14.5
- Delete dynamic_layouts from the packages repo HOT 4
- Design doc for Cupertino Modal Bottom Sheet Routes
- Flutter drive integration tests hanging forever in github actions: DriverError: Error while reading FlutterDriver result for command
- `ValueKey<T>(..).toString()` doesn't work in `Release` mode, gives response as `Instance of 'ValueKey<T>'` in `3.22.0` and `3.22.1` HOT 9
- FocusManager related leak. HOT 3
- [flutter_test] A KeyDownEvent is dispatched, but the state shows that the physical key is already pressed HOT 4
- Tree status not updating on github PRs HOT 2
- Android | WebViewWidget flickers when loading and resizing another Web View
- Add separated variant to SliverFixedExtentList widget
- rejected (bundle format is ambiguous (could be app or framework)) HOT 8
- Flutter demo app: Could not find com.android.tools.build:gradle:7.6.3. HOT 5
- Add-to-app should support predictive back route transitions HOT 1
- can't edit text form field after navigate from the screen in IOS HOT 1
- [Flutter Web] dialogs dismissed prematurely with ensureSemantics HOT 1
- [Flutter Web] The a11y placeholder is preventing the interaction with the host app in embedded mode. HOT 1
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 flutter.