countly-sdk-react-native-bridge
Advanced tools
Comparing version 25.1.0 to 25.1.1
{ | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll.eslint": true | ||
"source.fixAll.eslint": "explicit" | ||
}, | ||
@@ -5,0 +5,0 @@ "editor.defaultFormatter": "esbenp.prettier-vscode", |
@@ -0,1 +1,19 @@ | ||
## 25.1.1 | ||
* Improved content size management of content blocks. | ||
* Added init time config options: | ||
* `.content.setZoneTimerInterval` to set the frequency of content update calls in seconds. | ||
* `.content.setGlobalContentCallback` to provide a callback that is called when a content is closed. | ||
* Android Specific Changes: | ||
* Improved the custom CertificateTrustManager to handle domain-specific configurations by supporting hostname-aware checkServerTrusted calls. | ||
* Mitigated an issue where after closing a content, they were not being fetched again. | ||
* Mitigated an issue where, the action bar was overlapping with the content display. | ||
* iOS Specific Changes: | ||
* Added dynamic resizing functionality for the content zone | ||
* Fixed an issue where the build UUID and executable name were missing from crash reports | ||
* Updated the underlying Android SDK version to 25.1.1 | ||
* Updated the underlying iOS SDK version to 25.1.1 | ||
## 25.1.0 | ||
@@ -2,0 +20,0 @@ * ! Minor breaking change ! `Countly.userDataBulk.save()` method is now optional. SDK will save the cached data with internal triggers regularly. |
@@ -1183,2 +1183,16 @@ interface Segmentation { | ||
interface content { | ||
/** | ||
* | ||
* @param zoneTimerInterval - the interval in seconds to check for new content | ||
*/ | ||
setZoneTimerInterval(zoneTimerInterval: number): this; | ||
/** | ||
* | ||
* @param callback - callback to be called when new content is available | ||
*/ | ||
setGlobalContentCallback(callback: Function): this; | ||
} | ||
/** | ||
@@ -1282,2 +1296,7 @@ * | ||
/** | ||
* getter for content features | ||
*/ | ||
content: content; | ||
/** | ||
* Method to set the server url | ||
@@ -1284,0 +1303,0 @@ * |
@@ -5,2 +5,3 @@ import { initialize } from "./Logger.js"; | ||
import CountlyConfigExp from "./lib/configuration_interfaces/countly_config_experimental.js"; | ||
import CountlyConfigContent from "./lib/configuration_interfaces/countly_config_content.js"; | ||
/** | ||
@@ -29,2 +30,3 @@ * Countly SDK React Native Bridge | ||
this._countlyConfigExpInstance = new CountlyConfigExp(); | ||
this._countlyConfigContentInstance = new CountlyConfigContent(); | ||
} | ||
@@ -53,2 +55,9 @@ | ||
/** | ||
* Getter to get the content specific configurations | ||
*/ | ||
get content() { | ||
return this._countlyConfigContentInstance; | ||
} | ||
get _crashReporting() { | ||
@@ -55,0 +64,0 @@ return this.#crashReporting; |
@@ -0,1 +1,11 @@ | ||
## 25.1.1 | ||
* Mitigated an issue while setting zone timer interval for content. | ||
## 25.1.0 | ||
* Added dynamic resizing functionality for the content zone | ||
* Added a config option to content (setZoneTimerInterval) to set content zone timer. (Experimental!) | ||
* Improved management of content zone size for better responsiveness | ||
* Fixed an issue where the build UUID and executable name were missing from crash reports | ||
## 24.7.9 | ||
@@ -2,0 +12,0 @@ * Improved view tracking capabilities |
{ | ||
"name": "countly-sdk-react-native-bridge", | ||
"version": "25.1.0", | ||
"version": "25.1.1", | ||
"author": "Countly <hello@count.ly> (https://count.ly/)", | ||
@@ -5,0 +5,0 @@ "bugs": { |
@@ -120,2 +120,10 @@ import * as L from "./Logger.js"; | ||
} | ||
if (config.content.timerInterval) { | ||
json.setZoneTimerInterval = config.content.timerInterval; | ||
L.i(`init configuration, Set zone timer interval to ${config.content.timerInterval}`) | ||
} | ||
if (config.content.contentCallback) { | ||
json.setGlobalContentCallback = true; | ||
L.i(`init configuration, Set global content callback`) | ||
} | ||
if (config._disableIntentRedirectionCheck) { | ||
@@ -122,0 +130,0 @@ json.disableAdditionalIntentRedirectionChecks = true; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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 not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1322368
197
8192