feat: unified purchaseToken and fix transaction ID issues#523
Merged
Conversation
- Add unified purchaseToken field for both iOS (JWS) and Android (purchase token) - Deprecate jwsRepresentationIOS and purchaseTokenAndroid in favor of purchaseToken - Fix duplicate transaction events by adding processed transaction tracking - Remove StoreKit Configuration to use proper Sandbox transaction IDs - Fix iOS transaction ID issue showing sequential numbers instead of secure IDs - Add comprehensive error handling following expo-iap patterns - Update documentation for unified purchaseToken and transaction troubleshooting - Remove orphaned darwin directory and fix pubspec configuration
…okens - Update types.md with unified purchaseToken field documentation - Add deprecation notices for jwsRepresentationIOS and purchaseTokenAndroid - Document transaction ID formats across different environments - Add troubleshooting guide for transaction ID and purchase token issues - Include migration examples for v6.0.0 unified token usage
623750c to
cefbf1d
Compare
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #523 +/- ##
==========================================
+ Coverage 15.18% 21.37% +6.19%
==========================================
Files 6 6
Lines 1337 1511 +174
==========================================
+ Hits 203 323 +120
- Misses 1134 1188 +54 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
- Add strict formatting validation with --set-exit-if-changed flag - Include step-by-step pre-commit process matching CI behavior - Fix test file formatting issues
fdd6315 to
1c9f01b
Compare
- Add tests for Android and iOS purchaseToken handling - Test purchaseToken field for both platforms in PurchasedItem - Improve test coverage for new unified token functionality - Address Codecov coverage requirements for recent changes
1c9f01b to
3b0baea
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
Benefits