Comments (21)
Used your original SVG and the Icon Set Creator App for macOS.
from lighthouse_pm.
@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.
from lighthouse_pm.
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?
from lighthouse_pm.
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) :(
But here are screenshots of the app running on iOS in case you have not seen it before:
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 :)
from lighthouse_pm.
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.
And for distribution we need some instructions on side loading (like this). And maybe if someone is generous they could sponsor uploading to the App store.
P.S. can you check if I did the app icon correctly?
from lighthouse_pm.
Yeah, I don't really consider myself a proper iOS developer either. I made one rather basic iOS app with Swift (unpublished), without using device features like Bluetooth (or similar stuff where you'd need permissions).
But I'm familiar with flutter since I have created two slightly more complex apps with flutter (focused on Android though). I thought that this knowledge (and my Macbook) could be enough to work on the iOS version of lighthouse pm.
all we need is someone to test the app and fix possible bugs.
Maybe I can borrow an iPhone from friends/family to do this...
for distribution we need some instructions on side loading [...]. And maybe if someone is generous they could sponsor uploading to the App store.
I think this going to be the real problem. Your link to these instructions on side loading an iOS app is interesting but damn... these would be quite a lot of steps to get a simple iOS app running. If someone who is not a developer and wants to sideload the app, they would need to download xcode first (around 8 GB i think). And in our case they'd probably also need to install and setup the flutter sdk... (not sure about this). So basically they need to be a flutter developer to install the lighthouse pm app, lol.
I really hate the way Apple is treating small developers who just want to publish a small (free) app. $99/year and no easy way to sideload apps (like apks).
Sorry, back to the topic... Yes, I'm seeing your app icon in the iPhone simulator. But it looks like the black lighthouse icon is not perfectly centered. Take a look:
from lighthouse_pm.
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 local_assets
folder.
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.
from lighthouse_pm.
That looks like what it was supposed to look like. Thanks!
from lighthouse_pm.
In the file bloc.dart
there is a check for the iOS system version, that I couldn't test. It would be appreciated if anyone can test this and fix it if needed.
from lighthouse_pm.
Hey guys,
thanks for your work. Is this still WIP?
from lighthouse_pm.
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.
from lighthouse_pm.
@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.
Well the app seems to work correctly on iOS.
Were you able to test the iOS app with Bluetooth enabled? (I was not)
from lighthouse_pm.
Sure throw me a PR.
from lighthouse_pm.
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 :/
from lighthouse_pm.
@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?
https://jeroen1602.github.io/flutter_web_bluetooth.
from lighthouse_pm.
from lighthouse_pm.
@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.
from lighthouse_pm.
@DerpNerb hmm I think that the browser may not be using the same version of the Bluetooth web spec.
It looks like it may be ignoring the optional services request and thus disallowing the site to communicate with these services.
But I'm not sure and it's hard for me to debug since I don't have an iOS device.
from lighthouse_pm.
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:
https://googlechrome.github.io/samples/web-bluetooth/discover-services-and-characteristics.html
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.
from lighthouse_pm.
fyi for easier sideloading on ios there's https://altstore.io/ so people don't need to compile it themselves
from lighthouse_pm.
I built the app from the master branch on my iPhone and the app "works" but it won't find any base stations
from lighthouse_pm.
Related Issues (20)
- (Android) add group shortcut support
- (Android) Android 11 quick access device controls.
- Cannot add 1.0 Base Stations - Will not accept ID HOT 10
- Create a buy me a beer/coffee feature HOT 2
- Add 404 page
- Change Bluetooth adapter unavailable page
- Update privacy page
- Devices show up twice
- I found my Lighthouses, then lost them
- Adding a security measure(s) HOT 1
- Lighthouse discoverable during boot, unavailable after being in a state for a while
- "Bluetooth is unavailable" through browser on Steam Deck HOT 9
- Base stations not being found HOT 2
- Base Station Troubles..
- General question about BLE (feel free to close this) HOT 2
- Add app to F-Droid HOT 5
- Add home screen widgets HOT 1
- Tasker support for Android
- Change button order for dialogs
- Add custom icon for nickname HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lighthouse_pm.