diff --git a/README.md b/README.md index 7cc008b..7e25b75 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ A new instagram videos download app. ## Features - Download Photos and Videos - Story Saver +- Youtube Video Shorts - Multiple Downloads - Fast Downloads - User-Friendly Interface diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index fa10aa8..8f316a3 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,7 +1,6 @@ - + @@ -10,12 +9,14 @@ - - + + + + android:icon="@mipmap/ic_launcher" + android:requestLegacyExternalStorage="true"> {}]+"), '') + .replaceAll("\n", "_") + .replaceAll("|", "_"); + return text.length >= 60 ? text.substring(0, 60) : text; + } } diff --git a/lib/main.dart b/lib/main.dart index 85408de..2fe92e4 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -12,7 +12,6 @@ import 'package:insta/instagram_login_page.dart'; import 'package:insta/profilepage.dart'; import 'Functions/permission.dart'; import 'package:path_provider/path_provider.dart'; -import 'package:permission_handler/permission_handler.dart'; import 'package:http/http.dart' as http; DistribUrl downloadController = Get.put(DistribUrl()); @@ -275,20 +274,24 @@ class _MyHomePageState extends State { // onPressed: () async => // {navigatorKey.currentState?.pushNamed('nextpage')}, // child: const Text('Next Page')), - ElevatedButton( - onPressed: () { - final snackBar = SnackBar( - content: Text('Hello World!'), - margin: EdgeInsets.all(20), - behavior: SnackBarBehavior.floating, - ); - - // Find the ScaffoldMessenger in the widget tree - // and use it to show a SnackBar. - ScaffoldMessenger.of(context).showSnackBar(snackBar); - }, - child: const Text('Show SnackBar'), - ), + // ElevatedButton( + // onPressed: () { + // final snackBar = SnackBar( + // content: Row( + // children: [ + // CircularProgressIndicator(), + // SizedBox(width: 16), + // Text("Loading..."), + // ], + // ), + // duration: Duration(seconds: 2), + // ); + // // Find the ScaffoldMessenger in the widget tree + // // and use it to show a SnackBar. + // ScaffoldMessenger.of(context).showSnackBar(snackBar); + // }, + // child: const Text('Show SnackBar'), + // ), ], ), ), diff --git a/pubspec.yaml b/pubspec.yaml index 68066b3..f9cb6f1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.5.0+1 +version: 1.6.0+1 environment: sdk: ">=3.1.0 <4.0.0" @@ -41,13 +41,14 @@ dependencies: path_provider: ^2.1.1 #image_gallery_saver: ^2.0.3 #get_storage: ^2.1.1 - webview_flutter: ^4.2.4 font_awesome_flutter: ^10.5.0 fluttertoast: ^8.2.2 http: ^1.1.0 flutter_local_notifications: ^15.1.1 dio: ^5.4.0 permission_handler: ^11.0.1 + webview_flutter: ^4.4.4 + encrypt: ^5.0.0 dev_dependencies: flutter_test: sdk: flutter