I have a react native app. I want to pop-up a notification to user when he is in the car.I could use react-native-activity-recognition package, but the problem is, that it will notify only when the user already started the driving. I need it to happen before.
Therefore, I believe my solution is in BT detection or some other "hands-free" mode state. I found this package: react-native-car-connect. The problem is that it doesn't seem to support android at this point.
Then I thought maybe use this package: react-native-headphone-detection, from what I understood it works only in foreground, also I don't want to popup the notifications for every BT connection, but for the car.
Is it even possible what I am looking for? If it does, maybe I should look into another direction?
Thanks