react-native-ux-cam 6.0.14 → 6.0.16
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.16 | Updated iOS SDK to 3.8.1 and Android to 3.10.0
|
|
9
|
+
6.0.15 | Updated iOS SDK to 3.7.12 and Android to 3.9.0
|
|
8
10
|
6.0.14 | Updated iOS SDK to 3.7.11 and Android to 3.8.14
|
|
9
11
|
6.0.13 | Updated iOS SDK to 3.7.10 and Android to 3.8.13
|
|
10
12
|
6.0.12 | Updated iOS SDK to 3.7.9 and Android to 3.8.12
|
package/README.md
CHANGED
|
@@ -14,7 +14,7 @@ For iOS, you will need to update pod as well:
|
|
|
14
14
|
## Usage
|
|
15
15
|
```javascript
|
|
16
16
|
import RNUxcam from 'react-native-ux-cam';
|
|
17
|
-
RNUxcam.
|
|
17
|
+
RNUxcam.optIntoVideoRecording(); // Add this line to enable screen recordings
|
|
18
18
|
const configuration = {
|
|
19
19
|
userAppKey: 'YOUR API KEY',
|
|
20
20
|
/*
|
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.
|
|
21
|
+
s.dependency 'UXCam' , '~> 3.8.1'
|
|
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
|
@@ -62,15 +62,12 @@ rootProject.allprojects {
|
|
|
62
62
|
repositories {
|
|
63
63
|
google()
|
|
64
64
|
mavenCentral()
|
|
65
|
-
maven {
|
|
66
|
-
url 'https://sdk.uxcam.com/android/'
|
|
67
|
-
}
|
|
68
65
|
}
|
|
69
66
|
}
|
|
70
67
|
|
|
71
68
|
dependencies {
|
|
72
69
|
implementation("com.facebook.react:react-android")
|
|
73
|
-
implementation 'com.uxcam:uxcam:3.
|
|
70
|
+
implementation 'com.uxcam:uxcam:3.10.0'
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
if (isNewArchitectureEnabled()) {
|
|
@@ -58,7 +58,7 @@ public class RNUxcamModuleImpl {
|
|
|
58
58
|
public static final String HIDE_GESTURES = "hideGestures";
|
|
59
59
|
|
|
60
60
|
private static final String UXCAM_PLUGIN_TYPE = "react-native";
|
|
61
|
-
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.
|
|
61
|
+
private static final String UXCAM_REACT_PLUGIN_VERSION = "6.0.16";
|
|
62
62
|
|
|
63
63
|
private final ReactApplicationContext reactContext;
|
|
64
64
|
|
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.16";
|
|
36
36
|
|
|
37
37
|
|
|
38
38
|
@interface RNUxcam ()
|
|
@@ -373,33 +373,32 @@ RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(NSNumber *, optInOverallStatus)
|
|
|
373
373
|
|
|
374
374
|
RCT_EXPORT_METHOD(optIntoSchematicRecordings)
|
|
375
375
|
{
|
|
376
|
-
[UXCam
|
|
376
|
+
[UXCam optIntoVideoRecordings];
|
|
377
377
|
}
|
|
378
378
|
|
|
379
379
|
RCT_EXPORT_METHOD(optOutOfSchematicRecordings)
|
|
380
380
|
{
|
|
381
|
-
[UXCam
|
|
381
|
+
[UXCam optOutOfVideoRecordings];
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(NSNumber *, optInSchematicRecordingStatus)
|
|
385
385
|
{
|
|
386
|
-
return @(UXCam.
|
|
386
|
+
return @(UXCam.optInVideoRecordingStatus);
|
|
387
387
|
}
|
|
388
388
|
|
|
389
389
|
RCT_EXPORT_METHOD(optIntoVideoRecording)
|
|
390
390
|
{
|
|
391
|
-
|
|
392
|
-
[UXCam optIntoSchematicRecordings];
|
|
391
|
+
[UXCam optIntoVideoRecordings];
|
|
393
392
|
}
|
|
394
393
|
|
|
395
|
-
RCT_EXPORT_METHOD(
|
|
394
|
+
RCT_EXPORT_METHOD(optOutOfVideoRecordings)
|
|
396
395
|
{
|
|
397
|
-
[UXCam
|
|
396
|
+
[UXCam optOutOfVideoRecordings];
|
|
398
397
|
}
|
|
399
398
|
|
|
400
399
|
RCT_EXPORT_SYNCHRONOUS_TYPED_METHOD(NSNumber *, optInVideoRecordingStatus)
|
|
401
400
|
{
|
|
402
|
-
return @(UXCam.
|
|
401
|
+
return @(UXCam.optInVideoRecordingStatus);
|
|
403
402
|
}
|
|
404
403
|
|
|
405
404
|
RCT_EXPORT_METHOD(startNewSession)
|
package/package.json
CHANGED
package/src/index.d.ts
CHANGED
|
@@ -149,6 +149,7 @@ export default class UXCam {
|
|
|
149
149
|
static optOutOverall: () => void;
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
|
+
* @deprecated Use {@link #optOutOfVideoRecording()} instead to opt this device out of recordings
|
|
152
153
|
* This will opt this device out of schematic recordings for future sessions
|
|
153
154
|
* - any current session will be stopped and restarted with the last settings passed to `startWithKey`
|
|
154
155
|
*/
|
|
@@ -161,6 +162,7 @@ export default class UXCam {
|
|
|
161
162
|
static optInOverall: () => void;
|
|
162
163
|
|
|
163
164
|
/**
|
|
165
|
+
* @deprecated Use {@link #optIntoVideoRecording()} instead to opt this device back into session recordings
|
|
164
166
|
* This will opt this device back into session recordings
|
|
165
167
|
*/
|
|
166
168
|
static optIntoSchematicRecordings: () => void;
|
|
@@ -171,7 +173,9 @@ export default class UXCam {
|
|
|
171
173
|
*/
|
|
172
174
|
static optInOverallStatus: () => boolean;
|
|
173
175
|
|
|
174
|
-
/**
|
|
176
|
+
/**
|
|
177
|
+
* @deprecated Use {@link #optInVideoRecordingStatus()} instead to get the current video recording status
|
|
178
|
+
* Returns the opt-in status of this device for schematic recordings
|
|
175
179
|
* @returns `true` if the device is opted in to schematic recordings, `false` otherwise. The default is `false`.
|
|
176
180
|
* @note Use in conjunction with optInOverallStatus to control the overall recording status for the device
|
|
177
181
|
*/
|