react-native-ux-cam 6.0.3 → 6.0.5
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
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
|
|
6
6
|
Version | Changes
|
|
7
7
|
------- | ----------
|
|
8
|
+
6.0.5 | Fix nullable not mapping properly on iOS on RN 0.78
|
|
9
|
+
6.0.4 | Updated iOS SDK to 3.6.22 and Android to 3.6.38
|
|
8
10
|
6.0.3 | Updated iOS SDK to 3.6.21 and Android to 3.6.37
|
|
9
11
|
6.0.2 | Updated iOS SDK to 3.6.20 and Android to 3.6.36
|
|
10
12
|
6.0.1 | Updated iOS SDK to 3.6.17 and Android to 3.6.33
|
package/RNUxcam.podspec
CHANGED
|
@@ -18,7 +18,7 @@ Pod::Spec.new do |s|
|
|
|
18
18
|
s.requires_arc = true
|
|
19
19
|
s.static_framework = true
|
|
20
20
|
|
|
21
|
-
s.dependency 'UXCam' , '~> 3.6.
|
|
21
|
+
s.dependency 'UXCam' , '~> 3.6.22'
|
|
22
22
|
|
|
23
23
|
if defined? install_modules_dependencies
|
|
24
24
|
# Default React Native dependencies for 0.71 and above (new and legacy architecture)
|
package/android/build.gradle
CHANGED
|
@@ -57,7 +57,7 @@ public class RNUxcamModuleImpl {
|
|
|
57
57
|
public static final String HIDE_GESTURES = "hideGestures";
|
|
58
58
|
|
|
59
59
|
private static final String UXCAM_PLUGIN_TYPE = "react-native";
|
|
60
|
-
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.
|
|
60
|
+
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.5";
|
|
61
61
|
|
|
62
62
|
private final ReactApplicationContext reactContext;
|
|
63
63
|
|
package/ios/RNUxcam/RNUxcam.mm
CHANGED
|
@@ -32,7 +32,7 @@ static NSString* const RNUxcam_HideGestures = @"hideGestures";
|
|
|
32
32
|
static NSString* const RNUxcam_OverlayColor = @"color";
|
|
33
33
|
|
|
34
34
|
static NSString* const RNUxcam_PluginType = @"react-native";
|
|
35
|
-
static NSString* const RNUxcam_PluginVersion = @"6.0.
|
|
35
|
+
static NSString* const RNUxcam_PluginVersion = @"6.0.5";
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
@interface RNUxcam ()
|
|
@@ -501,7 +501,7 @@ RCT_EXPORT_METHOD(tagScreenName:(NSString *)screenName)
|
|
|
501
501
|
[UXCam tagScreenName:screenName];
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
RCT_EXPORT_METHOD(logEvent:(NSString *)eventName properties:(
|
|
504
|
+
RCT_EXPORT_METHOD(logEvent:(NSString *)eventName properties:(NSDictionary<NSString *, id> * _Nullable)properties)
|
|
505
505
|
{
|
|
506
506
|
[UXCam logEvent:eventName withProperties:properties];
|
|
507
507
|
}
|
package/package.json
CHANGED
package/src/NativeRNUxcam.ts
CHANGED
|
@@ -35,7 +35,7 @@ export interface Spec extends TurboModule {
|
|
|
35
35
|
|
|
36
36
|
tagScreenName: (screenName: string) => void;
|
|
37
37
|
|
|
38
|
-
logEvent: (eventName: string, properties
|
|
38
|
+
logEvent: (eventName: string, properties: Object | null) => void;
|
|
39
39
|
setUserIdentity: (userIdentity: string) => void;
|
|
40
40
|
|
|
41
41
|
// Here value should be either number | string but as union types are not officially supported, we pass value as string
|
package/src/index.d.ts
CHANGED
|
@@ -117,7 +117,7 @@ export default class UXCam {
|
|
|
117
117
|
|
|
118
118
|
@note Only number and string property types are supported to a maximum count of 100 and maximum size per entry of 1KiB
|
|
119
119
|
*/
|
|
120
|
-
static logEvent: (eventName: string, properties
|
|
120
|
+
static logEvent: (eventName: string, properties: Object | null) => void
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
UXCam verification listener that returns success/failure status. TRUE status means the session was successfully verified and started.
|