esys-flutter-share
esys-flutter-share copied to clipboard
Fix iPhone/iPad Share
Fix issues #61 #46 #40 which basically are the same
For people who want to use these changes , update your pubspec.yaml in this way:
esys_flutter_share:
git:
url: https://github.com/aeyrium/esys-flutter-share
@diegoveloper just tested this in our instance, and it definitely works on iPad, but not on iPhones; at least on the iPhone 11 Pro Max sim.
Try :
flutter clean
flutter packages upgrade
No luck there, unfortunately
hmm that's weird, what's the error you get? could you check your pubspec.lock and see if my repo is there? did you try in iOS simulator?
It says:
esys_flutter_share:
dependency: "direct main"
description:
path: "."
ref: HEAD
resolved-ref: "53e5080ec3c2c23d62e5791e5b75bed889295726"
url: "https://github.com/aeyrium/esys-flutter-share"
source: git
version: "1.0.2"
@diegoveloper Thank for your solution.
But still have the problem on iPhone 8 / 13.4.1
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x600003a8d720 _UIActivityActionCellTitleLabel:0x7fbb41598790.height >= 22.5 (active)>",
"<NSLayoutConstraint:0x600003a8d270 V:|-(15)-[_UIActivityActionCellTitleLabel:0x7fbb41598790] (active, names: '|':UIView:0x7fbb4158e5b0 )>",
"<NSLayoutConstraint:0x600003a8d2c0 V:[_UIActivityActionCellTitleLabel:0x7fbb41598790]-(15)-| (active, names: '|':UIView:0x7fbb4158e5b0 )>",
"<NSLayoutConstraint:0x600003a86800 'UIView-Encapsulated-Layout-Height' UIView:0x7fbb4158e5b0.height == 52 (active)>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x600003a8d720 _UIActivityActionCellTitleLabel:0x7fbb41598790.height >= 22.5 (active)>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKitCore/UIView.h> may also be helpful.