AltBeacon / android-beacon-library

Allows Android apps to interact with BLE beacons
Apache License 2.0
2.83k stars 834 forks source link

Can we use this with tauri mobile? #1188

Closed egeres closed 2 months ago

egeres commented 2 months ago

Tauri is a framework to build desktop applications with many interesting advantages over electron (mainly, it uses rust as a backend language and a more lightweight frontend). After years of works, the developers have made their way into application development with the same technology stack but bundled as an application https://beta.tauri.app/blog/tauri-2-0-0-beta. This could be a replacement for react native in the future, as of today It's still on beta

I'm not entirely familiar on how to link or use android libraries in other development environments like for example react native. Would we need to recompile this library in a special way? Are there limitations in the way this package has been built?

(I'm sorry if I sound vague, I'm a bit lost on this area of development!)

egeres commented 2 months ago

Alright, so the integration of android libraries seems to be specific of the framework

davidgyoung commented 2 months ago

I am not familiar with Tauri, but I do not believe you will be able to control Bleutooth on desktop computers using a library that uses Android APIs, because the way Bluetooth APIs work on Desktop operating systems is very different than on Android.

egeres commented 2 months ago

They are releasing a version for mobile where you can compile for IOS and Android!!