clevertap-web-sdk
Advanced tools
Comparing version 1.3.4 to 1.3.5
# Change Log | ||
All notable changes to this project will be documented in this file. | ||
## [1.3.5] - 23 Dec, 2022 | ||
- Fixes cases where a requests were processed twice from cache | ||
- Multiple On User Login requests can be fired consequtively. | ||
- Dynamic image dimensions for web carousel | ||
- Adds offline mode, where events can be queued and sent at a desired time later | ||
## [1.3.4] - 1 Dec, 2022 | ||
@@ -5,0 +10,0 @@ - Fixes cases where multiple request can be fired without a gcookie. |
{ | ||
"name": "clevertap-web-sdk", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "clevertap.js", |
@@ -154,2 +154,17 @@ <p align="center"> | ||
### Offline Mode | ||
The offline mode allows setting CleverTap SDK to offline. The `setOffline` method determines the SDK online state. By default the offline state of the sdk is set to `false`. | ||
However, once the `setOffline` method is passed with `true` as described below, the CleverTap SDK goes offline. All the events are recorded and queued locally, but they are not sent to the CleverTap server. | ||
When the `setOffline` method is passed with `false`, as described below, the CleverTap SDK goes online, and the queued events are sent to the server immediately. | ||
```javascript | ||
clevertap.setOffline(true) // sets the sdk in offline mode.Events will be queued locally and will be fired only when offline mode is set to false | ||
clevertap.setOffline(false) // disables the offline mode. Events will now get fired immediately | ||
``` | ||
### Debugging | ||
@@ -156,0 +171,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
686018
5802
200