@blueconic/blueconic-react-native 2.0.0 → 3.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.
Files changed (27) hide show
  1. package/BlueConicReactNative.podspec +23 -23
  2. package/CHANGELOG.md +105 -88
  3. package/LICENSE +3 -3
  4. package/README.md +11 -484
  5. package/android/build.gradle +40 -38
  6. package/android/gradle.properties +9 -0
  7. package/android/src/main/AndroidManifest.xml +4 -5
  8. package/android/src/main/java/com/blueconic/{blueconicreactnative → reactnative}/BlueConicClientModule.java +918 -870
  9. package/android/src/main/java/com/blueconic/{blueconicreactnative → reactnative}/BlueConicClientModuleHelper.java +17 -17
  10. package/android/src/main/java/com/blueconic/{blueconicreactnative → reactnative}/BlueConicClientPackage.java +29 -29
  11. package/android/src/main/java/com/blueconic/{blueconicreactnative → reactnative}/BlueConicInteraction.java +67 -68
  12. package/index.js +6 -6
  13. package/ios/BlueConicClient-Bridging-Header.h +6 -6
  14. package/ios/BlueConicClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -7
  15. package/ios/BlueConicClient.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
  16. package/ios/BlueConicClientModule.m +79 -74
  17. package/ios/BlueConicClientModule.swift +545 -516
  18. package/ios/BlueConicInteraction.swift +63 -63
  19. package/package.json +35 -18
  20. package/.gitattributes +0 -1
  21. package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
  22. package/android/gradle/wrapper/gradle-wrapper.properties +0 -6
  23. package/android/gradlew +0 -172
  24. package/android/gradlew.bat +0 -84
  25. package/android/local.properties +0 -8
  26. package/ios/BlueConicClient.xcodeproj/project.xcworkspace/xcuserdata/youri.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
  27. package/ios/BlueConicClient.xcodeproj/xcuserdata/youri.xcuserdatad/xcschemes/xcschememanagement.plist +0 -14
@@ -1,24 +1,24 @@
1
- require 'json'
2
-
3
- package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
-
5
- Pod::Spec.new do |s|
6
- s.name = "BlueConicReactNative"
7
- s.swift_version = "5.2"
8
- s.version = package['version']
9
- s.summary = package['description']
10
- s.license = { :type => 'Commercial' }
11
-
12
- s.authors = { 'BlueConic' => 'info@blueconic.com' }
13
- s.platform = :ios, "9.0"
14
- s.homepage = "https://blueconic.com"
15
- s.source = { :http => "https://registry.npmjs.org/@blueconic/blueconic-react-native/-/blueconic-react-native-"+ package['version'] + ".tgz" }
16
-
17
- s.source_files = 'ios/BlueConicClient-Bridging-Header.h',
18
- 'ios/BlueConicClientModule.m',
19
- 'ios/BlueConicClientModule.swift',
20
- 'ios/BlueConicInteraction.swift'
21
-
22
- s.dependency 'BlueConicClient'
23
- s.dependency 'React'
1
+ require 'json'
2
+
3
+ package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
4
+
5
+ Pod::Spec.new do |s|
6
+ s.name = "BlueConicReactNative"
7
+ s.swift_version = "5.2"
8
+ s.version = package['version']
9
+ s.summary = package['description']
10
+ s.license = { :type => 'Commercial' }
11
+
12
+ s.authors = { 'BlueConic' => 'info@blueconic.com' }
13
+ s.platform = :ios, "12.0"
14
+ s.homepage = "https://blueconic.com"
15
+ s.source = { :http => "https://registry.npmjs.org/@blueconic/blueconic-react-native/-/blueconic-react-native-"+ package['version'] + ".tgz" }
16
+
17
+ s.source_files = 'ios/BlueConicClient-Bridging-Header.h',
18
+ 'ios/BlueConicClientModule.m',
19
+ 'ios/BlueConicClientModule.swift',
20
+ 'ios/BlueConicInteraction.swift'
21
+
22
+ s.dependency 'BlueConicClient', package['nativeDependencies']['ios']
23
+ s.dependency 'React'
24
24
  end
package/CHANGELOG.md CHANGED
@@ -1,88 +1,105 @@
1
- # Changelog
2
- All notable changes to this project will be documented in this file.
3
- `@blueconic/blueconic-react-native` adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
-
5
- ## [2.0.0] - 2022-11-24
6
-
7
- - Released 1.3.1 alpha as 2.0.0 latest, since it contains breaking changes.
8
-
9
- ## [1.3.1] - 2022-11-22 (alpha)
10
-
11
- - Changed the way the blueconic android AAR is loaded (no longer via direct .AAR reference) (breaking change)
12
- - Added targetSdkVersion 31 (breaking change)
13
-
14
- ## [1.3.0] - 2022-11-22 (alpha)
15
- - Changed peerDependency for react-native to <1.0.0, to fix error with NPM v7 when an app uses a different version of react-native than this package.
16
- - This release was pulled from NPM, as it shouldn't be used without the changes made in 1.3.1
17
-
18
- ## [1.2.0] - 2021-21-6
19
-
20
- ### NOTE
21
- - Migration is required for the Dialogue feedback structure, see `Changed`
22
-
23
- ### Changed
24
- - The dialogue feedback to be equal in both platforms (iOS/ Android)
25
- - iOS dialogue feedback: Changed the typo `paramters` to `parameters`
26
- - Android dialogue feedback: Changed flat structure to interaction with parameters structure
27
- Following structure is used:
28
- ```
29
- {
30
- "id": "{Variant ID}",
31
- "name": "{Variant Name}",
32
- "dialogueId": "{Dialogue ID}",
33
- "dialogueName": "{Dialogue Name}",
34
- "positionId": "{Position ID}",
35
- "positionName": "{Position Name}",
36
- "pluginType": "ACTION",
37
- "type": "{Plugin ID}",
38
- "parameters": {
39
- // parameters specific to the variant
40
- // as an example:
41
- "content": [
42
- ""
43
- ],
44
- "height": [
45
- "150"
46
- ],
47
- "width": [
48
- "620"
49
- ]
50
- }
51
- }
52
- ```
53
-
54
- ## [1.1.1] - 2020-9-20
55
-
56
- ### Fixed
57
- - Package issues
58
- - Minor bugs
59
-
60
- ### Removed
61
- - The use of `UIViewController.init()`
62
-
63
- ## [1.1.0] - 2020-9-20
64
-
65
- ### Added
66
- - `Objective` methods
67
- - `registerPluginClass` methods
68
- - `setEnable` methods
69
- - Support for iOS and Android SDKs
70
-
71
- ### Fixed
72
- - Support for React Native 0.60+
73
-
74
- ## [1.0.1] - 2020-4-7
75
-
76
- ### Added
77
- - Improvements to the package
78
- - Support for both async and callback methods
79
-
80
- ## [1.0.0] - 2020-2-19
81
-
82
- ### Added
83
- - Initial release
84
- - Pods release
85
- - Change logging
86
- - README.md
87
-
88
-
1
+ # Changelog
2
+ All notable changes to this project will be documented in this file.
3
+ `@blueconic/blueconic-react-native` adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
4
+
5
+ ## [3.1.0] 2024-03-12
6
+
7
+ ### Added
8
+ - Privacy Manifest as required by Apple Privacy Guidelines.
9
+ - SDK Code signing.
10
+
11
+ ## [3.0.0] - 2024-02-29
12
+
13
+ ### Changed
14
+ - React: The plugin now uses specific Android and iOS native SDK versions to avoid issues with compatibility.
15
+ - React-Android: The native SDK is now imported via Gradle and does not need to be imported as a separate module.
16
+
17
+ ### Fixed
18
+ - React-iOS: Fixed build issue due to wrong version being used.
19
+ - React-Android: Fixed issue with failing to register plugin class during initialization of the plugin.
20
+ - React-Android: Fixed issue with Gradle building.
21
+
22
+ ## [2.0.0] - 2022-11-24
23
+
24
+ - Released 1.3.1 alpha as 2.0.0 latest, since it contains breaking changes.
25
+
26
+ ## [1.3.1] - 2022-11-22 (alpha)
27
+
28
+ - Changed the way the blueconic android AAR is loaded (no longer via direct .AAR reference) (breaking change)
29
+ - Added targetSdkVersion 31 (breaking change)
30
+
31
+ ## [1.3.0] - 2022-11-22 (alpha)
32
+ - Changed peerDependency for react-native to <1.0.0, to fix error with NPM v7 when an app uses a different version of react-native than this package.
33
+ - This release was pulled from NPM, as it shouldn't be used without the changes made in 1.3.1
34
+
35
+ ## [1.2.0] - 2021-21-6
36
+
37
+ ### NOTE
38
+ - Migration is required for the Dialogue feedback structure, see `Changed`
39
+
40
+ ### Changed
41
+ - The dialogue feedback to be equal in both platforms (iOS/ Android)
42
+ - iOS dialogue feedback: Changed the typo `paramters` to `parameters`
43
+ - Android dialogue feedback: Changed flat structure to interaction with parameters structure
44
+ Following structure is used:
45
+ ```
46
+ {
47
+ "id": "{Variant ID}",
48
+ "name": "{Variant Name}",
49
+ "dialogueId": "{Dialogue ID}",
50
+ "dialogueName": "{Dialogue Name}",
51
+ "positionId": "{Position ID}",
52
+ "positionName": "{Position Name}",
53
+ "pluginType": "ACTION",
54
+ "type": "{Plugin ID}",
55
+ "parameters": {
56
+ // parameters specific to the variant
57
+ // as an example:
58
+ "content": [
59
+ ""
60
+ ],
61
+ "height": [
62
+ "150"
63
+ ],
64
+ "width": [
65
+ "620"
66
+ ]
67
+ }
68
+ }
69
+ ```
70
+
71
+ ## [1.1.1] - 2020-9-20
72
+
73
+ ### Fixed
74
+ - Package issues
75
+ - Minor bugs
76
+
77
+ ### Removed
78
+ - The use of `UIViewController.init()`
79
+
80
+ ## [1.1.0] - 2020-9-20
81
+
82
+ ### Added
83
+ - `Objective` methods
84
+ - `registerPluginClass` methods
85
+ - `setEnable` methods
86
+ - Support for iOS and Android SDKs
87
+
88
+ ### Fixed
89
+ - Support for React Native 0.60+
90
+
91
+ ## [1.0.1] - 2020-4-7
92
+
93
+ ### Added
94
+ - Improvements to the package
95
+ - Support for both async and callback methods
96
+
97
+ ## [1.0.0] - 2020-2-19
98
+
99
+ ### Added
100
+ - Initial release
101
+ - Pods release
102
+ - Change logging
103
+ - README.md
104
+
105
+
package/LICENSE CHANGED
@@ -1,3 +1,3 @@
1
- Copyright 2014 BlueConic Inc./BlueConic B.V. All rights reserved.
2
-
3
- By using the BlueConic Service in any manner, including by embedding our code in any website, application or other product, service or software, or using our software development kit (“SDK”) or API on, or in connection with one or more of your “Channels” (meaning a communication domain which Customer can use to communicate online with its audience, including but not limited to a website, a mobile application, a social media account, or a portion of any of the foregoing), you unconditionally agree to be bound by our Terms which can be found here: www.blueconic.com/terms
1
+ Copyright 2014 BlueConic Inc./BlueConic B.V. All rights reserved.
2
+
3
+ By using the BlueConic Service in any manner, including by embedding our code in any website, application or other product, service or software, or using our software development kit (“SDK”) or API on, or in connection with one or more of your “Channels” (meaning a communication domain which Customer can use to communicate online with its audience, including but not limited to a website, a mobile application, a social media account, or a portion of any of the foregoing), you unconditionally agree to be bound by our Terms which can be found here: www.blueconic.com/terms