π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add an icon to open the active location on Maps
vishnukvmd43e711274edd
diff --git a/mobile/ios/Podfile.lock b/mobile/ios/Podfile.lockindex 3fee5e8c6e..ad83ed9c70 100644--- a/mobile/ios/Podfile.lock+++ b/mobile/ios/Podfile.lock@@ -3,13 +3,13 @@ PODS:- Flutter- battery_info (0.0.1):- Flutter+ - blurhash_ffi (0.0.1):+ - Flutter- connectivity_plus (0.0.1):- Flutter- FlutterMacOS- dart_ui_isolate (0.0.1):- Flutter- - dchs_motion_sensors (0.0.1):- - Flutter- device_info_plus (0.0.1):- Flutter- ffmpeg-kit-ios-min (6.0)@@ -148,6 +148,8 @@ PODS:- Flutter- media_kit_video (0.0.1):- Flutter+ - motion_sensors (0.0.1):+ - Flutter- motionphoto (0.0.1):- Flutter- move_to_background (0.0.1):@@ -178,6 +180,8 @@ PODS:- photo_manager (2.0.0):- Flutter- FlutterMacOS+ - privacy_screen (0.0.1):+ - Flutter- PromisesObjC (2.4.0)- receive_sharing_intent (1.6.8):- Flutter@@ -201,8 +205,6 @@ PODS:- shared_preferences_foundation (0.0.1):- Flutter- FlutterMacOS- - smart_auth (0.0.1):- - Flutter- sqflite (0.0.3):- Flutter- FlutterMacOS@@ -240,9 +242,9 @@ PODS:DEPENDENCIES:- background_fetch (from `.symlinks/plugins/background_fetch/ios`)- battery_info (from `.symlinks/plugins/battery_info/ios`)+ - blurhash_ffi (from `.symlinks/plugins/blurhash_ffi/ios`)- connectivity_plus (from `.symlinks/plugins/connectivity_plus/darwin`)- dart_ui_isolate (from `.symlinks/plugins/dart_ui_isolate/ios`)- - dchs_motion_sensors (from `.symlinks/plugins/dchs_motion_sensors/ios`)- device_info_plus (from `.symlinks/plugins/device_info_plus/ios`)- ffmpeg_kit_flutter_min (from `.symlinks/plugins/ffmpeg_kit_flutter_min/ios`)- file_saver (from `.symlinks/plugins/file_saver/ios`)@@ -269,6 +271,7 @@ DEPENDENCIES:- media_kit_libs_ios_video (from `.symlinks/plugins/media_kit_libs_ios_video/ios`)- media_kit_native_event_loop (from `.symlinks/plugins/media_kit_native_event_loop/ios`)- media_kit_video (from `.symlinks/plugins/media_kit_video/ios`)+ - motion_sensors (from `.symlinks/plugins/motion_sensors/ios`)- motionphoto (from `.symlinks/plugins/motionphoto/ios`)- move_to_background (from `.symlinks/plugins/move_to_background/ios`)- onnxruntime (from `.symlinks/plugins/onnxruntime/ios`)@@ -277,12 +280,12 @@ DEPENDENCIES:- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)- photo_manager (from `.symlinks/plugins/photo_manager/ios`)+ - privacy_screen (from `.symlinks/plugins/privacy_screen/ios`)- receive_sharing_intent (from `.symlinks/plugins/receive_sharing_intent/ios`)- screen_brightness_ios (from `.symlinks/plugins/screen_brightness_ios/ios`)- sentry_flutter (from `.symlinks/plugins/sentry_flutter/ios`)- share_plus (from `.symlinks/plugins/share_plus/ios`)- shared_preferences_foundation (from `.symlinks/plugins/shared_preferences_foundation/darwin`)- - smart_auth (from `.symlinks/plugins/smart_auth/ios`)- sqflite (from `.symlinks/plugins/sqflite/darwin`)- sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/ios`)- uni_links (from `.symlinks/plugins/uni_links/ios`)@@ -321,12 +324,12 @@ EXTERNAL SOURCES::path: ".symlinks/plugins/background_fetch/ios"battery_info::path: ".symlinks/plugins/battery_info/ios"+ blurhash_ffi:+ :path: ".symlinks/plugins/blurhash_ffi/ios"connectivity_plus::path: ".symlinks/plugins/connectivity_plus/darwin"dart_ui_isolate::path: ".symlinks/plugins/dart_ui_isolate/ios"- dchs_motion_sensors:- :path: ".symlinks/plugins/dchs_motion_sensors/ios"device_info_plus::path: ".symlinks/plugins/device_info_plus/ios"ffmpeg_kit_flutter_min:@@ -379,6 +382,8 @@ EXTERNAL SOURCES::path: ".symlinks/plugins/media_kit_native_event_loop/ios"media_kit_video::path: ".symlinks/plugins/media_kit_video/ios"+ motion_sensors:+ :path: ".symlinks/plugins/motion_sensors/ios"motionphoto::path: ".symlinks/plugins/motionphoto/ios"move_to_background:@@ -395,6 +400,8 @@ EXTERNAL SOURCES::path: ".symlinks/plugins/permission_handler_apple/ios"photo_manager::path: ".symlinks/plugins/photo_manager/ios"+ privacy_screen:+ :path: ".symlinks/plugins/privacy_screen/ios"receive_sharing_intent::path: ".symlinks/plugins/receive_sharing_intent/ios"screen_brightness_ios:@@ -405,8 +412,6 @@ EXTERNAL SOURCES::path: ".symlinks/plugins/share_plus/ios"shared_preferences_foundation::path: ".symlinks/plugins/shared_preferences_foundation/darwin"- smart_auth:- :path: ".symlinks/plugins/smart_auth/ios"sqflite::path: ".symlinks/plugins/sqflite/darwin"sqlite3_flutter_libs:@@ -427,9 +432,9 @@ EXTERNAL SOURCES:SPEC CHECKSUMS:background_fetch: 2319bf7e18237b4b269430b7f14d177c0df09c5abattery_info: 09f5c9ee65394f2291c8c6227bedff345b8a730c+ blurhash_ffi: 4831b96320d4273876c9a2fd3f7d50b8a3a53509connectivity_plus: ddd7f30999e1faaef5967c23d5b6d503d10434dbdart_ui_isolate: d5bcda83ca4b04f129d70eb90110b7a567aece14- dchs_motion_sensors: 9cef816635a39345cda9f0c4943e061f6429f453device_info_plus: c6fb39579d0f423935b0c9ce7ee2f44b71b9fce6ffmpeg-kit-ios-min: 4e9a088f4ee9629435960b9d68e54848975f1931ffmpeg_kit_flutter_min: 5eff47f4965bf9d1150e98961eb6129f5ae3f28c@@ -466,6 +471,7 @@ SPEC CHECKSUMS:media_kit_libs_ios_video: a5fe24bc7875ccd6378a0978c13185e1344651c1media_kit_native_event_loop: e6b2ab20cf0746eb1c33be961fcf79667304fa2amedia_kit_video: 5da63f157170e5bf303bf85453b7ef6971218a2e+ motion_sensors: 03f55b7c637a7e365a0b5f9697a449f9059d5d91motionphoto: d4a432b8c8f22fb3ad966258597c0103c9c5ff16move_to_background: 39a5b79b26d577b0372cbe8a8c55e7aa9fcd3a2dnanopb: 438bc412db1928dac798aa6fd75726007be04262@@ -478,6 +484,7 @@ SPEC CHECKSUMS:path_provider_foundation: 3784922295ac71e43754bd15e0653ccfd36a147cpermission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2photo_manager: ff695c7a1dd5bc379974953a2b5c0a293f7c4c8a+ privacy_screen: 1a131c052ceb3c3659934b003b0d397c2381a24ePromisesObjC: f5707f49cb48b9636751c5b2e7d227e43fba9f47receive_sharing_intent: 6837b01768e567fe8562182397bf43d63d8c6437screen_brightness_ios: 715ca807df953bf676d339f11464e438143ee625@@ -488,7 +495,6 @@ SPEC CHECKSUMS:SentryPrivate: d651efb234cf385ec9a1cdd3eff94b5e78a0e0feshare_plus: 8875f4f2500512ea181eef553c3e27dba5135aadshared_preferences_foundation: b4c3b4cddf1c21f02770737f147a3f5da9d39695- smart_auth: 4bedbc118723912d0e45a07e8ab34039c19e04f2sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eecsqlite3: 02d1f07eaaa01f80a1c16b4b31dfcbb3345ee01asqlite3_flutter_libs: af0e8fe9bce48abddd1ffdbbf839db0302d72d80diff --git a/mobile/ios/Runner.xcodeproj/project.pbxproj b/mobile/ios/Runner.xcodeproj/project.pbxprojindex 2c954cdfce..1414f8d947 100644--- a/mobile/ios/Runner.xcodeproj/project.pbxproj+++ b/mobile/ios/Runner.xcodeproj/project.pbxproj@@ -292,9 +292,9 @@"${BUILT_PRODUCTS_DIR}/Toast/Toast.framework","${BUILT_PRODUCTS_DIR}/background_fetch/background_fetch.framework","${BUILT_PRODUCTS_DIR}/battery_info/battery_info.framework",+ "${BUILT_PRODUCTS_DIR}/blurhash_ffi/blurhash_ffi.framework","${BUILT_PRODUCTS_DIR}/connectivity_plus/connectivity_plus.framework","${BUILT_PRODUCTS_DIR}/dart_ui_isolate/dart_ui_isolate.framework",- "${BUILT_PRODUCTS_DIR}/dchs_motion_sensors/dchs_motion_sensors.framework","${BUILT_PRODUCTS_DIR}/device_info_plus/device_info_plus.framework","${BUILT_PRODUCTS_DIR}/file_saver/file_saver.framework","${BUILT_PRODUCTS_DIR}/fk_user_agent/fk_user_agent.framework",@@ -318,6 +318,7 @@"${BUILT_PRODUCTS_DIR}/media_kit_libs_ios_video/media_kit_libs_ios_video.framework","${BUILT_PRODUCTS_DIR}/media_kit_native_event_loop/media_kit_native_event_loop.framework","${BUILT_PRODUCTS_DIR}/media_kit_video/media_kit_video.framework",+ "${BUILT_PRODUCTS_DIR}/motion_sensors/motion_sensors.framework","${BUILT_PRODUCTS_DIR}/motionphoto/motionphoto.framework","${BUILT_PRODUCTS_DIR}/move_to_background/move_to_background.framework","${BUILT_PRODUCTS_DIR}/nanopb/nanopb.framework",@@ -325,12 +326,12 @@"${BUILT_PRODUCTS_DIR}/package_info_plus/package_info_plus.framework","${BUILT_PRODUCTS_DIR}/path_provider_foundation/path_provider_foundation.framework","${BUILT_PRODUCTS_DIR}/photo_manager/photo_manager.framework",+ "${BUILT_PRODUCTS_DIR}/privacy_screen/privacy_screen.framework","${BUILT_PRODUCTS_DIR}/receive_sharing_intent/receive_sharing_intent.framework","${BUILT_PRODUCTS_DIR}/screen_brightness_ios/screen_brightness_ios.framework","${BUILT_PRODUCTS_DIR}/sentry_flutter/sentry_flutter.framework","${BUILT_PRODUCTS_DIR}/share_plus/share_plus.framework","${BUILT_PRODUCTS_DIR}/shared_preferences_foundation/shared_preferences_foundation.framework",- "${BUILT_PRODUCTS_DIR}/smart_auth/smart_auth.framework","${BUILT_PRODUCTS_DIR}/sqflite/sqflite.framework","${BUILT_PRODUCTS_DIR}/sqlite3/sqlite3.framework","${BUILT_PRODUCTS_DIR}/sqlite3_flutter_libs/sqlite3_flutter_libs.framework",@@ -385,9 +386,9 @@"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Toast.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/background_fetch.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/battery_info.framework",+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/blurhash_ffi.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/connectivity_plus.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/dart_ui_isolate.framework",- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/dchs_motion_sensors.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/device_info_plus.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/file_saver.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/fk_user_agent.framework",@@ -411,6 +412,7 @@"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/media_kit_libs_ios_video.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/media_kit_native_event_loop.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/media_kit_video.framework",+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/motion_sensors.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/motionphoto.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/move_to_background.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/nanopb.framework",@@ -418,12 +420,12 @@"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/package_info_plus.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/path_provider_foundation.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/photo_manager.framework",+ "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/privacy_screen.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/receive_sharing_intent.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/screen_brightness_ios.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sentry_flutter.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/share_plus.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/shared_preferences_foundation.framework",- "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/smart_auth.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqflite.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqlite3.framework","${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/sqlite3_flutter_libs.framework",diff --git a/mobile/lib/ui/map/map_view.dart b/mobile/lib/ui/map/map_view.dartindex d4de022197..8804774223 100644--- a/mobile/lib/ui/map/map_view.dart+++ b/mobile/lib/ui/map/map_view.dart@@ -2,6 +2,7 @@ import "package:flutter/material.dart";import "package:flutter_map/flutter_map.dart";import "package:flutter_map_marker_cluster/flutter_map_marker_cluster.dart";import "package:latlong2/latlong.dart";+import "package:maps_launcher/maps_launcher.dart";import "package:photos/ui/map/image_marker.dart";import "package:photos/ui/map/map_button.dart";import "package:photos/ui/map/map_gallery_tile.dart";@@ -157,6 +158,24 @@ class _MapViewState extends State<MapView> {),): const SizedBox.shrink(),+ widget.showControls+ ? Positioned(+ top: 4,+ right: 10,+ child: SafeArea(+ child: MapButton(+ icon: Icons.navigation_outlined,+ onPressed: () {+ MapsLauncher.launchCoordinates(+ widget.controller.camera.center.latitude,+ widget.controller.camera.center.longitude,+ );+ },+ heroTag: 'open-map',+ ),+ ),+ )+ : const SizedBox.shrink(),widget.showControls? Positioned(bottom: widget.bottomSheetDraggableAreaHeight + 10,diff --git a/mobile/pubspec.lock b/mobile/pubspec.lockindex 5adbd5c31c..6c064b81cb 100644--- a/mobile/pubspec.lock+++ b/mobile/pubspec.lock@@ -1304,18 +1304,18 @@ packages:dependency: transitivedescription:name: leak_tracker- sha256: "3f87a60e8c63aecc975dda1ceedbc8f24de75f09e4856ea27daf8958f2f0ce05"+ sha256: "7f0df31977cb2c0b88585095d168e689669a2cc9b97c309665e3386f3e9d341a"url: "https://pub.dev"source: hosted- version: "10.0.5"+ version: "10.0.4"leak_tracker_flutter_testing:dependency: transitivedescription:name: leak_tracker_flutter_testing- sha256: "932549fb305594d82d7183ecd9fa93463e9914e1b67cacc34bc40906594a1806"+ sha256: "06e98f569d004c1315b991ded39924b21af84cf14cc94791b8aea337d25b57f8"url: "https://pub.dev"source: hosted- version: "3.0.5"+ version: "3.0.3"leak_tracker_testing:dependency: transitivedescription:@@ -1428,6 +1428,14 @@ packages:url: "https://pub.dev"source: hostedversion: "1.4.3"+ maps_launcher:+ dependency: "direct main"+ description:+ name: maps_launcher+ sha256: "57ba3c31db96e30f58c23fcb22a1fac6accc5683535b2cf344c534bbb9f8f910"+ url: "https://pub.dev"+ source: hosted+ version: "2.2.1"matcher:dependency: transitivedescription:@@ -1440,10 +1448,10 @@ packages:dependency: transitivedescription:name: material_color_utilities- sha256: f7142bb1154231d7ea5f96bc7bde4bda2a0945d2806bb11670e30b850d56bdec+ sha256: "0e0a020085b65b6083975e499759762399b4475f766c21668c4ecca34ea74e5a"url: "https://pub.dev"source: hosted- version: "0.11.1"+ version: "0.8.0"media_extension:dependency: "direct main"description:@@ -1528,10 +1536,10 @@ packages:dependency: transitivedescription:name: meta- sha256: bdb68674043280c3428e9ec998512fb681678676b3c54e773629ffe74419f8c7+ sha256: "7687075e408b093f36e6bbf6c91878cc0d4cd10f409506f7bc996f68220b9136"url: "https://pub.dev"source: hosted- version: "1.15.0"+ version: "1.12.0"mgrs_dart:dependency: transitivedescription:@@ -1877,10 +1885,10 @@ packages:dependency: transitivedescription:name: platform- sha256: "9b71283fc13df574056616011fb138fd3b793ea47cc509c189a6c3fa5f8a1a65"+ sha256: "12220bb4b65720483f8fa9450b4332347737cf8213dd2840d8b2c823e47243ec"url: "https://pub.dev"source: hosted- version: "3.1.5"+ version: "3.1.4"plugin_platform_interface:dependency: transitivedescription:@@ -2386,26 +2394,26 @@ packages:dependency: "direct dev"description:name: test- sha256: "7ee44229615f8f642b68120165ae4c2a75fe77ae2065b1e55ae4711f6cf0899e"+ sha256: "7ee446762c2c50b3bd4ea96fe13ffac69919352bd3b4b17bac3f3465edc58073"url: "https://pub.dev"source: hosted- version: "1.25.7"+ version: "1.25.2"test_api:dependency: transitivedescription:name: test_api- sha256: "5b8a98dafc4d5c4c9c72d8b31ab2b23fc13422348d2997120294d3bac86b4ddb"+ sha256: "9955ae474176f7ac8ee4e989dadfb411a58c30415bcfb648fa04b2b8a03afa7f"url: "https://pub.dev"source: hosted- version: "0.7.2"+ version: "0.7.0"test_core:dependency: transitivedescription:name: test_core- sha256: "55ea5a652e38a1dfb32943a7973f3681a60f872f8c3a05a14664ad54ef9c6696"+ sha256: "2bc4b4ecddd75309300d8096f781c0e3280ca1ef85beda558d33fcbedc2eead4"url: "https://pub.dev"source: hosted- version: "0.6.4"+ version: "0.6.0"timezone:dependency: transitivedescription:@@ -2684,10 +2692,10 @@ packages:dependency: transitivedescription:name: vm_service- sha256: f652077d0bdf60abe4c1f6377448e8655008eef28f128bc023f7b5e8dfeb48fc+ sha256: "3923c89304b715fb1eb6423f017651664a03bf5f4b29983627c4da791f74a4ec"url: "https://pub.dev"source: hosted- version: "14.2.4"+ version: "14.2.1"volume_controller:dependency: transitivedescription:diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yamlindex d3a122d259..70149902c8 100644--- a/mobile/pubspec.yaml+++ b/mobile/pubspec.yaml@@ -113,6 +113,7 @@ dependencies:local_auth_ios:logging: ^1.0.1lottie: ^1.2.2+ maps_launcher: ^2.2.1media_extension: ^1.0.1media_kit: ^1.1.10+1media_kit_libs_video: ^1.0.4