@attentive-mobile/attentive-react-native-sdk 0.4.0 → 0.4.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/README.md +1 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -70,19 +70,12 @@ The more identifiers that are passed to `identify`, the better the SDK will func
|
|
|
70
70
|
| Custom Identifiers | Map<String,String> | Key-value pairs of custom identifier names and values. The values should be unique to this user. |
|
|
71
71
|
|
|
72
72
|
### Load the Creative
|
|
73
|
-
|
|
73
|
+
|
|
74
74
|
```typescript
|
|
75
75
|
// Trigger the Creative. This will show the Creative as a pop-up over the rest of the app.
|
|
76
76
|
Attentive.triggerCreative();
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
#### 3. Destroy the Creative
|
|
80
|
-
|
|
81
|
-
TODO
|
|
82
|
-
|
|
83
|
-
__*** NOTE: You must call the destroy method when the creative is no longer in use to properly clean up the WebView and it's resources ***__
|
|
84
|
-
|
|
85
|
-
|
|
86
79
|
### Record user events
|
|
87
80
|
|
|
88
81
|
The SDK currently supports `PurchaseEvent`, `AddToCartEvent`, `ProductViewEvent`, and `CustomEvent`.
|