tjvantoll / nativescript-social-share

♻️ A NativeScript plugin for using the iOS/Android social sharing widgets
MIT License
94 stars 48 forks source link

Breaks when running on iPad Pro with iOS 13.4.1 #57

Open geraldapeoples opened 4 years ago

geraldapeoples commented 4 years ago

When running on iPad Pro with iOS 13.1 it works ... with iOS 13.4.1 get an error with layout contstraints -

2020-05-14 10:43:00.689259+0100 rrmobilepsl[24093:603272] [LayoutConstraints] Unable to simultaneously satisfy constraints. 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:0x6000000581e0 LPLinkView:0x7fdb617aa2f0.leading == UILayoutGuide:0x600001ab1b20'UIViewLayoutMarginsGuide'.leading (active)>", "<NSLayoutConstraint:0x600000058050 H:[LPLinkView:0x7fdb617aa2f0]-(59)-| (active, names: '|':_UIActivityContentTitleView:0x7fdb617acc70 )>", "<NSLayoutConstraint:0x600000059c70 H:|-(0)-[_UIActivityContentTitleView:0x7fdb617acc70] (active, names: '|':_UINavigationBarContentView:0x7fdb614c5a60 )>", "<NSLayoutConstraint:0x600000059cc0 _UIActivityContentTitleView:0x7fdb617acc70.trailing == _UINavigationBarContentView:0x7fdb614c5a60.trailing (active)>", "<NSLayoutConstraint:0x600000066a30 'UIView-Encapsulated-Layout-Width' _UINavigationBarContentView:0x7fdb614c5a60.width == 0 (active)>", "<NSLayoutConstraint:0x6000000580f0 'UIView-leftMargin-guide-constraint' H:|-(16)-UILayoutGuide:0x600001ab1b20'UIViewLayoutMarginsGuide' (active, names: '|':_UIActivityContentTitleView:0x7fdb617acc70 )>" )

Will attempt to recover by breaking constraint <NSLayoutConstraint:0x6000000581e0 LPLinkView:0x7fdb617aa2f0.leading == UILayoutGuide:0x600001ab1b20'UIViewLayoutMarginsGuide'.leading (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. 2020-05-14 10:43:06.528249+0100 rrmobilepsl[24093:603438] [ShareSheet] connection invalidated

mwagnurr commented 4 years ago

I have the same issue on my iPad Air 2, 13.3

on several iPhone devices I tested it on it worked fine

did you figure out what might be the problem here?