File tree 3 files changed +5
-4
lines changed
src/main/java/com/instabug/reactlibrary
3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ android {
21
21
22
22
dependencies {
23
23
compile ' com.facebook.react:react-native:0.20.+'
24
- compile ' com.instabug.library:instabug:4.10.0 '
24
+ compile ' com.instabug.library:instabug:4.10.1 '
25
25
26
26
}
Original file line number Diff line number Diff line change @@ -258,7 +258,8 @@ public void setAutoScreenRecordingEnabled(boolean autoScreenRecordingEnabled) {
258
258
@ ReactMethod
259
259
public void setAutoScreenRecordingMaxDuration (int autoScreenRecordingMaxDuration ) {
260
260
try {
261
- Instabug .setAutoScreenRecordingMaxDuration (autoScreenRecordingMaxDuration );
261
+ int durationInMilli = autoScreenRecordingMaxDuration *1000 ;
262
+ Instabug .setAutoScreenRecordingMaxDuration (durationInMilli );
262
263
} catch (Exception e ) {
263
264
e .printStackTrace ();
264
265
}
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ module.exports = {
73
73
* Sets auto screen recording maximum duration
74
74
*
75
75
* @param autoScreenRecordingMaxDuration maximum duration of the screen recording video
76
- * in milliseconds
77
- * The maximum duration is 30000 milliseconds
76
+ * in seconds
77
+ * The maximum duration is 30 seconds
78
78
*/
79
79
setAutoScreenRecordingMaxDuration : function ( autoScreenRecordingMaxDuration ) {
80
80
Instabug . setAutoScreenRecordingMaxDuration ( autoScreenRecordingMaxDuration )
You can’t perform that action at this time.
0 commit comments