Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"@tauri-apps/plugin-deep-link": "2.4.9",
"@tauri-apps/plugin-dialog": "2.7.2",
"@tauri-apps/plugin-fs": "2.5.1",
"@tauri-apps/plugin-geolocation": "2.3.3",
"@tauri-apps/plugin-http": "2.5.9",
"@tauri-apps/plugin-opener": "2.5.4",
"@tauri-apps/plugin-os": "2.3.2",
Expand Down Expand Up @@ -141,7 +142,6 @@
"@sableclient/sable-call-embedded": "1.1.8",
"@sentry/vite-plugin": "^5.4.0",
"@tauri-apps/cli": "2.11.4",
"tauri-plugin-app-icon-api": "github:SableClient/tauri-plugin-app-icon#bab80ae17f6d018702e472c539d0f02eba480c21",
"@testing-library/jest-dom": "^7.0.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.3",
Expand All @@ -164,6 +164,7 @@
"oxfmt": "^0.63.0",
"oxlint": "^1.78.0",
"oxlint-tsgolint": "^7.0.2001",
"tauri-plugin-app-icon-api": "github:SableClient/tauri-plugin-app-icon#bab80ae17f6d018702e472c539d0f02eba480c21",
"testcontainers": "^12.1.0",
"typescript": "^7.0.2",
"vite": "^8.2.1",
Expand Down
10 changes: 10 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

55 changes: 35 additions & 20 deletions src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions src-tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ tauri-plugin-edge-to-edge = { git = "https://github.com/SableClient/tauri-plugin
tauri-plugin-sharekit = { git = "https://github.com/Choochmeque/tauri-plugin-sharekit", rev = "9f2b4c5d8a4f0ab910d900ba234ed8bae0ab854b" }
tauri-plugin-app-icon = { git = "https://github.com/SableClient/tauri-plugin-app-icon", rev = "bab80ae17f6d018702e472c539d0f02eba480c21" }
tauri-plugin-livekit-mobile = { git = "https://github.com/SableClient/tauri-plugin-livekit-mobile.git", rev = "c6f0d02ab3da1174535bc1dc8e598a2e6873f977" }
tauri-plugin-geolocation = "2.3.3"

[target.'cfg(target_os = "ios")'.dependencies]
objc2 = "0.6"
Expand Down
2 changes: 2 additions & 0 deletions src-tauri/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<string>Sable needs camera access for video calls.</string>
<key>NSMicrophoneUsageDescription</key>
<string>Sable needs microphone access for voice and video calls.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string>Sable needs your location to share it in a conversation.</string>
<!-- APP-ICON ALTERNATES START -->
<key>TauriAppIconAliases</key>
<dict>
Expand Down
3 changes: 3 additions & 0 deletions src-tauri/capabilities/mobile.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
"app-icon:default",
"deep-link:default",
"edge-to-edge:default",
"geolocation:allow-check-permissions",
"geolocation:allow-request-permissions",
"geolocation:allow-get-current-position",
"livekit-mobile:default",
"notifications:default",
"sharekit:default"
Expand Down
6 changes: 6 additions & 0 deletions src-tauri/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ pub fn run() {
let builder = builder
.plugin(tauri_plugin_app_icon::init())
.plugin(tauri_plugin_edge_to_edge::init())
.plugin(tauri_plugin_geolocation::init())
.plugin(tauri_plugin_sharekit::init())
.plugin(tauri_plugin_livekit_mobile::init());

Expand All @@ -388,6 +389,10 @@ pub fn run() {
network::media_protocol::MEDIA_URI_SCHEME,
network::media_protocol::respond,
)
.register_asynchronous_uri_scheme_protocol(
network::map_tiles::TILE_URI_SCHEME,
network::map_tiles::respond,
)
.setup(|app| {
#[cfg(target_os = "android")]
mobile::set_app_handle(app.handle().clone());
Expand All @@ -402,6 +407,7 @@ pub fn run() {
}

network::native_upload::cleanup_uploads(app.handle());
network::map_tiles::cleanup_cache(app.handle());

#[cfg(any(target_os = "linux", all(debug_assertions, windows)))]
{
Expand Down
Loading
Loading