-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for iOS #26
Comments
Hi @jeroen1602, first of all: Cool app! Thanks for making it free and open source! (Came here from the post on reddit :) ) I was hoping I could try to work on the iOS version of the app by only using my Macbook (with Bluetooth) and the xcode simulator because I don't own a real iOS device. Unfortunately you can not use Bluetooth in the simulator (afaik, did some quick research) :( I think I saw that you have already written some code for iOS support (Bluetooth permission stuff for iOS?), right? So do you expect that there will be (many) other necessary adjustments to make it work on iOS? If I find some time for it in the future, I'm going to try to contribute to this project :) |
Thanks for the help. I am an Android developer myself so I have more knowledge about that platform, but form what I have been able to find about Bluetooth Low Energy on iOS is that you just get the permission from the system without any hassle. So from my understanding all we need is someone to test the app and fix possible bugs. P.S. can you check if I did the app icon correctly? |
Damn I was really hoping the icon would work, but I guess I should create the icon again. Unless you can do it the original SVG file is on the I was also thinking about using Flutter web and the Bluetooth web API to get past this restriction. But according to can I use it isn't supported (source). So that isn't a good route either. |
Used your original SVG and the Icon Set Creator App for macOS. |
That looks like what it was supposed to look like. Thanks! |
In the file |
…vailable theme options)
Hey guys, |
Well the app seems to work correctly on iOS. The problem is that I have no way of building for it and I'm not planning on paying the 100 euro a year developer program fee. So if you are able to do this, you are free to do so. |
@AdlerXiviD I'm not working on anything related to this issue right now, too. But as jeroen said, there's certainly some work to do regarding publishing the iOS app on the App Store.
Were you able to test the iOS app with Bluetooth enabled? (I was not) |
@HeLau1337 It seems I misremembered, I thought that we did test that. Though in my experience talking to iOS devs the Bluetooth stack on iOS is a bit more robust than on Android, so I'm pretty confident that it will work. |
Have this compiled and executing on my devices. Will check functionality later tonight. Minor note: Info.plist is missing a key (NSBluetoothAlwaysUsageDescription) /value (string) pair for bluetooth usage description for the code to run. Want a PR? |
Sure throw me a PR. |
Hey guys, quick question. Does the website build actually work? I just installed a Bluetooth Web browser (BlueFy) on my iPhone and it seems to work kinda. It recognizes the base stations, but as soon as I connect it immediately disconnects. Only error code I can find is “unable to find characteristic that satisfies request options” I really wanna get this to work on my iPhone :/ |
@DerpNerb I have tried it for V2 lighthouses on Chrome for Android, Linux and Windows. I have not tried it using the BlueFy browser on an iPhone. If you try this test site from the library are you able to get any information from your lighthouses? |
I built the app using xcode and installed direct. Worked fine. A while ago
now though
On Sun, Jul 11, 2021 at 7:37 PM DerpNerb ***@***.***> wrote:
Hey guys, quick question. Does the website build actually work? I just
installed a Bluetooth Web browser (BlueFy) on my iPhone and as seems to
work kinda. It recognizes the bad stations, but as soon as I connect it
immediately disconnects.
Only error code I can find is “unable to find characteristic that
satisfies request options”
I really wanna get this to work on my iPhone :/
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#26 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABOE6UEOZLPBDOZVNMFZ6A3TXITMDANCNFSM4QR46F4A>
.
--
***@***.*** - Larkin' around since 1996
|
@jeroen1602 I can connect to the base stations via that site, but when connected the site won’t display anything. It’s just a slightly gray color. No errors this time around. |
@DerpNerb hmm I think that the browser may not be using the same version of the Bluetooth web spec. |
Hmm yeah I don’t think the Bluefy browser support every function. Though I honestly believe it’s possible another way. I went to this site: And connected to one of the base stations. The console shows I can read the characteristics. lemme know if you want me to run more tests. |
fyi for easier sideloading on ios there's https://altstore.io/ so people don't need to compile it themselves |
I built the app from the master branch on my iPhone and the app "works" but it won't find any base stations |
Hello everyone! With a bit of rework in a few places, I've managed to make a fully functional iOS version. #300 Tested with an iPhone 14 Pro Max (iOS 18.1.1) |
Since the app is made with Flutter it should be relatively easy to create a build for iOS.
I however don't have the required devices to do this, so it would be nice if there was someone who could pick this up.
The text was updated successfully, but these errors were encountered: