An iOS app: the page in a web view, with the phone's own player #418
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The page on an iPhone home screen stops playing when the screen locks for long, and nothing outside the page (the lock screen, a car over Bluetooth) can drive it. web/src/native.ts (#45) already hands playback to a host when one is there; there is no host. The earlier attempt, rays/ipodderx-app, grew native lists beside the page and is left behind.
This one is the page and a player, nothing else: a WKWebView of ipx-web, and AVPlayer behind native.ts, with the audio session for playing on locked, now-playing and the remote commands (15 back, 30 forward, scrubbing), and positions and read written by the host from its own clock. In ipx, under ios/, so the bridge's two ends change in one commit. Built with XcodeGen on a Mac; nothing here can build it.
First version in
a581e3f, under ios/: build with XcodeGen and Xcode on a Mac (ios/README.md). Not compiled yet, since nothing on Tower can build Swift for iOS; left open until it has been built and played on the phone.Built on the Mac and in TestFlight since build 2; played on the phone with the screen locked, the lock screen and AirPlay (#429), offline (#435), with the icon count (#421, #433). Later work is in its own issues.