mirror of
https://github.com/zarzet/SpotiFLAC-Mobile.git
synced 2026-11-21 20:00:49 +01:00
Phones find Mornye on a computer over mDNS (bonsoir, _mornye._tcp), pair with its 6-digit PIN and keep a live session with the chosen desktop. - Pinned HTTPS: first contact records the presented certificate and checks it against info and the mDNS fingerprint; later requests and the WebSocket accept only that SHA-256. - Pairing posts the PIN proof, maps bad_proof, pairing_closed and 429 to clear errors, saves a Subsonic API-key network connection, adds it to Library and scans it. Re-pairing replaces the key in place. - LinkClientSession: Bearer JSON get/post with timeouts and LinkException mapping, WebSocket hello/welcome, backoff from 1 s doubling to 30 s, pause in the background, reconnect when discovery sees the desktop again, address updates when it moves. - LinkClientController publishes the active session through linkActiveClientProvider and rescans on catalog.changed. - Settings entry "Mornye on your computer" on Android and iOS with nearby and paired computers, PIN and manual address dialogs, forget, and local network permission, Wi-Fi and certificate warnings. - iOS NSBonjourServices and the Android multicast permission.
41 lines
1.1 KiB
CMake
41 lines
1.1 KiB
CMake
#
|
|
# Generated file, do not edit.
|
|
#
|
|
|
|
list(APPEND FLUTTER_PLUGIN_LIST
|
|
app_links
|
|
audioplayers_windows
|
|
bonsoir_windows
|
|
connectivity_plus
|
|
desktop_drop
|
|
dynamic_color
|
|
ffmpeg_kit_flutter_new_audio
|
|
flutter_secure_storage_windows
|
|
media_kit_libs_windows_audio
|
|
permission_handler_windows
|
|
share_plus
|
|
url_launcher_windows
|
|
volume_controller
|
|
)
|
|
|
|
list(APPEND FLUTTER_FFI_PLUGIN_LIST
|
|
dart_smb2
|
|
flutter_local_notifications_windows
|
|
jni
|
|
smtc_windows
|
|
)
|
|
|
|
set(PLUGIN_BUNDLED_LIBRARIES)
|
|
|
|
foreach(plugin ${FLUTTER_PLUGIN_LIST})
|
|
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${plugin}/windows plugins/${plugin})
|
|
target_link_libraries(${BINARY_NAME} PRIVATE ${plugin}_plugin)
|
|
list(APPEND PLUGIN_BUNDLED_LIBRARIES $<TARGET_FILE:${plugin}_plugin>)
|
|
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${plugin}_bundled_libraries})
|
|
endforeach(plugin)
|
|
|
|
foreach(ffi_plugin ${FLUTTER_FFI_PLUGIN_LIST})
|
|
add_subdirectory(flutter/ephemeral/.plugin_symlinks/${ffi_plugin}/windows plugins/${ffi_plugin})
|
|
list(APPEND PLUGIN_BUNDLED_LIBRARIES ${${ffi_plugin}_bundled_libraries})
|
|
endforeach(ffi_plugin)
|