expo-iap 2.3.5-rc.3 → 2.3.5-rc.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/README.md +2 -3
- package/ios/ExpoIapModule.swift +7 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -10,10 +10,9 @@ The `expo-iap` module has been migrated from [react-native-iap](https://github.c
|
|
|
10
10
|
|
|
11
11
|
# API documentation
|
|
12
12
|
|
|
13
|
-
- [Documentation
|
|
14
|
-
- [Documentation for the latest stable release](https://docs.expo.dev/versions/latest/sdk/iap/)
|
|
13
|
+
- [Documentation](./iap.md)
|
|
15
14
|
|
|
16
|
-
>
|
|
15
|
+
> Sharing your thoughts—any feedback would be greatly appreciated!
|
|
17
16
|
|
|
18
17
|
## Sponsors
|
|
19
18
|
|
package/ios/ExpoIapModule.swift
CHANGED
|
@@ -381,8 +381,13 @@ public class ExpoIapModule: Module {
|
|
|
381
381
|
let transaction = try self.checkVerified(verification)
|
|
382
382
|
|
|
383
383
|
// Debug: Log JWS representation
|
|
384
|
-
|
|
385
|
-
|
|
384
|
+
let jwsRepresentation = verification.jwsRepresentation
|
|
385
|
+
if !jwsRepresentation.isEmpty {
|
|
386
|
+
logDebug("buyProduct JWS: exists")
|
|
387
|
+
logDebug("buyProduct JWS length: \(jwsRepresentation.count)")
|
|
388
|
+
} else {
|
|
389
|
+
logDebug("buyProduct JWS: empty string")
|
|
390
|
+
}
|
|
386
391
|
|
|
387
392
|
if andDangerouslyFinishTransactionAutomatically {
|
|
388
393
|
await transaction.finish()
|