Reading iBeacon on iOS

LiveCode Builder is a language for extending LiveCode's capabilities, creating new object types as Widgets, and libraries that access lower-level APIs in OSes, applications, and DLLs.

Moderators: LCMark, LCfraser

Post Reply
trevix
Posts: 1074
Joined: Sat Feb 24, 2007 11:25 pm
Contact:

Reading iBeacon on iOS

Post by trevix » Mon Aug 04, 2025 5:40 pm

Hello (anybody there?)

I was tempted, with my limited knowledge, to create a LCB extension using Claude Code, in order to get iBeacon messages (proximity and triggers) on iOS.
While I had a good results with Android, the iOS version proved to be really though.

Lately I am running cicles with CC, to the point where:
1. CLLocationManager Delegates ❌ - Parameter type conformance issues
2. C Wrapper Functions ❌ - Cannot find linked C functions
3. Objective-C Framework Bindings ❌ - Cannot load framework classes
(PS: according to to CC)

The CC suggest that LiveCode Builder appears to be fundamentally incompatible with real-time iBeacon detection in iOS due to its limitations with:
- iOS delegate callback performance requirements
- External framework integration
- Native code binding complexity
CC last suggested solutions are (uh?)
1. A separate native iOS app that handles iBeacon detection and communicates with LiveCode via URL schemes or shared files (how bad is this...)
2. Using LiveCode's built-in Bluetooth functions (if any exist). The only I know is Monte's mergBle, but it is HID and is not open to exploration.
3. Accepting that this may not be technically feasible in LiveCode Builder

What do you think? Anyone has some suggestion on this?
Thanks
Trevix
OSX 14.6.1 xCode 15 LC 10 RC1 iOS 15> Android 7>

Post Reply