loup-v / beacons

Flutter beacons plugin for Android and iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BeaconRegionIBeacon at ranging: Unable to parse Identifier.

lchinke opened this issue · comments

Hi

I am trying to pass a BeaconRegionIBeacon through the ranging() method but when i pass the major and minor as Int, ranging breaks with the message (Unable to parse Identifier.) and shows me that the minor and major, previously set as int, have been converted to double.

I am actually trying to fix this issue, but if anyone can help me I would appreciate it.

Change it to string. It works fine in his example
in the lib/data/beacon_region.dart

in the BeaconRegionIBeacon

class BeaconRegionIBeacon extends BeaconRegion {
  BeaconRegionIBeacon({
    @required String identifier,
    @required String proximityUUID,
    String major,
    String minor,
  })