diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml
index e30c45d..aa8933d 100644
--- a/android/app/src/main/AndroidManifest.xml
+++ b/android/app/src/main/AndroidManifest.xml
@@ -6,6 +6,7 @@
+
プロフィールに動画を投稿してください。
NSPhotoLibraryUsageDescription
写真ライブラリへのアクセス警告
+ NSPhotoLibraryUsageDescription
+ Need to save image in phone Album
UILaunchStoryboardName
LaunchScreen
UIMainStoryboardFile
diff --git a/lib/pages/destination/destination_controller.dart b/lib/pages/destination/destination_controller.dart
index a91e8cd..5bb3dee 100644
--- a/lib/pages/destination/destination_controller.dart
+++ b/lib/pages/destination/destination_controller.dart
@@ -24,6 +24,7 @@ import 'dart:async';
import 'package:modal_bottom_sheet/modal_bottom_sheet.dart';
import 'package:shared_preferences/shared_preferences.dart';
+import 'package:gallery_saver/gallery_saver.dart';
class DestinationController extends GetxController {
late LocationSettings locationSettings;
@@ -487,6 +488,8 @@ class DestinationController extends GetxController {
await db.insertDestination(destination);
}
+ await GallerySaver.saveImage(imageurl);
+
PopulateDestinations();
/// post to NATNAT
diff --git a/pubspec.lock b/pubspec.lock
index f3f13eb..5604da5 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -440,6 +440,14 @@ packages:
url: "https://pub.dev"
source: hosted
version: "10.5.0"
+ gallery_saver:
+ dependency: "direct main"
+ description:
+ name: gallery_saver
+ sha256: df8b7e207ca12d64c71e0710a7ee3bc48aa7206d51cc720716fedb1543a66712
+ url: "https://pub.dev"
+ source: hosted
+ version: "2.3.2"
geodesy:
dependency: transitive
description:
diff --git a/pubspec.yaml b/pubspec.yaml
index 7cdc709..fb51581 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -75,6 +75,7 @@ dependencies:
connectivity_plus: ^4.0.2
flutter_map_tile_caching: ^8.0.1
shared_preferences: ^2.0.15
+ gallery_saver: ^2.3.2
flutter_icons: