plus_plugins icon indicating copy to clipboard operation
plus_plugins copied to clipboard

[Bug]: (share_plus)On iPhone 13, when sharing an image and the image is very large, the sharing box may occasionally fail to be awakened

Open Victor-Plaud opened this issue 1 year ago • 0 comments

Platform

iPhone 13

Plugin

share_plus

Version

10.0.2

Flutter SDK

3.24.3

Steps to reproduce

The problem only occurs on iPhone 13. When exporting pictures, there will be a continuous flashing phenomenon. The solution is only to restart the phone. However, after about five minutes, the continuous flashing phenomenon will appear again.

https://github.com/user-attachments/assets/821a2343-5774-4501-90bf-34185a016c9d

Code Sample

static Future<bool> sharePath(String absolutePath, {String? text}) async {
    ShareResult result = await Share.shareXFiles([XFile(absolutePath)], text: text);
    return result.status == ShareResultStatus.success;
  }

Logs

There is no error message.

Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.24.3, on macOS 14.4.1 23E224 darwin-arm64, locale
    zh-Hans-CN)
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 15.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2024.1)
[✓] VS Code (version 1.94.2)

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

Victor-Plaud avatar Oct 16 '24 08:10 Victor-Plaud