mirror of
https://github.com/status-im/instabug-reactnative.git
synced 2025-03-03 14:40:54 +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.
|
* @param {number} androidThreshold Threshold for android devices.
|
||||||
*/
|
*/
|
||||||
@ReactMethod
|
@ReactMethod
|
||||||
public void setShakingThresholdForAndroid(androidThreshold) {
|
public void setShakingThresholdForAndroid(int androidThreshold) {
|
||||||
try {
|
try {
|
||||||
mInstabug.setShakingThreshold(androidThreshold);
|
mInstabug.setShakingThreshold(androidThreshold);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user