Automatic pairing with my own app



  • Hello there,

    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


  • FlicTeam

    @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.



  • Hi Emil,

    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?

    Thank you


  • FlicTeam

    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.


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.