mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-02 14:10:40 +00:00
Fix setShakingThreshold parameter api
This commit is contained in:
parent
62ec3f18bd
commit
15bca21d05
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user