plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Bug]: Can't share image file and text to Slack on iOS

Open 2bvncopilot opened this issue 8 months ago • 1 comments

Platform

iOS

Plugin

share_plus

Version

11.0.0

Flutter SDK

3.27.2

Steps to reproduce

Share a file + a text to Slack on iOS device, will see that it just share only text.

Code Sample

I call a function:
await SharePlus.instance.share(ShareParams(
  text: 'My text',
  sharePositionOrigin: Rect.fromLTWH(0, 0, 100, 100),
  files: [anImageFile],
));

Logs

an exception

Flutter Doctor

[✓] Flutter (Channel stable, 3.27.2, on macOS 15.4.1 24E263 darwin-arm64, locale en-VN)
    • Flutter version 3.27.2 on channel stable at /Users/phongngo/fvm/versions/3.27.2
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 68415ad1d9 (3 months ago), 2025-01-13 10:22:03 -0800
    • Engine revision e672b006cb
    • Dart version 3.6.1
    • DevTools version 2.40.2

[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
    • Android SDK at /Users/phongngo/Library/Android/sdk
    • Platform android-35, build-tools 35.0.1
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 21.0.5+-13047016-b750.29)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 16.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 16E140
    • CocoaPods version 1.16.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2024.3)
    • 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.5+-13047016-b750.29)

[✓] VS Code (version 1.99.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.108.0

[✓] Connected device (7 available)
    • SM A045F (mobile)               • R92TA03DKLE                          • android-arm64  • Android 14 (API 34)
    • iPhone (mobile)                 • 00008030-00117421027A402E            • ios            • iOS 18.3.1 22D72
    • iPhone 16 Plus (mobile)         • 4994E69B-6AE7-4827-8470-402CCBEC87FF • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-18-4 (simulator)
    • iPad Air 11-inch (M3) (mobile)  • D56E1081-E298-4210-B0C0-36E79E560474 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-18-4 (simulator)
    • macOS (desktop)                 • macos                                • darwin-arm64   • macOS 15.4.1 24E263 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad                • darwin         • macOS 15.4.1 24E263 darwin-arm64
    • Chrome (web)                    • chrome                               • web-javascript • Google Chrome 135.0.7049.115

[✓] Network resources
    • All expected network resources are available.

• No issues found!

Checklist before submitting a bug

  • [x] I searched issues in this repository and couldn't find such bug/problem
  • [x] I Google'd a solution and I couldn't find it
  • [x] I searched on StackOverflow for a solution and I couldn't find it
  • [x] I read the README.md file of the plugin
  • [x] I'm using the latest version of the plugin
  • [x] All dependencies are up to date with flutter pub upgrade
  • [x] I did a flutter clean
  • [x] I tried running the example project

2bvncopilot avatar Apr 25 '25 09:04 2bvncopilot

Hi @2bvncopilot can you check with a version previous to 11.0.0? I'd like to know if we broke something or is just Slack that doesn't like text+images.

miquelbeltran avatar Apr 28 '25 14:04 miquelbeltran

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 15 days

github-actions[bot] avatar Jul 28 '25 00:07 github-actions[bot]