pszklarska / beacon_broadcast

A Flutter plugin for turning your device into a beacon.
https://pub.dartlang.org/packages/beacon_broadcast/
MIT License
81 stars 34 forks source link

Identifier seems to be required on iOS #32

Open glemartret opened 2 years ago

glemartret commented 2 years ago

Running the sample app on iOS resulted in a crash, I added setIdentifier and there is no more crash.

The logs for the crash :

flutter: Supported
Could not cast value of type 'NSNull' (0x1da937500) to 'NSString' (0x1da934ca0).
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGABRT
    frame #0: 0x00000001b7f04b98 libsystem_kernel.dylib`__pthread_kill + 8
libsystem_kernel.dylib`__pthread_kill:
->  0x1b7f04b98 <+8>:  b.lo   0x1b7f04bb8               ; <+40>
    0x1b7f04b9c <+12>: pacibsp
    0x1b7f04ba0 <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1b7f04ba4 <+20>: mov    x29, sp
Target 0: (Runner) stopped.
Jackson-Antunes-Sampaio commented 2 years ago

same problem here

anirudhsharma392 commented 1 year ago

Getting same error, Any update on this ?