Skip to content

Commit 15bca21

Browse files
Fix setShakingThreshold parameter api
1 parent 62ec3f1 commit 15bca21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

android/src/main/java/com/instabug/reactlibrary/RNInstabugReactnativeModule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@ public void clearFileAttachment() {
10671067
* @param {number} androidThreshold Threshold for android devices.
10681068
*/
10691069
@ReactMethod
1070-
public void setShakingThresholdForAndroid(androidThreshold) {
1070+
public void setShakingThresholdForAndroid(int androidThreshold) {
10711071
try {
10721072
mInstabug.setShakingThreshold(androidThreshold);
10731073
} catch (Exception e) {

0 commit comments

Comments
 (0)