scatesdk-react 0.4.3 → 0.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/README.md +41 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -147,4 +147,44 @@ ScateSDK.DailyStreakClosed();
|
|
|
147
147
|
|
|
148
148
|
```js
|
|
149
149
|
ScateSDK.ShowEventList();
|
|
150
|
-
```
|
|
150
|
+
```
|
|
151
|
+
|
|
152
|
+
## Onboarding And Paywall Screen Functions and Events
|
|
153
|
+
|
|
154
|
+
## Show Paywall Screen
|
|
155
|
+
|
|
156
|
+
```js
|
|
157
|
+
ScateSDK.ShowPaywall('jsonString');
|
|
158
|
+
```
|
|
159
|
+
|
|
160
|
+
## Close Paywall Screen
|
|
161
|
+
|
|
162
|
+
```js
|
|
163
|
+
ScateSDK.ClosePaywall();
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## Show Onboarding Screen
|
|
167
|
+
|
|
168
|
+
```js
|
|
169
|
+
ScateSDK.ShowOnboarding('jsonString');
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
## Close Onboarding Screen
|
|
173
|
+
|
|
174
|
+
```js
|
|
175
|
+
ScateSDK.CloseOnboarding();
|
|
176
|
+
```
|
|
177
|
+
|
|
178
|
+
## Paywall And Onboarding Screen Events
|
|
179
|
+
|
|
180
|
+
```js
|
|
181
|
+
ScateSDK.AddListener(
|
|
182
|
+
ScateEvents.ONBOARDING_SCREENS_FINISHED,
|
|
183
|
+
(identifier) => {}
|
|
184
|
+
);
|
|
185
|
+
ScateSDK.AddListener(ScateEvents.PAYWALL_SCREEN_FINISHED, (identifier) => {});
|
|
186
|
+
ScateSDK.AddListener(ScateEvents.PAID_PRODUCT_CLICKED, (identifier) => {});
|
|
187
|
+
ScateSDK.AddListener(ScateEvents.PAYWALL_SCREEN_CLOSED, (success) => {});
|
|
188
|
+
ScateSDK.AddListener(ScateEvents.ONBOARDING_SCREEN_CLOSED, (success) => {});
|
|
189
|
+
ScateSDK.AddListener(ScateEvents.RESTORE_PURCHASE_CLICKED, (success) => {});
|
|
190
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scatesdk-react",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.4",
|
|
4
4
|
"description": "Scate SDK is made for developers to integrate Scate's services into their apps. Please visit https://www.scate.io for more information.",
|
|
5
5
|
"main": "lib/commonjs/index",
|
|
6
6
|
"module": "lib/module/index",
|