[Bug]: After updating to iOS 26, line break is not working with whatsapp, also sharePositionOrigin seems to be mandatory now
Platform
iOS 26
Plugin
share_plus
Version
12.0.0
Flutter SDK
3.35.3
Steps to reproduce
Take a message which has \n in it. Share it via whatsapp on latest version of iOS
Code Sample
Logs
This doesn't give any issue in logs but the actual implementation.
Flutter Doctor
[✓] Flutter (Channel stable, 3.35.3, on macOS 26.0 25A354 darwin-arm64, locale en-IN) [639ms]
• Flutter version 3.35.3 on channel stable at /Users/harsh/Development/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision a402d9a437 (13 days ago), 2025-09-03 14:54:31 -0700
• Engine revision ddf47dd3ff
• Dart version 3.9.2
• 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 35.0.0) [2.3s]
• Android SDK at /Users/harsh/Library/Android/sdk
• Emulator version 35.2.10.0 (build_id 12414864) (CL:N/A)
• Platform android-36, build-tools 35.0.0
• Java binary at: /Library/Java/JavaVirtualMachines/jdk-17.jdk/Contents/Home/bin/java
This JDK is specified in your Flutter configuration.
To change the current JDK, run: `flutter config --jdk-dir="path/to/jdk"`.
• Java version Java(TM) SE Runtime Environment (build 17.0.12+8-LTS-286)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 26.0) [2.6s]
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 17A324
• CocoaPods version 1.16.2
[✓] Chrome - develop for the web [7ms]
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2024.2) [7ms]
• 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.3+-79915917-b509.11)
[✓] Connected device (4 available) [7.2s]
• A015 (mobile) • 00118655F002719 • android-arm64 • Android 15 (API 35)
• Harsh’s iPhone (wireless) (mobile) • 00008120-000278881138201E • ios • iOS 26.0 23A341
• macOS (desktop) • macos • darwin-arm64 • macOS 26.0 25A354 darwin-arm64
• Chrome (web) • chrome • web-javascript • Google Chrome 140.0.7339.133
! Error: Browsing on the local area network for iPad (2). Ensure the device is unlocked and attached with a cable or associated with the same
local area network as this Mac.
The device must be opted into Developer Mode to connect wirelessly. (code -27)
[✓] Network resources [1,328ms]
• 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
line break is not working with whatsapp
I would ask you to actually read the README instead of just checking everything in the checklist, especially the part about Meta and other 3rd party apps.
sharePositionOrigin seems to be mandatory now
It seems so based on a discussion in #3645. Thanks for another confirmation. I will test and do corresponding documentation update soon.
I did read the readme and not just marked everything on checklist. I was just sharing text not image + text (the case for which it has been mentioned in the readme), and this started happening now and wasn't happening before so I thought must be due to new iOS update, hence updated here.
+1
+1
I'm having the same issue but only when using Xcode 26
+1