Open lchinke opened 5 years ago
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,
})
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.