Skip to content

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

Open
@2bvncopilot

Description

@2bvncopilot

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

  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions