-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Activity triggering using react-native-bluetooth-serial #99
Comments
this should give you a hint |
Thank you very much for the hint, however, my case requires me to utilize the BluetoothSerial.discoverUnpairedDevices() to scan for available unpaired devices and when a determined bluetooth id say AA:BB:CC:DD:EE:FF is scanned, the function would automatically trigger a different activity/screen |
This is what I have come out so far but the activity never triggered despite the fact that the bluetooth signal exist:
} ` |
The 'this.state.DEVICE_ID' is where the target device's device id is kept |
Is it possible to trigger a navigation to a different activity/screen after detecting a specified bluetooth id? and how? I have been trying to make it happen but weren't successful
The text was updated successfully, but these errors were encountered: