expo-iap 2.4.3 → 2.4.4
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/android/src/main/AndroidManifest.xml +2 -1
- package/iap.md +0 -10
- package/ios/ExpoIapModule.swift +1 -2
- package/package.json +1 -1
package/iap.md
CHANGED
|
@@ -91,16 +91,6 @@ Manually apply the following changes:
|
|
|
91
91
|
|
|
92
92
|
If there’s no `ext` block, append it at the end.
|
|
93
93
|
|
|
94
|
-
2. **Update `android/app/src/main/AndroidManifest.xml`**
|
|
95
|
-
Add the BILLING permission:
|
|
96
|
-
|
|
97
|
-
```xml
|
|
98
|
-
<manifest ...>
|
|
99
|
-
<uses-permission android:name="com.android.vending.BILLING" />
|
|
100
|
-
<!-- Other manifest content... -->
|
|
101
|
-
</manifest>
|
|
102
|
-
```
|
|
103
|
-
|
|
104
94
|
## Current State & Feedback
|
|
105
95
|
|
|
106
96
|
Updates are in progress to improve reliability and address remaining edge cases. For production apps, test thoroughly. Contributions (docs, code, or bug reports) are welcome—especially detailed error logs or use cases!
|
package/ios/ExpoIapModule.swift
CHANGED
|
@@ -123,8 +123,7 @@ func serializeProduct(_ p: Product) -> [String: Any?] {
|
|
|
123
123
|
"id": p.id,
|
|
124
124
|
"title": p.displayName,
|
|
125
125
|
"isFamilyShareable": p.isFamilyShareable,
|
|
126
|
-
"jsonRepresentation":
|
|
127
|
-
String(data: p.jsonRepresentation, encoding: .utf8) ?? ""),
|
|
126
|
+
"jsonRepresentation": String(data: p.jsonRepresentation, encoding: .utf8),
|
|
128
127
|
"price": p.price,
|
|
129
128
|
"subscription": p.subscription,
|
|
130
129
|
"type": p.type,
|