Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. info 6
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 11
    • Posts 17
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by info 6

    • info 6

      Problem pairing Flic2 with Android 11 TVBox
      Developers • • info 6

      2
      0
      Votes
      2
      Posts
      329
      Views

      info 6

      Forgot to say:
      I installed the Flic App on the TvBox.
      Beside the fact that it runs sideway (like if the TV set was a phone) when I try to add aFlic button, it ask for location permission (correctely):
      "You location services are turned off.Android requires location services to be turned on to scan for Bluetooth devices."
      "Please tunr on Location services and try again"
      When you press to confirm it opens the OS setting for Location (correct) where, being a TvBox, there is only the choice "Use Wi-Fi to estimate location" or "off".
      Chosing the first, does not solves the problem. The OS reports still that "no apps have requested location recently"

    • info 6

      Error code list? What is error code 7?
      Developers • • info 6

      1
      0
      Votes
      1
      Posts
      471
      Views

      No one has replied

    • info 6

      Error code 1 on scan
      Developers • • info 6

      3
      0
      Votes
      3
      Posts
      651
      Views

      anton

      @anton said in Error code 1 on scan:

      @info-6 All flic2lib.buttonscanner error codes are documented here: https://github.com/50ButtonsEach/flic2lib-ios/wiki/Documentation#flicbuttonscannererrorcode

      error 1 appears to be "The scan could not be started since bluetooth was not in the powered on state."

      Also keep in mind that the state will not be "in the powered on state" if you have forgotten to request for bluetooth permissions in your app, or if the user has rejected the request.

    • info 6

      Using the Flic App with Flic1 buttons
      General Discussion • • info 6

      2
      0
      Votes
      2
      Posts
      286
      Views

      Emil

      The as of now very old app doesn't work anymore, due to a certificate that has expired. Please use the latest app, that unfortunately isn't compatible with such an old iOS version.

    • info 6

      Flic2 adhesive makes it difficult to use the metal clip
      General Discussion • • info 6

      1
      0
      Votes
      1
      Posts
      198
      Views

      No one has replied

    • info 6

      Android asks location authorisation
      Developers • • info 6

      2
      0
      Votes
      2
      Posts
      327
      Views

      Emil

      Please read https://developer.android.com/guide/topics/connectivity/bluetooth#Permissions:

      The other permission that you must declare is ACCESS_FINE_LOCATION. Your app needs this permission because a Bluetooth scan can be used to gather information about the location of the user. This information may come from the user's own devices, as well as Bluetooth beacons in use at locations such as shops and transit facilities.

    • info 6

      Detecting on Android if the OS bluetooth is on or off
      Developers • • info 6

      2
      0
      Votes
      2
      Posts
      318
      Views

      Emil

      Hi, just use this method: https://developer.android.com/reference/android/bluetooth/BluetoothAdapter#isEnabled(). Or use https://developer.android.com/reference/android/bluetooth/BluetoothAdapter#ACTION_STATE_CHANGED to listen to state changes.

    • info 6

      How to save batteries on Flic2
      Developers • • info 6

      1
      0
      Votes
      1
      Posts
      265
      Views

      No one has replied

    • info 6

      On iOS, disconnecting a button works but without messages.
      Developers • • info 6

      4
      0
      Votes
      4
      Posts
      480
      Views

      anton

      Strange. I tested it just now on iOS 13.3.1 and it works.

      Calling:

      [button disconnect];

      Causes:

      - (void)button:(FLICButton *)button didDisconnectWithError:(NSError *)error;

      And you are sure that the delegates are set properly and that you are not accidentally calling on a nil-object or something?

    • info 6

      Flic2 not connecting on iOS 9.3 (iPAD3)
      General Discussion • • info 6

      1
      0
      Votes
      1
      Posts
      202
      Views

      No one has replied

    • info 6

      New SDK
      Developers • • info 6

      6
      0
      Votes
      6
      Posts
      1104
      Views

      Emil

      @little_master They have already been released at https://github.com/50ButtonsEach (Android, iOS, Linux currently).