I'm getting this error:
RNLANScan.fetchInfo got 0 arguments, expected 1
invoke
BaseJavaModule.java:290
call
NativeModuleRegistry.java:187
call
NativeModuleRegistry.java:62
call
CatalystInstanceImpl.java:432
run
NativeRunnableDeprecated.java:-2
handleCallback
Handler.java:739
dispatchMessage
Handler.java:95
dispatchMessage
MessageQueueThreadHandler.java:31
loop
Looper.java:148
run
MessageQueueThreadImpl.java:196
run
Thread.java:818
The error is here:
You can see that the method has one arg here:
|
public void fetchInfo(boolean force) { |
I'm getting this error:
RNLANScan.fetchInfo got 0 arguments, expected 1 invoke BaseJavaModule.java:290 call NativeModuleRegistry.java:187 call NativeModuleRegistry.java:62 call CatalystInstanceImpl.java:432 run NativeRunnableDeprecated.java:-2 handleCallback Handler.java:739 dispatchMessage Handler.java:95 dispatchMessage MessageQueueThreadHandler.java:31 loop Looper.java:148 run MessageQueueThreadImpl.java:196 run Thread.java:818The error is here:
react-native-lanscan/main.js
Line 105 in f9185b6
You can see that the method has one arg here:
react-native-lanscan/android/src/main/java/com/odinvt/lanscan/LANScanModule.java
Line 79 in f9185b6