@blueconic/blueconic-react-native 4.0.3 → 5.1.0

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.
@@ -10,7 +10,7 @@ Pod::Spec.new do |s|
10
10
  s.license = { :type => 'Commercial' }
11
11
 
12
12
  s.authors = { 'BlueConic' => 'info@blueconic.com' }
13
- s.platform = :ios, "12.0"
13
+ s.platform = :ios, "13.0"
14
14
  s.homepage = "https://blueconic.com"
15
15
  s.source = { :http => "https://registry.npmjs.org/@blueconic/blueconic-react-native/-/blueconic-react-native-"+ package['version'] + ".tgz" }
16
16
 
package/CHANGELOG.md CHANGED
@@ -2,6 +2,35 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  `@blueconic/blueconic-react-native` adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
4
 
5
+ ## [5.1.0] 2025-10-01
6
+
7
+ ### Added
8
+ - React-Android & iOS: Added Recommendations as Event Dialogue plugin support.
9
+ - React-Android & iOS: Added additional event for tracking content store Recommendations interactions.
10
+
11
+ ### Changed
12
+ - Updated support for React Native 0.8x version
13
+ - React-Android: Updated the SDK target to API 36 and Kotlin dependencies.
14
+ - React-iOS: Updated the deployment target to iOS 13 and Swift dependencies.
15
+ - React-Android & iOS: Changed the increment value method for the profile to accept Integer values instead of String.
16
+
17
+ ### Fixed
18
+ - React-Android: Fixed issue with the SDK not correctly removing existing plugins when a PAGEVIEW event is triggered.
19
+ - React-iOS: Fixed issue where the `publish(...)` method did not invoke the callback on success.
20
+
21
+ ## [5.0.0] 2025-07-11
22
+
23
+ ### Added
24
+ - React-Android & iOS: Added support for CTV devices, specifically for Android TV, Fire TV and Apple TV. The SDK can now be initialized on these devices, and it supports the same functionalities as on mobile devices.
25
+ - React-Android & iOS: Added ability to delete a profile ID server-side via the SDK. This can be done by calling the `deleteProfile` method. Additionally, the `clearProfileId` has been renamed to `createProfile` having the same functionality as before.
26
+
27
+ ### Changed
28
+ - React-Android: Changed the way the SDK stores the BCSessionId, by migrating the storage from CookieManager to SharedPreferences.
29
+ - React-iOS: Fixed issue with certain callbacks being invoked multiple times.
30
+
31
+ ### Fixed
32
+ - React-Android & iOS: Fixed issue with the SDK not sending the 'time' parameter in the correct format to the server.
33
+
5
34
  ## [4.0.3] 2025-04-08
6
35
 
7
36
  ### Fixed
@@ -1,7 +1,7 @@
1
1
 
2
2
  buildscript {
3
3
  ext {
4
- kotlin_version = '1.9.10'
4
+ kotlin_version = '2.1.21'
5
5
  }
6
6
  repositories {
7
7
  google()
@@ -9,7 +9,7 @@ buildscript {
9
9
  }
10
10
 
11
11
  dependencies {
12
- classpath 'com.android.tools.build:gradle:7.4.2'
12
+ classpath 'com.android.tools.build:gradle:8.11.0'
13
13
  classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
14
14
  }
15
15
  }
@@ -18,16 +18,16 @@ apply plugin: 'com.android.library'
18
18
  apply plugin: 'org.jetbrains.kotlin.android'
19
19
 
20
20
  android {
21
- compileSdk 34
21
+ compileSdk 36
22
22
 
23
23
  namespace 'com.blueconic.reactnative'
24
24
  defaultConfig {
25
25
  minSdkVersion 21
26
- targetSdkVersion 34
27
- versionCode 403
28
- versionName "4.0.3"
26
+ targetSdkVersion 36
27
+ versionCode 510
28
+ versionName "5.1.0"
29
29
  buildConfigField 'String', 'PLATFORM_NAME', "\"React Native\""
30
- buildConfigField 'String', 'PLATFORM_VERSION', "\"4.0.3\""
30
+ buildConfigField 'String', 'PLATFORM_VERSION', "\"5.1.0\""
31
31
  }
32
32
  lintOptions {
33
33
  abortOnError false
@@ -39,6 +39,10 @@ android {
39
39
  sourceCompatibility JavaVersion.VERSION_17
40
40
  targetCompatibility JavaVersion.VERSION_17
41
41
  }
42
+
43
+ buildFeatures {
44
+ buildConfig true
45
+ }
42
46
  }
43
47
 
44
48
  repositories {
@@ -48,12 +52,12 @@ repositories {
48
52
 
49
53
  dependencies {
50
54
  compileOnly 'com.facebook.react:react-android:+'
51
- implementation 'com.blueconic:blueconic-android-lib:6.0.4'
55
+ implementation 'com.blueconic:blueconic-android-lib:7.1.0'
52
56
 
53
- testImplementation 'androidx.core:core-ktx:1.13.1'
57
+ testImplementation 'androidx.core:core-ktx:1.17.0'
54
58
  testImplementation 'junit:junit:4.13.2'
55
- testImplementation "io.mockk:mockk:1.12.5"
59
+ testImplementation "io.mockk:mockk:1.14.5"
56
60
  testImplementation 'com.facebook.react:react-android:+'
57
- testImplementation 'com.blueconic:blueconic-android-lib:6.0.4'
58
- implementation "org.jetbrains.kotlin:kotlin-reflect:1.9.24"
61
+ testImplementation 'com.blueconic:blueconic-android-lib:7.1.0'
62
+ implementation "org.jetbrains.kotlin:kotlin-reflect:2.1.21"
59
63
  }
@@ -1,4 +1,4 @@
1
- org.gradle.jvmargs=-Xmx2048M
1
+ org.gradle.jvmargs=-Xmx4096M
2
2
  org.gradle.parallel=true
3
3
  android.useAndroidX=true
4
4
  android.enableJetifier=true