@blueconic/blueconic-react-native 1.3.1 → 3.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/BlueConicReactNative.podspec +23 -23
- package/CHANGELOG.md +99 -80
- package/LICENSE +3 -3
- package/README.md +484 -476
- package/android/build.gradle +40 -42
- package/android/gradle.properties +9 -0
- package/android/src/main/AndroidManifest.xml +4 -5
- package/android/src/main/java/com/blueconic/{blueconicreactnative → reactnative}/BlueConicClientModule.java +918 -870
- package/android/src/main/java/com/blueconic/{blueconicreactnative → reactnative}/BlueConicClientModuleHelper.java +17 -17
- package/android/src/main/java/com/blueconic/{blueconicreactnative → reactnative}/BlueConicClientPackage.java +29 -29
- package/android/src/main/java/com/blueconic/{blueconicreactnative → reactnative}/BlueConicInteraction.java +67 -68
- package/index.js +6 -6
- package/ios/BlueConicClient-Bridging-Header.h +6 -6
- package/ios/BlueConicClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata +7 -7
- package/ios/BlueConicClient.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -8
- package/ios/BlueConicClientModule.m +79 -74
- package/ios/BlueConicClientModule.swift +545 -516
- package/ios/BlueConicInteraction.swift +63 -63
- package/package.json +35 -18
- package/.gitattributes +0 -1
- package/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/android/gradle/wrapper/gradle-wrapper.properties +0 -6
- package/android/gradlew +0 -172
- package/android/gradlew.bat +0 -84
- package/android/local.properties +0 -8
- package/ios/BlueConicClient.xcodeproj/project.xcworkspace/xcuserdata/youri.xcuserdatad/UserInterfaceState.xcuserstate +0 -0
- 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, "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', package['nativeDependencies']['ios']
|
|
23
|
+
s.dependency 'React'
|
|
24
24
|
end
|
package/CHANGELOG.md
CHANGED
|
@@ -1,80 +1,99 @@
|
|
|
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
|
-
## [
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
|
|
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
|
+
## [3.0.0] - 2024-02-29
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
- React: The plugin now uses specific Android and iOS native SDK versions to avoid issues with compatibility.
|
|
9
|
+
- React-Android: The native SDK is now imported via Gradle and does not need to be imported as a separate module.
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
- React-iOS: Fixed build issue due to wrong version being used.
|
|
13
|
+
- React-Android: Fixed issue with failing to register plugin class during initialization of the plugin.
|
|
14
|
+
- React-Android: Fixed issue with Gradle building.
|
|
15
|
+
|
|
16
|
+
## [2.0.0] - 2022-11-24
|
|
17
|
+
|
|
18
|
+
- Released 1.3.1 alpha as 2.0.0 latest, since it contains breaking changes.
|
|
19
|
+
|
|
20
|
+
## [1.3.1] - 2022-11-22 (alpha)
|
|
21
|
+
|
|
22
|
+
- Changed the way the blueconic android AAR is loaded (no longer via direct .AAR reference) (breaking change)
|
|
23
|
+
- Added targetSdkVersion 31 (breaking change)
|
|
24
|
+
|
|
25
|
+
## [1.3.0] - 2022-11-22 (alpha)
|
|
26
|
+
- 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.
|
|
27
|
+
- This release was pulled from NPM, as it shouldn't be used without the changes made in 1.3.1
|
|
28
|
+
|
|
29
|
+
## [1.2.0] - 2021-21-6
|
|
30
|
+
|
|
31
|
+
### NOTE
|
|
32
|
+
- Migration is required for the Dialogue feedback structure, see `Changed`
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
- The dialogue feedback to be equal in both platforms (iOS/ Android)
|
|
36
|
+
- iOS dialogue feedback: Changed the typo `paramters` to `parameters`
|
|
37
|
+
- Android dialogue feedback: Changed flat structure to interaction with parameters structure
|
|
38
|
+
Following structure is used:
|
|
39
|
+
```
|
|
40
|
+
{
|
|
41
|
+
"id": "{Variant ID}",
|
|
42
|
+
"name": "{Variant Name}",
|
|
43
|
+
"dialogueId": "{Dialogue ID}",
|
|
44
|
+
"dialogueName": "{Dialogue Name}",
|
|
45
|
+
"positionId": "{Position ID}",
|
|
46
|
+
"positionName": "{Position Name}",
|
|
47
|
+
"pluginType": "ACTION",
|
|
48
|
+
"type": "{Plugin ID}",
|
|
49
|
+
"parameters": {
|
|
50
|
+
// parameters specific to the variant
|
|
51
|
+
// as an example:
|
|
52
|
+
"content": [
|
|
53
|
+
""
|
|
54
|
+
],
|
|
55
|
+
"height": [
|
|
56
|
+
"150"
|
|
57
|
+
],
|
|
58
|
+
"width": [
|
|
59
|
+
"620"
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## [1.1.1] - 2020-9-20
|
|
66
|
+
|
|
67
|
+
### Fixed
|
|
68
|
+
- Package issues
|
|
69
|
+
- Minor bugs
|
|
70
|
+
|
|
71
|
+
### Removed
|
|
72
|
+
- The use of `UIViewController.init()`
|
|
73
|
+
|
|
74
|
+
## [1.1.0] - 2020-9-20
|
|
75
|
+
|
|
76
|
+
### Added
|
|
77
|
+
- `Objective` methods
|
|
78
|
+
- `registerPluginClass` methods
|
|
79
|
+
- `setEnable` methods
|
|
80
|
+
- Support for iOS and Android SDKs
|
|
81
|
+
|
|
82
|
+
### Fixed
|
|
83
|
+
- Support for React Native 0.60+
|
|
84
|
+
|
|
85
|
+
## [1.0.1] - 2020-4-7
|
|
86
|
+
|
|
87
|
+
### Added
|
|
88
|
+
- Improvements to the package
|
|
89
|
+
- Support for both async and callback methods
|
|
90
|
+
|
|
91
|
+
## [1.0.0] - 2020-2-19
|
|
92
|
+
|
|
93
|
+
### Added
|
|
94
|
+
- Initial release
|
|
95
|
+
- Pods release
|
|
96
|
+
- Change logging
|
|
97
|
+
- README.md
|
|
98
|
+
|
|
99
|
+
|
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
|