-
Notifications
You must be signed in to change notification settings - Fork 328
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
StoreKit 2
: Optionally send JWS tokens instead of receipts to the b…
…ackend (#3227) - Added a new option `usesStoreKit2JWS` under `DangerousSettings`. If enabled, the SDK will send a JWS token instead of a receipt to the applicable backend endpoints. - The option must be used in conjunction with `usesStoreKit2IfAvailable` configuration option. ### ToDo - [x] Send JWS token when making a purchase in SK2 mode - [x] Send JWS token when calculating promo offer eligibility - [x] Update `syncTransactions` to send the latest transaction JWS. - [x] Add tests --------- Co-authored-by: RevenueCat Git Bot <[email protected]> Co-authored-by: Distiller <[email protected]> Co-authored-by: Distiller <[email protected]> Co-authored-by: Distiller <[email protected]> Co-authored-by: Distiller <[email protected]> Co-authored-by: Distiller <[email protected]>
- Loading branch information
1 parent
1ad14d8
commit 235a7dc
Showing
45 changed files
with
1,003 additions
and
207 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.