Skip to content

Commit 831efa8

Browse files
committed
fix: file_picker err
1 parent 867fcbf commit 831efa8

13 files changed

+298
-213
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ app.*.map.json
4646
/android/app/release
4747

4848
/android/app/fjy.androidstudio.key
49+
/android/app/app.key
4950
/release
5051
test.dart
5152

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ Especially thanks to <a href="https://github.com/TerminalStudio/dartssh2">dartss
2828

2929
## 📥 Install
3030

31-
Platform | From
32-
----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
33-
iOS / macOS | [AppStore](https://apps.apple.com/app/id1586449703)
34-
Android | [GitHub](https://github.com/lollipopkit/flutter_server_box/releases) / [CDN](https://cdn.lpkt.cn/serverbox/pkg/?sort=time&order=desc&layout=grid) / [F-Droid](https://f-droid.org/packages/tech.lolli.toolbox) / [OpenAPK](https://www.openapk.net/serverbox/tech.lolli.toolbox/)
35-
Linux / Windows | [GitHub](https://github.com/lollipopkit/flutter_server_box/releases) / [CDN](https://cdn.lpkt.cn/serverbox/pkg/?sort=time&order=desc&layout=grid)
31+
| Platform | From |
32+
|-----------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
33+
| iOS / macOS | [AppStore](https://apps.apple.com/app/id1586449703) |
34+
| Android | [GitHub](https://github.com/lollipopkit/flutter_server_box/releases) / [CDN](https://cdn.lpkt.cn/serverbox/pkg/?sort=time&order=desc&layout=grid) / [F-Droid](https://f-droid.org/packages/tech.lolli.toolbox) / [OpenAPK](https://www.openapk.net/serverbox/tech.lolli.toolbox/) |
35+
| Linux / Windows | [GitHub](https://github.com/lollipopkit/flutter_server_box/releases) / [CDN](https://cdn.lpkt.cn/serverbox/pkg/?sort=time&order=desc&layout=grid) |
3636

3737
Please only download pkgs from the source that **you trust**!
3838

android/gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
org.gradle.jvmargs=-Xmx4G
22
android.useAndroidX=true
33
android.enableJetifier=true
4+
android.defaults.buildfeatures.buildconfig=true
5+
android.nonTransitiveRClass=false
6+
android.nonFinalResIds=false

android/gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,4 @@ distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
33
zipStoreBase=GRADLE_USER_HOME
44
zipStorePath=wrapper/dists
5-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.6.3-all.zip
6-
distributionSha256Sum=6001aba9b2204d26fa25a5800bb9382cf3ee01ccb78fe77317b2872336eb2f80
5+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ pluginManagement {
1919

2020
plugins {
2121
id "dev.flutter.flutter-plugin-loader" version "1.0.0"
22-
id "com.android.application" version "7.4.2" apply false
22+
id "com.android.application" version '8.6.0' apply false
2323
id "org.jetbrains.kotlin.android" version "1.8.10" apply false
2424
}
2525

ios/Podfile.lock

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ PODS:
66
- file_picker (0.0.1):
77
- Flutter
88
- Flutter (1.0.0)
9-
- flutter_native_splash (0.0.1):
9+
- flutter_native_splash (2.4.3):
1010
- Flutter
1111
- icloud_storage (0.0.1):
1212
- Flutter
@@ -33,6 +33,7 @@ PODS:
3333
- Flutter
3434
- webview_flutter_wkwebview (0.0.1):
3535
- Flutter
36+
- FlutterMacOS
3637

3738
DEPENDENCIES:
3839
- app_links (from `.symlinks/plugins/app_links/ios`)
@@ -50,7 +51,7 @@ DEPENDENCIES:
5051
- url_launcher_ios (from `.symlinks/plugins/url_launcher_ios/ios`)
5152
- wakelock_plus (from `.symlinks/plugins/wakelock_plus/ios`)
5253
- watch_connectivity (from `.symlinks/plugins/watch_connectivity/ios`)
53-
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/ios`)
54+
- webview_flutter_wkwebview (from `.symlinks/plugins/webview_flutter_wkwebview/darwin`)
5455

5556
EXTERNAL SOURCES:
5657
app_links:
@@ -84,25 +85,25 @@ EXTERNAL SOURCES:
8485
watch_connectivity:
8586
:path: ".symlinks/plugins/watch_connectivity/ios"
8687
webview_flutter_wkwebview:
87-
:path: ".symlinks/plugins/webview_flutter_wkwebview/ios"
88+
:path: ".symlinks/plugins/webview_flutter_wkwebview/darwin"
8889

8990
SPEC CHECKSUMS:
9091
app_links: e7a6750a915a9e161c58d91bc610e8cd1d4d0ad0
9192
camera_avfoundation: dd002b0330f4981e1bbcb46ae9b62829237459a4
9293
file_picker: c79185e70b9b45728cde2a8d8da454e0cb43f287
9394
Flutter: e0871f40cf51350855a761d2e70bf5af5b9b5de7
94-
flutter_native_splash: edf599c81f74d093a4daf8e17bd7a018854bc778
95+
flutter_native_splash: e8a1e01082d97a8099d973f919f57904c925008a
9596
icloud_storage: d9ac7a33ced81df08ba7ea1bf3099cc0ee58f60a
9697
local_auth_darwin: 66e40372f1c29f383a314c738c7446e2f7fdadc3
97-
package_info_plus: 58f0028419748fad15bf008b270aaa8e54380b1c
98+
package_info_plus: c0502532a26c7662a62a356cebe2692ec5fe4ec4
9899
path_provider_foundation: 2b6b4c569c0fb62ec74538f866245ac84301af46
99100
plain_notification_token: b36467dc91939a7b6754267c701bbaca14996ee1
100-
share_plus: 8875f4f2500512ea181eef553c3e27dba5135aad
101+
share_plus: 8b6f8b3447e494cca5317c8c3073de39b3600d1f
101102
shared_preferences_foundation: fcdcbc04712aee1108ac7fda236f363274528f78
102103
url_launcher_ios: 5334b05cef931de560670eeae103fd3e431ac3fe
103104
wakelock_plus: 78ec7c5b202cab7761af8e2b2b3d0671be6c4ae1
104105
watch_connectivity: 715eb484685e05846eab74795348a44bb2809b82
105-
webview_flutter_wkwebview: 2a23822e9039b7b1bc52e5add778e5d89ad488d1
106+
webview_flutter_wkwebview: 0982481e3d9c78fd5c6f62a002fcd24fc791f1e4
106107

107108
PODFILE CHECKSUM: ec6ef69056f066e8b21a3391082f23b5ad2d37f8
108109

linux/flutter/generated_plugin_registrant.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <dynamic_color/dynamic_color_plugin.h>
1010
#include <gtk/gtk_plugin.h>
11-
#include <screen_retriever/screen_retriever_plugin.h>
11+
#include <screen_retriever_linux/screen_retriever_linux_plugin.h>
1212
#include <url_launcher_linux/url_launcher_plugin.h>
1313
#include <window_manager/window_manager_plugin.h>
1414

@@ -19,9 +19,9 @@ void fl_register_plugins(FlPluginRegistry* registry) {
1919
g_autoptr(FlPluginRegistrar) gtk_registrar =
2020
fl_plugin_registry_get_registrar_for_plugin(registry, "GtkPlugin");
2121
gtk_plugin_register_with_registrar(gtk_registrar);
22-
g_autoptr(FlPluginRegistrar) screen_retriever_registrar =
23-
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverPlugin");
24-
screen_retriever_plugin_register_with_registrar(screen_retriever_registrar);
22+
g_autoptr(FlPluginRegistrar) screen_retriever_linux_registrar =
23+
fl_plugin_registry_get_registrar_for_plugin(registry, "ScreenRetrieverLinuxPlugin");
24+
screen_retriever_linux_plugin_register_with_registrar(screen_retriever_linux_registrar);
2525
g_autoptr(FlPluginRegistrar) url_launcher_linux_registrar =
2626
fl_plugin_registry_get_registrar_for_plugin(registry, "UrlLauncherPlugin");
2727
url_launcher_plugin_register_with_registrar(url_launcher_linux_registrar);

linux/flutter/generated_plugins.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
list(APPEND FLUTTER_PLUGIN_LIST
66
dynamic_color
77
gtk
8-
screen_retriever
8+
screen_retriever_linux
99
url_launcher_linux
1010
window_manager
1111
)

macos/Flutter/GeneratedPluginRegistrant.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,12 @@ import Foundation
77

88
import app_links
99
import dynamic_color
10+
import flutter_inappwebview_macos
1011
import icloud_storage
1112
import local_auth_darwin
1213
import package_info_plus
1314
import path_provider_foundation
14-
import screen_retriever
15+
import screen_retriever_macos
1516
import share_plus
1617
import shared_preferences_foundation
1718
import url_launcher_macos
@@ -21,11 +22,12 @@ import window_manager
2122
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
2223
AppLinksMacosPlugin.register(with: registry.registrar(forPlugin: "AppLinksMacosPlugin"))
2324
DynamicColorPlugin.register(with: registry.registrar(forPlugin: "DynamicColorPlugin"))
25+
InAppWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "InAppWebViewFlutterPlugin"))
2426
IcloudStoragePlugin.register(with: registry.registrar(forPlugin: "IcloudStoragePlugin"))
2527
FLALocalAuthPlugin.register(with: registry.registrar(forPlugin: "FLALocalAuthPlugin"))
2628
FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin"))
2729
PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin"))
28-
ScreenRetrieverPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverPlugin"))
30+
ScreenRetrieverMacosPlugin.register(with: registry.registrar(forPlugin: "ScreenRetrieverMacosPlugin"))
2931
SharePlusMacosPlugin.register(with: registry.registrar(forPlugin: "SharePlusMacosPlugin"))
3032
SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin"))
3133
UrlLauncherPlugin.register(with: registry.registrar(forPlugin: "UrlLauncherPlugin"))

0 commit comments

Comments
 (0)