@blueconic/blueconic-react-native 3.2.3 → 4.0.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.
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.0] 2024-12-18
6
+
7
+ ### Changed
8
+ - 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.
9
+ - 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.
10
+ - Reworked the SDK to require an initialization step before any other SDK functions can be called. 
11
+ - Renamed the event methods for 'PageView', 'Click', 'View', and 'Conversion'.
12
+ - Renamed the even methods for 'ClickEvent', 'AdvancedEvent', 'FormSubmitEvent', 'UpdateContentEvent', and 'UpdateValuesEvent'.
13
+ - Almost all SDK methods were renamed to better reflect their functionality.
14
+
15
+ ### Added
16
+ - Visit Listener plugin support.
17
+ - Properties-Based Dialogue plugin support.
18
+ - Ability to subscribe and unsubscribe to events. Currently, the supported events are related to the Properties-Based Dialogue plugin.
19
+ - Ability to clear profile IDs locally from the cache.
20
+ - Optional callback information for a majority of the SDK functions.
21
+ - Additional ability to connect to the BlueConic Simulator for testing purposes via the BlueConicConfiguration object when initializing the SDK.
22
+ - 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.
23
+
24
+ ## [3.2.4] 2024-10-18
25
+
26
+ ### Fixed
27
+ - React-Android: Fixed issue with the SDK removing cookies when initializing.
28
+
5
29
  ## [3.2.3] 2024-09-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 323
23
- versionName "3.2.3"
26
+ targetSdkVersion 34
27
+ versionCode 400
28
+ versionName "4.0.0"
24
29
  buildConfigField 'String', 'PLATFORM_NAME', "\"React Native\""
25
- buildConfigField 'String', 'PLATFORM_VERSION', "\"3.2.3\""
30
+ buildConfigField 'String', 'PLATFORM_VERSION', "\"4.0.0\""
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.5'
51
+ implementation 'com.blueconic:blueconic-android-lib:6.0.0'
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.0'
58
+ implementation "org.jetbrains.kotlin:kotlin-reflect:1.9.24"
40
59
  }