@blueconic/blueconic-react-native 3.2.4 → 4.0.1

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/CHANGELOG.md CHANGED
@@ -2,6 +2,30 @@
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
+ ## [4.0.1] 2025-01-24
6
+
7
+ ### Fixed
8
+ - React-Android: Fixed issue with the SDK's Global Listener not working correctly when initializing the SDK.
9
+
10
+ ## [4.0.0] 2024-12-18
11
+
12
+ ### Changed
13
+ - React (Android): Removed the requirement to create an 'XML' configuration file for the SDK. The SDK must now be initialized with a 'BlueConicConfiguration' object in the code via an 'initialize' function.
14
+ - React (iOS): Removed the requirement to add your hostname to the app's plist files. The SDK now requires initialization with a 'BlueConicConfiguration' object in the code via an 'initialize' function.
15
+ - Reworked the SDK to require an initialization step before any other SDK functions can be called. 
16
+ - Renamed the event methods for 'PageView', 'Click', 'View', and 'Conversion'.
17
+ - Renamed the even methods for 'ClickEvent', 'AdvancedEvent', 'FormSubmitEvent', 'UpdateContentEvent', and 'UpdateValuesEvent'.
18
+ - Almost all SDK methods were renamed to better reflect their functionality.
19
+
20
+ ### Added
21
+ - Visit Listener plugin support.
22
+ - Properties-Based Dialogue plugin support.
23
+ - Ability to subscribe and unsubscribe to events. Currently, the supported events are related to the Properties-Based Dialogue plugin.
24
+ - Ability to clear profile IDs locally from the cache.
25
+ - Optional callback information for a majority of the SDK functions.
26
+ - Additional ability to connect to the BlueConic Simulator for testing purposes via the BlueConicConfiguration object when initializing the SDK.
27
+ - Ability to set a custom app scheme instead of the default application package name. This can be set via the BlueConicConfiguration object when initializing the SDK.
28
+
5
29
  ## [3.2.4] 2024-10-18
6
30
 
7
31
  ### Fixed
@@ -1,5 +1,8 @@
1
1
 
2
2
  buildscript {
3
+ ext {
4
+ kotlin_version = '1.9.10'
5
+ }
3
6
  repositories {
4
7
  google()
5
8
  mavenCentral()
@@ -7,26 +10,35 @@ buildscript {
7
10
 
8
11
  dependencies {
9
12
  classpath 'com.android.tools.build:gradle:7.4.2'
13
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
10
14
  }
11
15
  }
12
16
 
13
17
  apply plugin: 'com.android.library'
18
+ apply plugin: 'org.jetbrains.kotlin.android'
14
19
 
15
20
  android {
16
- compileSdk 33
21
+ compileSdk 34
17
22
 
18
23
  namespace 'com.blueconic.reactnative'
19
24
  defaultConfig {
20
25
  minSdkVersion 21
21
- targetSdkVersion 33
22
- versionCode 324
23
- versionName "3.2.4"
26
+ targetSdkVersion 34
27
+ versionCode 400
28
+ versionName "4.0.1"
24
29
  buildConfigField 'String', 'PLATFORM_NAME', "\"React Native\""
25
- buildConfigField 'String', 'PLATFORM_VERSION', "\"3.2.4\""
30
+ buildConfigField 'String', 'PLATFORM_VERSION', "\"4.0.1\""
26
31
  }
27
32
  lintOptions {
28
33
  abortOnError false
29
34
  }
35
+ kotlinOptions {
36
+ jvmTarget = '17'
37
+ }
38
+ compileOptions {
39
+ sourceCompatibility JavaVersion.VERSION_17
40
+ targetCompatibility JavaVersion.VERSION_17
41
+ }
30
42
  }
31
43
 
32
44
  repositories {
@@ -36,5 +48,12 @@ repositories {
36
48
 
37
49
  dependencies {
38
50
  compileOnly 'com.facebook.react:react-android:+'
39
- implementation 'com.blueconic:blueconic-android-lib:5.2.6'
51
+ implementation 'com.blueconic:blueconic-android-lib:6.0.1'
52
+
53
+ testImplementation 'androidx.core:core-ktx:1.13.1'
54
+ testImplementation 'junit:junit:4.13.2'
55
+ testImplementation "io.mockk:mockk:1.12.5"
56
+ testImplementation 'com.facebook.react:react-android:+'
57
+ testImplementation 'com.blueconic:blueconic-android-lib:6.0.1'
58
+ implementation "org.jetbrains.kotlin:kotlin-reflect:1.9.24"
40
59
  }