Automatic pairing with my own app
I have an app which uses flic button to make some actions. I can achieve pair my flic button and can use normally in my app triggering this actions.
But when I close my app and launches again I have to make again the pairing of the button.
Is there a way to automatically pair flic button when available?
Thanks in advance
@luis-reja Could you post the code you are using?
Basically, you should just be able to use the method on FlicManager that gets all known buttons (i.e. grabbed buttons) and then set an event listener.
We are using both, Android and IOs.
I dont want to launch my app via flic tap. What I want is when the app is open and in foreground grab the flic by itself and start to catch the events.
I can hear the sound when i click on flic (device and flic are paired), but my app does not catch this event until I go to the flic grabber.
There is a way to achieve this?
Hi. What platform are you using?
If you follow the tutorial you should not need to re-pair.
Actually if you have registered your button for click events your app should be automatically started again, delivering the event.