Fix setShakingThreshold parameter api

This commit is contained in:
DevHossamHassan 2017-06-27 16:19:51 +02:00
parent 62ec3f18bd
commit 15bca21d05

View File

@ -1067,7 +1067,7 @@ public class RNInstabugReactnativeModule extends ReactContextBaseJavaModule {
* @param {number} androidThreshold Threshold for android devices.
*/
@ReactMethod
public void setShakingThresholdForAndroid(androidThreshold) {
public void setShakingThresholdForAndroid(int androidThreshold) {
try {
mInstabug.setShakingThreshold(androidThreshold);
} catch (Exception e) {