Android support
Motivation
This package wasn't building on Android, causing various dependent packages to also fail to build.
Modifications
Add the necessary import(Android) to successfully build.
Result
The package can now be built for Android.
Test Plan
~~Added CI to build and run against an Android emulator using swift-android-action.~~
How about if I remove the CI but leave in the fix for Lock.swift? It's just a one-line conditional import that will prevent build failures for dependent packages that are trying to build for Android. Similar PRs have been accepted by numerous other apple repos…
How about if I remove the CI but leave in the fix for Lock.swift? It's just a one-line conditional import that will prevent build failures for dependent packages that are trying to build for Android. Similar PRs have been accepted by numerous other apple repos…
Yes please. Happy to take patches that fix Android!.
I've removed the CI.
@FranzBusch can you update your review? I'd prefer not to have to admin merge here :)
Thank you! 🙏 I just stumbled over this after also doing the exact same fix locally. It sounds like we could get this in as is and have a working version for Android?
Yeah, it looks like everyone approved, so we just need to merge this 1-liner import fix. @FranzBusch or @simonjbeaumont, maybe?