Skip to content

Commit

Permalink
updated .github/workflows/main.yml, removed share_extend dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pichillilorenzo committed Oct 2, 2024
1 parent 811f2f7 commit c5759c5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 25 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,12 +117,11 @@ jobs:

build-windows:
runs-on: windows-latest
permissions:
contents: write

steps:
- uses: actions/checkout@v4
with:
ref: dev
ref: master

- name: Setup Flutter
uses: subosito/flutter-action@v2
Expand Down
6 changes: 0 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ PODS:
- FlutterMacOS
- permission_handler_apple (9.3.0):
- Flutter
- share_extend (0.0.1):
- Flutter
- share_plus (0.0.1):
- Flutter
- sqflite (0.0.3):
Expand Down Expand Up @@ -52,7 +50,6 @@ DEPENDENCIES:
- package_info_plus (from `.symlinks/plugins/package_info_plus/ios`)
- path_provider_foundation (from `.symlinks/plugins/path_provider_foundation/darwin`)
- permission_handler_apple (from `.symlinks/plugins/permission_handler_apple/ios`)
- share_extend (from `.symlinks/plugins/share_extend/ios`)
- share_plus (from `.symlinks/plugins/share_plus/ios`)
- sqflite (from `.symlinks/plugins/sqflite/darwin`)
- sqlite3_flutter_libs (from `.symlinks/plugins/sqlite3_flutter_libs/ios`)
Expand All @@ -76,8 +73,6 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/path_provider_foundation/darwin"
permission_handler_apple:
:path: ".symlinks/plugins/permission_handler_apple/ios"
share_extend:
:path: ".symlinks/plugins/share_extend/ios"
share_plus:
:path: ".symlinks/plugins/share_plus/ios"
sqflite:
Expand All @@ -95,7 +90,6 @@ SPEC CHECKSUMS:
package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
permission_handler_apple: 9878588469a2b0d0fc1e048d9f43605f92e6cec2
share_extend: b6748dc53695587891126a89533b862b92548c7b
share_plus: 8875f4f2500512ea181eef553c3e27dba5135aad
sqflite: 673a0e54cc04b7d6dba8d24fb8095b31c3a99eec
sqlite3: 0bb0e6389d824e40296f531b858a2a0b71c0d2fb
Expand Down
3 changes: 1 addition & 2 deletions lib/app_bar/webview_tab_app_bar.dart
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import 'package:flutter_font_icons/flutter_font_icons.dart';
import 'package:flutter_inappwebview/flutter_inappwebview.dart';
import 'package:path_provider/path_provider.dart';
import 'package:provider/provider.dart';
import 'package:share_extend/share_extend.dart';
import 'package:share_plus/share_plus.dart';

import '../animated_flutter_browser_logo.dart';
Expand Down Expand Up @@ -1308,7 +1307,7 @@ class _WebViewTabAppBarState extends State<WebViewTabAppBar>
ElevatedButton(
child: const Text("Share"),
onPressed: () async {
await ShareExtend.share(file.path, "image");
await Share.shareXFiles([XFile(file.path)]);
},
)
],
Expand Down
8 changes: 0 additions & 8 deletions pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -584,14 +584,6 @@ packages:
url: "https://pub.dev"
source: hosted
version: "0.1.9"
share_extend:
dependency: "direct main"
description:
name: share_extend
sha256: "98c26f04abae42b0d2080102a42a2653a867a4bec862be1e921cb0cf7cc00916"
url: "https://pub.dev"
source: hosted
version: "2.0.0"
share_plus:
dependency: "direct main"
description:
Expand Down
10 changes: 4 additions & 6 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ dependencies:
flutter:
sdk: flutter

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8

# For material you.
dynamic_color: ^1.7.0

Expand All @@ -42,10 +46,8 @@ dependencies:
permission_handler: ^11.3.1
provider: ^6.1.2
share_plus: ^10.0.2
share_extend: ^2.0.0
# charts_flutter: ^0.9.0
crypto: ^3.0.5
# shared_preferences: ^2.3.2
package_info_plus: ^8.0.2
# flutter_icons: ^1.1.0
flutter_font_icons: ^2.2.7
Expand All @@ -60,10 +62,6 @@ dependencies:
window_manager: ^0.4.2
context_menus: ^2.0.0+1
multi_window: ^0.2.0

# The following adds the Cupertino Icons font to your application.
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^1.0.8
sqflite: ^2.3.3+2
sqflite_common_ffi: ^2.3.3+1
sqlite3_flutter_libs: ^0.5.24
Expand Down

0 comments on commit c5759c5

Please sign in to comment.