Add camera QR pairing, Bonjour discovery and pinned address recovery
This commit is contained in:
@@ -25,6 +25,9 @@ referenced = set(re.findall(r'"([A-F0-9]{24})"', project))
|
||||
assert defined == referenced, "Project has dangling object references."
|
||||
info = plistlib.loads(generated[2].read_bytes())
|
||||
assert info["NSLocalNetworkUsageDescription"]
|
||||
assert info["NSCameraUsageDescription"]
|
||||
assert info["NSBonjourServices"] == ["_musicbridge._tcp"]
|
||||
assert info["CFBundleURLTypes"][0]["CFBundleURLSchemes"] == ["musicbridge"]
|
||||
assert info["NSAppTransportSecurity"] == {
|
||||
"NSAllowsLocalNetworking": True,
|
||||
"NSExceptionDomains": {network: {"NSExceptionAllowsInsecureHTTPLoads": True}
|
||||
|
||||
Reference in New Issue
Block a user