Commit 53efc83
authored
refactor: migrate to recent openiap modules (#3019)
Organize OpenIAP module with `openiap-versions.json`.
```json
{
"apple": "1.2.2",
"google": "1.2.6",
"gql": "1.0.8"
}
```
Migrate to `openiap-apple`, `openiap-google`, and `openiap-gql` to
following version.
Updates genuinely follows https://github.com/hyochan/expo-iap/releases
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* iOS: fetch promoted product, get/refresh App Store receipt, deep-link
to subscriptions. Android: storefront and deep-link helpers. Example
app: Loading, PurchaseDetails, PurchaseSummaryRow, revamped
Purchase/Subscription screens.
* **Refactor**
* Improved structured, redacted diagnostics and more consistent
cross‑platform error handling and deduplication.
* **Documentation**
* Clarified Android dependency guidance; bumped OpenIAP versions.
* **Chores**
* Added centralized OpenIAP version file and dynamic version resolution;
package script update.
* **Tests**
* Added/updated tests for receipts, deeplink fallbacks, dynamic
versions, and example flows.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->1 parent be0fe36 commit 53efc83
File tree
39 files changed
+5771
-4387
lines changed- android
- src/main/java/com/margelo/nitro/iap
- example-expo
- app
- components
- constants
- scripts
- utils
- example
- __tests__/screens
- ios
- screens
- src
- components
- utils
- ios
- plugin
- __tests__
- src
- scripts
- src
- __tests__
- hooks
- specs
39 files changed
+5771
-4387
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
4 | 14 | | |
5 | 15 | | |
6 | 16 | | |
| |||
32 | 42 | | |
33 | 43 | | |
34 | 44 | | |
35 | | - | |
| 45 | + | |
36 | 46 | | |
37 | 47 | | |
38 | 48 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
1 | 3 | | |
2 | 4 | | |
3 | 5 | | |
| |||
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
22 | 45 | | |
23 | 46 | | |
24 | 47 | | |
| |||
155 | 178 | | |
156 | 179 | | |
157 | 180 | | |
158 | | - | |
| 181 | + | |
159 | 182 | | |
160 | 183 | | |
161 | 184 | | |
| |||
0 commit comments