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.
Files changed (38) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/README.md +11 -1
  3. package/android/build.gradle +1 -1
  4. package/bun.lock +137 -340
  5. package/coverage/clover.xml +358 -0
  6. package/coverage/coverage-final.json +7 -0
  7. package/coverage/lcov-report/base.css +224 -0
  8. package/coverage/lcov-report/block-navigation.js +87 -0
  9. package/coverage/lcov-report/favicon.png +0 -0
  10. package/coverage/lcov-report/index.html +176 -0
  11. package/coverage/lcov-report/prettify.css +1 -0
  12. package/coverage/lcov-report/prettify.js +2 -0
  13. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  14. package/coverage/lcov-report/sorter.js +196 -0
  15. package/coverage/lcov-report/src/ExpoIap.types.ts.html +1396 -0
  16. package/coverage/lcov-report/src/helpers/index.html +116 -0
  17. package/coverage/lcov-report/src/helpers/subscription.ts.html +532 -0
  18. package/coverage/lcov-report/src/index.html +116 -0
  19. package/coverage/lcov-report/src/index.ts.html +1945 -0
  20. package/coverage/lcov-report/src/modules/android.ts.html +496 -0
  21. package/coverage/lcov-report/src/modules/index.html +131 -0
  22. package/coverage/lcov-report/src/modules/ios.ts.html +1012 -0
  23. package/coverage/lcov-report/src/types/ExpoIapAndroid.types.ts.html +502 -0
  24. package/coverage/lcov-report/src/types/index.html +116 -0
  25. package/coverage/lcov-report/src/useIAP.ts.html +1654 -0
  26. package/coverage/lcov-report/src/utils/constants.ts.html +127 -0
  27. package/coverage/lcov-report/src/utils/errorMapping.ts.html +427 -0
  28. package/coverage/lcov-report/src/utils/index.html +116 -0
  29. package/coverage/lcov.info +685 -0
  30. package/ios/ExpoIapModule.swift +24 -21
  31. package/ios/expoiap.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -0
  32. package/ios/expoiap.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
  33. package/package.json +2 -2
  34. package/plugin/build/withIAP.js +17 -11
  35. package/plugin/build/withLocalOpenIAP.js +11 -7
  36. package/plugin/src/withIAP.ts +20 -16
  37. package/plugin/src/withLocalOpenIAP.ts +11 -9
  38. 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). Moving forward, the `react-native-iap` repository will gradually be deprecated, and `expo-iap` will become the actively maintained module. Please take note of this transition. For more details, refer to the [Future Roadmap and Discussion in react-native-iap](https://github.com/dooboolab-community/react-native-iap/discussions/2754). Additionally, you can check the [Current Project Status comment](https://github.com/dooboolab-community/react-native-iap/discussions/2754#discussioncomment-10510249) to stay updated on the project's progress.
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
 
@@ -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.1"
61
+ implementation "io.github.hyochan.openiap:openiap-google:1.1.0"
62
62
  }
63
63
  }