expo-iap 3.0.0 โ 3.0.2-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/README.md +11 -1
- package/android/build.gradle +1 -1
- package/bun.lock +137 -340
- package/coverage/clover.xml +358 -0
- package/coverage/coverage-final.json +7 -0
- package/coverage/lcov-report/base.css +224 -0
- package/coverage/lcov-report/block-navigation.js +87 -0
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +176 -0
- package/coverage/lcov-report/prettify.css +1 -0
- package/coverage/lcov-report/prettify.js +2 -0
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +196 -0
- package/coverage/lcov-report/src/ExpoIap.types.ts.html +1396 -0
- package/coverage/lcov-report/src/helpers/index.html +116 -0
- package/coverage/lcov-report/src/helpers/subscription.ts.html +532 -0
- package/coverage/lcov-report/src/index.html +116 -0
- package/coverage/lcov-report/src/index.ts.html +1945 -0
- package/coverage/lcov-report/src/modules/android.ts.html +496 -0
- package/coverage/lcov-report/src/modules/index.html +131 -0
- package/coverage/lcov-report/src/modules/ios.ts.html +1012 -0
- package/coverage/lcov-report/src/types/ExpoIapAndroid.types.ts.html +502 -0
- package/coverage/lcov-report/src/types/index.html +116 -0
- package/coverage/lcov-report/src/useIAP.ts.html +1654 -0
- package/coverage/lcov-report/src/utils/constants.ts.html +127 -0
- package/coverage/lcov-report/src/utils/errorMapping.ts.html +427 -0
- package/coverage/lcov-report/src/utils/index.html +116 -0
- package/coverage/lcov.info +685 -0
- package/ios/ExpoIapModule.swift +24 -21
- package/ios/expoiap.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
- package/ios/expoiap.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- package/package.json +2 -2
- package/plugin/build/withIAP.js +17 -11
- package/plugin/build/withLocalOpenIAP.js +11 -7
- package/plugin/src/withIAP.ts +20 -16
- package/plugin/src/withLocalOpenIAP.ts +11 -9
- package/plugin/tsconfig.tsbuildinfo +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# CHANGELOG
|
|
2
2
|
|
|
3
|
+
## 3.0.2 - 2025-09-13
|
|
4
|
+
|
|
5
|
+
- Android: Ensure `openiap-google:1.1.0` is added inside `dependencies {}` and replace/dedupe existing entries. In local dev, remove the Maven line and rely on `project(':openiap-google')`. Library fallback bumped to 1.1.0.
|
|
6
|
+
- iOS: Honor `enableLocalDev: false` even when `localPath` is set. Ensure CocoaPods CDN in Podfile and remove any stale local `pod 'openiap', :path => ...` lines.
|
|
7
|
+
- iOS: Fix build error "cannot convert value of type '[[String : Any?]]'" by returning non-optional dictionaries from bridge methods.
|
|
8
|
+
- Misc: Drop legacy Billing/GMS cleanup patterns, simplify prebuild logs, and add a short release blog post.
|
|
9
|
+
|
|
3
10
|
## 3.0.0 - 2025-09-13
|
|
4
11
|
|
|
5
12
|
Breaking changes:
|
package/README.md
CHANGED
|
@@ -14,9 +14,19 @@
|
|
|
14
14
|
|
|
15
15
|
**[๐ Visit our comprehensive documentation site โ](https://hyochan.github.io/expo-iap)**
|
|
16
16
|
|
|
17
|
+
|
|
17
18
|
## Notice
|
|
18
19
|
|
|
19
|
-
The `expo-iap` module has been migrated from [react-native-iap](https://github.com/dooboolab/react-native-iap).
|
|
20
|
+
The `expo-iap` module has been migrated from [react-native-iap](https://github.com/dooboolab/react-native-iap). While we initially considered fully merging everything into `react-native-iap`, we ultimately decided to maintain the two libraries in parallel, each tailored to its own ecosystem.
|
|
21
|
+
|
|
22
|
+
- **`react-native-iap`** โ a **Nitro Modulesโbased** implementation for React Native.
|
|
23
|
+
- **`expo-iap`** โ an **Expo Module** with tighter integration and smoother compatibility in the Expo ecosystem.
|
|
24
|
+
|
|
25
|
+
Both libraries will continue to be maintained in parallel going forward.
|
|
26
|
+
|
|
27
|
+
๐ See the [Future Roadmap and Discussion](https://github.com/dooboolab-community/react-native-iap/discussions/2754) for more details.
|
|
28
|
+
๐ Stay updated via the [Current Project Status comment](https://github.com/dooboolab-community/react-native-iap/discussions/2754#discussioncomment-10510249).
|
|
29
|
+
|
|
20
30
|
|
|
21
31
|
## Installation
|
|
22
32
|
|
package/android/build.gradle
CHANGED
|
@@ -58,6 +58,6 @@ dependencies {
|
|
|
58
58
|
implementation project(":openiap-google")
|
|
59
59
|
} else {
|
|
60
60
|
// Fallback to published artifact when local project isn't linked
|
|
61
|
-
implementation "io.github.hyochan.openiap:openiap-google:1.0
|
|
61
|
+
implementation "io.github.hyochan.openiap:openiap-google:1.1.0"
|
|
62
62
|
}
|
|
63
63
|
}
|