File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
src/main/java/com/instabug/reactlibrary Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,6 @@ android {
2121
2222dependencies {
2323 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 '
2525
2626}
Original file line number Diff line number Diff line change @@ -258,7 +258,8 @@ public void setAutoScreenRecordingEnabled(boolean autoScreenRecordingEnabled) {
258258 @ ReactMethod
259259 public void setAutoScreenRecordingMaxDuration (int autoScreenRecordingMaxDuration ) {
260260 try {
261- Instabug .setAutoScreenRecordingMaxDuration (autoScreenRecordingMaxDuration );
261+ int durationInMilli = autoScreenRecordingMaxDuration *1000 ;
262+ Instabug .setAutoScreenRecordingMaxDuration (durationInMilli );
262263 } catch (Exception e ) {
263264 e .printStackTrace ();
264265 }
Original file line number Diff line number Diff line change @@ -73,8 +73,8 @@ module.exports = {
7373 * Sets auto screen recording maximum duration
7474 *
7575 * @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
7878 */
7979 setAutoScreenRecordingMaxDuration : function ( autoScreenRecordingMaxDuration ) {
8080 Instabug . setAutoScreenRecordingMaxDuration ( autoScreenRecordingMaxDuration )
You can’t perform that action at this time.
0 commit comments