capacitor-plugin-cdv-purchase 13.17.1 → 13.17.2
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 +12 -0
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/www/store.d.ts +1 -1
- package/www/store.js +1 -1
package/README.md
CHANGED
|
@@ -42,6 +42,18 @@ If you're using `cordova-plugin-purchase` in a Capacitor app:
|
|
|
42
42
|
3. `npx cap sync`
|
|
43
43
|
4. Update your import to `import { store, ProductType, Platform } from 'capacitor-plugin-cdv-purchase'` — the API is identical
|
|
44
44
|
|
|
45
|
+
## Device info for receipt validation
|
|
46
|
+
|
|
47
|
+
When validating receipts, the plugin sends device information (OS, model, manufacturer) to the validator to support fraud detection and support requests. In Capacitor apps, this information is collected automatically via `@capacitor/device` through the Capacitor plugin proxy — no additional plugin installation is required.
|
|
48
|
+
|
|
49
|
+
Customize what is sent with `store.validator_privacy_policy`:
|
|
50
|
+
|
|
51
|
+
```typescript
|
|
52
|
+
store.validator_privacy_policy = ['fraud', 'support', 'analytics'];
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
See the [privacy policy documentation](https://github.com/j3k0/cordova-plugin-purchase/blob/master/api/classes/CdvPurchase.Store.md#validator_privacy_policy) for details.
|
|
56
|
+
|
|
45
57
|
## Platform Support
|
|
46
58
|
|
|
47
59
|
| Platform | Native API | Minimum OS |
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
package/www/store.d.ts
CHANGED
package/www/store.js
CHANGED