umair13adil / simple_beacons_flutter

A flutter plugin project to range & monitor iBeacons.
Apache License 2.0
35 stars 42 forks source link

iOS allow monitoring beacon using just UUID #6

Closed dariocavada closed 4 years ago

dariocavada commented 4 years ago

As for android it would be useful to filter the beacons only with uuid and not necessarily having to pass minor, major, name. I checked the code, but didn't find this capability.

Instead of this:

      BeaconsPlugin.addRegionForIOS(
              "01022022-f88f-0000-00ae-9605fd9bb620", 1, 1, "BeaconName")
          .then((result) {
        print(result);
      });

Something like:

      BeaconsPlugin.addRegionForIOS(
              "01022022-f88f-0000-00ae-9605fd9bb620", null, null, null)
          .then((result) {
        print(result);
      });

Or just:

      BeaconsPlugin.addRegionForIOS(
              "01022022-f88f-0000-00ae-9605fd9bb620")
          .then((result) {
        print(result);
      });

Thank you.

umair13adil commented 4 years ago

Hi,

Thank you for your feedback, this will be taken care of in next release soon.

Med venlig hilsen / Kind regards

Muhammad Umair Adil, Sr. Software Engineer

On 29-Apr-2020, at 3:18 PM, dariocavada notifications@github.com wrote:

As for android it would be useful to filter the beacons only with uuid and not necessarily having to pass minor, major, name. I checked the code, but didn't find this capability.

Instead of this:

  BeaconsPlugin.addRegionForIOS(
          "01022022-f88f-0000-00ae-9605fd9bb620", 1, 1, "BeaconName")
      .then((result) {
    print(result);
  });

Something like:

  BeaconsPlugin.addRegionForIOS(
          "01022022-f88f-0000-00ae-9605fd9bb620", null, null, null)
      .then((result) {
    print(result);
  });

Or just:

  BeaconsPlugin.addRegionForIOS(
          "01022022-f88f-0000-00ae-9605fd9bb620")
      .then((result) {
    print(result);
  });

Thank you.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/umair13adil/simple_beacons_flutter/issues/6, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB5P7RBSXTZCVE3LBVM7W2LRO75IPANCNFSM4MTS5N2A.