-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Platform
ios
Plugin
share_plus
Version
12.0.0
Flutter SDK
3.35.1
Steps to reproduce
using the code attached, the share dialog opens but the file name shows empty
Code Sample
SharePlus.instance.share(
ShareParams(
files: [
XFile.fromData(
utf8.encode("hello"),
mimeType: 'text/plain',
name: 'myfile.txt',
)
],
fileNameOverrides: ['myfile.txt'],
sharePositionOrigin: Rect.fromLTWH(0,0,x,y),
),
)Logs
...Flutter Doctor
[✓] Flutter (Channel stable, 3.35.1, on macOS 26.1 25B5057f darwin-arm64, locale en-GB) [425ms]
• Flutter version 3.35.1 on channel stable at /Users/user/fvm/versions/stable
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 20f8274939 (9 weeks ago), 2025-08-14 10:53:09 -0700
• Engine revision 1e9a811bf8
• Dart version 3.9.0
• DevTools version 2.48.0
• Feature flags: enable-web, enable-linux-desktop, enable-macos-desktop, enable-windows-desktop, enable-android, enable-ios, cli-animations, enable-lldb-debugging
[✓] Android toolchain - develop for Android devices (Android SDK version 36.0.0) [1,971ms]
• Android SDK at /Users/user/Library/Android/sdk
• Emulator version 36.1.9.0 (build_id 13823996) (CL:N/A)
• Platform android-36, build-tools 36.0.0
• ANDROID_HOME = /Users/user/Library/Android/sdk
• ANDROID_SDK_ROOT = /Users/user/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
This is the JDK bundled with the latest Android Studio installation on this machine.
To manually set the JDK path, use: `flutter config --jdk-dir="path/to/jdk"`.
• Java version OpenJDK Runtime Environment (build 21.0.7+-13880790-b1038.58)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.0) [1,330ms]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17A324
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [7ms]
• CHROME_EXECUTABLE = /Applications/Brave Browser.app/Contents/MacOS/Brave Browser
[✓] Android Studio (version 2025.1) [6ms]
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 21.0.7+-13880790-b1038.58)
[✓] VS Code (version 1.104.2) [5ms]
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.120.0
[✓] Connected device (2 available) [6.8s]
• macOS (desktop) • macos • darwin-arm64 • macOS 26.1 25B5057f darwin-arm64
• Chrome (web) • chrome • web-javascript • Brave Browser 139.1.81.135
[✓] Network resources [679ms]
• All expected network resources are available.
• No issues found!Checklist before submitting a bug
- I searched issues in this repository and couldn't find such bug/problem
- I Google'd a solution and I couldn't find it
- I searched on StackOverflow for a solution and I couldn't find it
- I read the README.md file of the plugin
- I'm using the latest version of the plugin
- All dependencies are up to date with
flutter pub upgrade - I did a
flutter clean - I tried running the example project