@blueconic/blueconic-react-native 1.2.0 → 1.3.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.
Files changed (28) hide show
  1. package/BlueConicReactNative.podspec +23 -23
  2. package/CHANGELOG.md +80 -75
  3. package/LICENSE +3 -3
  4. package/README.md +476 -511
  5. package/android/build.gradle +42 -41
  6. package/android/gradle/wrapper/gradle-wrapper.properties +6 -6
  7. package/android/gradlew +172 -172
  8. package/android/local.properties +8 -8
  9. package/android/src/main/AndroidManifest.xml +5 -5
  10. package/android/src/main/java/com/blueconic/blueconicreactnative/BlueConicClientModule.java +870 -857
  11. package/android/src/main/java/com/blueconic/blueconicreactnative/BlueConicClientModuleHelper.java +17 -17
  12. package/android/src/main/java/com/blueconic/blueconicreactnative/BlueConicClientPackage.java +29 -29
  13. package/android/src/main/java/com/blueconic/blueconicreactnative/BlueConicInteraction.java +68 -68
  14. package/index.js +6 -6
  15. package/ios/BlueConicClient-Bridging-Header.h +6 -6
  16. package/ios/BlueConicClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -7
  17. package/ios/BlueConicClient.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
  18. package/ios/BlueConicClient.xcodeproj/xcuserdata/youri.xcuserdatad/xcschemes/xcschememanagement.plist +14 -14
  19. package/ios/BlueConicClientModule.m +74 -72
  20. package/ios/BlueConicClientModule.swift +516 -506
  21. package/ios/BlueConicInteraction.swift +63 -63
  22. package/package.json +18 -18
  23. package/android/.idea/gradle.xml +0 -17
  24. package/android/.idea/misc.xml +0 -9
  25. package/android/.idea/modules/android.iml +0 -18
  26. package/android/.idea/modules.xml +0 -8
  27. package/android/.idea/vcs.xml +0 -6
  28. package/android/.idea/workspace.xml +0 -57
@@ -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, "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'
24
24
  end
package/CHANGELOG.md CHANGED
@@ -1,75 +1,80 @@
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
- ## [1.2.0] - 2021-21-6
6
-
7
- ### NOTE
8
- - Migration is required for the Dialogue feedback structure, see `Changed`
9
-
10
- ### Changed
11
- - The dialogue feedback to be equal in both platforms (iOS/ Android)
12
- - iOS dialogue feedback: Changed the typo `paramters` to `parameters`
13
- - Android dialogue feedback: Changed flat structure to interaction with parameters structure
14
- Following structure is used:
15
- ```
16
- {
17
- "id": "{Variant ID}",
18
- "name": "{Variant Name}",
19
- "dialogueId": "{Dialogue ID}",
20
- "dialogueName": "{Dialogue Name}",
21
- "positionId": "{Position ID}",
22
- "positionName": "{Position Name}",
23
- "pluginType": "ACTION",
24
- "type": "{Plugin ID}",
25
- "parameters": {
26
- // parameters specific to the variant
27
- // as an example:
28
- "content": [
29
- ""
30
- ],
31
- "height": [
32
- "150"
33
- ],
34
- "width": [
35
- "620"
36
- ]
37
- }
38
- }
39
- ```
40
-
41
- ## [1.1.1] - 2020-9-20
42
-
43
- ### Fixed
44
- - Package issues
45
- - Minor bugs
46
-
47
- ### Removed
48
- - The use of `UIViewController.init()`
49
-
50
- ## [1.1.0] - 2020-9-20
51
-
52
- ### Added
53
- - `Objective` methods
54
- - `registerPluginClass` methods
55
- - `setEnable` methods
56
- - Support for iOS and Android SDKs
57
-
58
- ### Fixed
59
- - Support for React Native 0.60+
60
-
61
- ## [1.0.1] - 2020-4-7
62
-
63
- ### Added
64
- - Improvements to the package
65
- - Support for both async and callback methods
66
-
67
- ## [1.0.0] - 2020-2-19
68
-
69
- ### Added
70
- - Initial release
71
- - Pods release
72
- - Change logging
73
- - README.md
74
-
75
-
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
+ ## [1.3.1] - 2022-11-22
6
+
7
+ - 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.
8
+ - Changed the way the blueconic android AAR is loaded (no longer via direct .AAR reference)
9
+
10
+ ## [1.2.0] - 2021-21-6
11
+
12
+ ### NOTE
13
+ - Migration is required for the Dialogue feedback structure, see `Changed`
14
+
15
+ ### Changed
16
+ - The dialogue feedback to be equal in both platforms (iOS/ Android)
17
+ - iOS dialogue feedback: Changed the typo `paramters` to `parameters`
18
+ - Android dialogue feedback: Changed flat structure to interaction with parameters structure
19
+ Following structure is used:
20
+ ```
21
+ {
22
+ "id": "{Variant ID}",
23
+ "name": "{Variant Name}",
24
+ "dialogueId": "{Dialogue ID}",
25
+ "dialogueName": "{Dialogue Name}",
26
+ "positionId": "{Position ID}",
27
+ "positionName": "{Position Name}",
28
+ "pluginType": "ACTION",
29
+ "type": "{Plugin ID}",
30
+ "parameters": {
31
+ // parameters specific to the variant
32
+ // as an example:
33
+ "content": [
34
+ ""
35
+ ],
36
+ "height": [
37
+ "150"
38
+ ],
39
+ "width": [
40
+ "620"
41
+ ]
42
+ }
43
+ }
44
+ ```
45
+
46
+ ## [1.1.1] - 2020-9-20
47
+
48
+ ### Fixed
49
+ - Package issues
50
+ - Minor bugs
51
+
52
+ ### Removed
53
+ - The use of `UIViewController.init()`
54
+
55
+ ## [1.1.0] - 2020-9-20
56
+
57
+ ### Added
58
+ - `Objective` methods
59
+ - `registerPluginClass` methods
60
+ - `setEnable` methods
61
+ - Support for iOS and Android SDKs
62
+
63
+ ### Fixed
64
+ - Support for React Native 0.60+
65
+
66
+ ## [1.0.1] - 2020-4-7
67
+
68
+ ### Added
69
+ - Improvements to the package
70
+ - Support for both async and callback methods
71
+
72
+ ## [1.0.0] - 2020-2-19
73
+
74
+ ### Added
75
+ - Initial release
76
+ - Pods release
77
+ - Change logging
78
+ - README.md
79
+
80
+
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