08-09-2021, 01:51 PM
(08-06-2021, 11:07 AM)xan-m Wrote: Hey everyone!Please PM me your shipping address and phone number (for shipping purpose), I will ship one PineTime twin pack to you.
I'm working on an iOS companion app for PineTimes running InfiniTime (and probably other similar watches/watch OSes, but I haven't tested anything yet). It's pretty bare bones right now, but so far it can:
- Scan nearby devices and allow the user to select a device to connect to
- Connect to a PineTime running InfiniTime 1.3.0
- Set time and date immediately after connection
- Read heart rate, and subscribe to HRM's notifier for updated values
- Read battery level, and subscribe to battery level's notifier for updated values
- Display heart rate, battery level, and connection/bluetooth/scanning status to app main page
- Write test notifications to the PineTime (I'm working on proper notifications right now)
- Listen for button presses in the InfiniTime music control app (so far I'm just printing button presses to console, but assuming I can figure out how to expose the app to the iOS music controls it should be pretty easy to tie in!)
I've got it up on GitHub right now. Bear in mind that I had previously never worked with Swift or XCode or BLE or anything else, so it's pretty slapdash at the moment. Also, the UI is the bare minimum I could get away with, as that's a low priority for me. Definitely a functional proof of concept though!
If you have a Mac and are willing to build this app on your device and test it out, I'd really appreciate any feedback. I've only tested it with my iPhone XR and InfiniTime 1.3.0, so I'd especially appreciate people with different phones to try it out. Also, I don't have an unsealed watch and I'm not wild about unsealing mine, so I haven't been able to test against waspOS or anything.
I don't want to make any promises about when it will be available as a TestFlight beta or a finished product, because again I have no idea what I'm doing.
Here's the GitHub repo: https://github.com/xan-m/Infini-iOS
Feel free to contact me with any questions, feedback, hate mail, rants about terrible coding practices, or whatever else! I can also be found in the following places:
Mastodon: @xanm@fosstodon.org
Matrix: @xan-m:matrix.org
P.S. if anyone in the US has an unsealed watch they're not using and would consider selling, PM me! I think it's going to take a little hacking on InfiniTime to get iOS notifications working, but I don't really want to buy a whole dev kit and pay the crazy shipping and wait two weeks and end up with 3 watches...