Skip to content

Commit bea72a1

Browse files
committed
Merge branch 'staging' of github.com:Countly/countly-sdk-react-native-bridge into staging-np
2 parents 0ff00d3 + 2ffe5fa commit bea72a1

File tree

62 files changed

+4804
-675
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+4804
-675
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,5 @@ countly-sdk-react-native-bridge-*.tgz
2222
example/AwesomeProject
2323
coverage/
2424
package-lock.json
25+
example/AwesomeProject/*
26+
example/ExpoProject/*

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"editor.codeActionsOnSave": {
3-
"source.fixAll.eslint": true
3+
"source.fixAll.eslint": "explicit"
44
},
55
"editor.defaultFormatter": "esbenp.prettier-vscode",
66
"editor.formatOnSave": true,

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,23 @@
1+
## 25.4.0-np
2+
* ! Minor breaking change ! The SDK now exclusively uses random UUIDs for device id generation instead of platform specific OpenUDID or IDFV.
3+
* ! Minor breaking change ! Server Configuration is now enabled by default. Changes made on SDK Manager > SDK Configuration on your server will affect SDK behavior directly.
4+
5+
* Added `refreshContentZone()` method for manual refresh of content zone
6+
* Added `disableBackoffMechanism()` init config method for disabling request backoff logic
7+
* Added `disableSDKBehaviorSettingsUpdates()` init config method for disabling server config sync requests
8+
* Added `setSDKBehaviorSettings(settingsObject: object)` init config method for providing server config settings
9+
* Added New Architecture (Turbo Modules) support
10+
* Added fullscreen support for feedback widgets
11+
* Added support for SDK health checks in iOS
12+
* Added a built-in backoff mechanism when server responses are slow
13+
14+
* Mitigated an issue that caused PN message data collision if two message with same ID was received in Android
15+
* Mitigated an issue that could occur while serializing events to improve stability, performance and memory usage in iOS
16+
* Mitigated an issue where the safe area resolution was not correctly calculated for the content zone on certain iOS devices.
17+
18+
* Updated the underlying Android SDK version to 25.4.2
19+
* Updated the underlying iOS SDK version to 25.4.3
20+
121
## 25.1.2-np
222
* Mitigated an issue where the visibility tracking could have been enabled by default
323

Countly.d.ts

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,13 @@ declare module "countly-sdk-react-native-bridge-np" {
7979
string;
8080
string;
8181
export const TemporaryDeviceIDString: string;
82-
export interface messagingMode {
83-
DEVELOPMENT: string;
84-
PRODUCTION: string;
85-
ADHOC: string;
82+
/**
83+
* Messaging modes for push notifications
84+
*/
85+
namespace messagingMode {
86+
const DEVELOPMENT: string;
87+
const PRODUCTION: string;
88+
const ADHOC: string;
8689
}
8790

8891
/**
@@ -208,6 +211,11 @@ declare module "countly-sdk-react-native-bridge-np" {
208211
*/
209212
export function enterContentZone(): void;
210213

214+
/**
215+
* Refreshes the content zone.
216+
*/
217+
export function refreshContentZone(): void;
218+
211219
/**
212220
* Opt out user from the content fetching and updates
213221
*/
@@ -1466,6 +1474,26 @@ declare module "countly-sdk-react-native-bridge-np/CountlyConfig" {
14661474
* @param {object} attributionValues attribution values
14671475
*/
14681476
recordIndirectAttribution(attributionValues: object): CountlyConfig;
1477+
1478+
/**
1479+
* Method to disable SDK behavior settings updates requests.
1480+
* @return {CountlyConfig}
1481+
*/
1482+
disableSDKBehaviorSettingsUpdates(): CountlyConfig;
1483+
1484+
/**
1485+
* Method to disable backoff mechanism for requests.
1486+
* @return {CountlyConfig}
1487+
*/
1488+
disableBackoffMechanism(): CountlyConfig;
1489+
1490+
/**
1491+
* Method to set SDK behavior settings.
1492+
*
1493+
* @param {object} settingsObject settings object
1494+
* @return {CountlyConfig}
1495+
*/
1496+
setSDKBehaviorSettings(settingsObject: object): CountlyConfig;
14691497
}
14701498

14711499
export default CountlyConfig;

0 commit comments

Comments
 (0)