ShekarMudaliyar / social_share

Flutter package to share images/videos/text on social media
https://pub.dev/packages/social_share
MIT License
108 stars 179 forks source link

Share on ios is not providing share message to whatsapp and is buggy. #154

Open nicolasvahidzein opened 5 months ago

nicolasvahidzein commented 5 months ago

If i share an sms it works but it is not working for whatsapp but working for sms and other apps.

flutter: social_share package used
flutter: platform is iOS
[default] LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]}
[default] Attempt to map database failed: permission was denied. This attempt will not be retried.
[db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]}
[default] -imageForImageDescriptor: can do IO please adopt -imageForDescriptor: for IO free drawing or -prepareImageForDescriptor: if IO is allowed. (This will become a fault soon.)
[LayoutConstraints] Changing the translatesAutoresizingMaskIntoConstraints property of a UICollectionReusableView that is managed by a UICollectionView is not supported, and will result in incorrect self-sizing. View: <_UIActivityContentFooterView: 0x124be7d50; baseClass = UICollectionReusableView; frame = (20 1210.33; 374 52); layer = <CALayer: 0x281aa1700>>
[default] LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]}
[default] Attempt to map database failed: permission was denied. This attempt will not be retried.
[db] Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" UserInfo={NSDebugDescription=process may not map database, _LSLine=264, _LSFunction=-[_LSDReadClient getServerStoreWithCompletionHandler:]}
[default] -imageForImageDescriptor: can do IO please adopt -imageForDescriptor: for IO free drawing or -prepareImageForDescriptor: if IO is allowed. (This will become a fault soon.)
[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:0x283852df0 UIView:0x124bc4e60.height >= _UIActivityActionCellTitleLabel:0x124bc7030.height + 30   (active)>",
    "<NSLayoutConstraint:0x2838535c0 _UIActivityActionCellTitleLabel:0x124bc7030.height >= 22   (active)>",
    "<NSLayoutConstraint:0x283866ee0 'UIView-Encapsulated-Layout-Height' UIView:0x124bc4e60.height == 30   (active)>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x2838535c0 _UIActivityActionCellTitleLabel:0x124bc7030.height >= 22   (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.
[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:0x28385e120 UIView:0x124bd8600.height >= _UIActivityActionCellTitleLabel:0x124b72430.height + 30   (active)>",
    "<NSLayoutConstraint:0x28385c820 _UIActivityActionCellTitleLabel:0x124b72430.height >= 22   (active)>",
    "<NSLayoutConstraint:0x28388f980 'UIView-Encapsulated-Layout-Height' UIView:0x124bd8600.height == 30   (active)>"
)

Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x28385c820 _UIActivityActionCellTitleLabel:0x124b72430.height >= 22   (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.
[NSExtension] Extension request contains input items but the extension point does not specify a set of allowed payload classes. The extension point's NSExtensionContext subclass must implement `+_allowedItemPayloadClasses`. This must return the set of allowed NSExtensionItem payload classes. In future, this request will fail with an error.
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1433 (
    0   AXRuntime                           0x00000001a679db34 3EE11248-AFB7-3F71-AA60-DC0DE0BA79DE + 322356
    1   AXRuntime                           0x00000001a67533fc _AXGetPortFromCache + 708
    2   AXRuntime                           0x00000001a6754b0c AXUIElementPerformFencedActionWithValue + 488
    3   UIKit                               0x00000001f183f30c 9ABD51E0-AD68-35F5-990E-58C79CF8BB0F + 938764
    4   libdispatch.dylib                   0x00000001807b5924 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 10532
    5   libdispatch.dylib                   0x00000001807b7670 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 18032
    6   libdispatch.dylib                   0x00000001807bedf4 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 48628
    7   libdispatch.dylib                   0x00000001807bf968 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 51560
    8   libdispatch.dylib                   0x00000001807ca1b8 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 94648
    9   libsystem_pthread.dylib             0x00000001f151b0f4 _pthread_wqthread + 288
    10  libsystem_pthread.dylib             0x00000001f151ae94 start_wqthread + 8
)
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1433 (
    0   AXRuntime                           0x00000001a679db34 3EE11248-AFB7-3F71-AA60-DC0DE0BA79DE + 322356
    1   AXRuntime                           0x00000001a67533fc _AXGetPortFromCache + 708
    2   AXRuntime                           0x00000001a6754b0c AXUIElementPerformFencedActionWithValue + 488
    3   UIKit                               0x00000001f183f30c 9ABD51E0-AD68-35F5-990E-58C79CF8BB0F + 938764
    4   libdispatch.dylib                   0x00000001807b5924 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 10532
    5   libdispatch.dylib                   0x00000001807b7670 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 18032
    6   libdispatch.dylib                   0x00000001807bedf4 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 48628
    7   libdispatch.dylib                   0x00000001807bf968 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 51560
    8   libdispatch.dylib                   0x00000001807ca1b8 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 94648
    9   libsystem_pthread.dylib             0x00000001f151b0f4 _pthread_wqthread + 288
    10  libsystem_pthread.dylib             0x00000001f151ae94 start_wqthread + 8
)
[core] SLRemoteComposeViewController: (this may be harmless) viewServiceDidTerminateWithError: Error Domain=_UIViewServiceErrorDomain Code=1 "(null)" UserInfo={Terminated=disconnect method}
[AXRuntimeCommon] AX Lookup problem - errorCode:1100 error:Permission denied portName:'com.apple.iphone.axserver' PID:1433 (
    0   AXRuntime                           0x00000001a679db34 3EE11248-AFB7-3F71-AA60-DC0DE0BA79DE + 322356
    1   AXRuntime                           0x00000001a67533fc _AXGetPortFromCache + 708
    2   AXRuntime                           0x00000001a6754b0c AXUIElementPerformFencedActionWithValue + 488
    3   UIKit                               0x00000001f183f30c 9ABD51E0-AD68-35F5-990E-58C79CF8BB0F + 938764
    4   libdispatch.dylib                   0x00000001807b5924 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 10532
    5   libdispatch.dylib                   0x00000001807b7670 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 18032
    6   libdispatch.dylib                   0x00000001807bedf4 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 48628
    7   libdispatch.dylib                   0x00000001807bf968 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 51560
    8   libdispatch.dylib                   0x00000001807ca1b8 EDD169E1-D0DB-3808-A19E-99C1CD5A1C4C + 94648
    9   libsystem_pthread.dylib             0x00000001f151b0f4 _pthread_wqthread + 288
    10  libsystem_pthread.dylib             0x00000001f151ae94 start_wqthread + 8
)
start:786563412
flutter: _checkAppUpdates function inside home_initialized_widget.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: appUpdateAvailable: true
flutter: appUpdateAvailableDismissed: true
flutter: do not show the update dialog
flutter: _checkAppUpdates function inside home_initialized_widget.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: appUpdateAvailable: true
flutter: appUpdateAvailableDismissed: true
flutter: do not show the update dialog
flutter: accessToken round 3 at moment (2024-04-29 01:00:39.829133):
flutter: zT9qer3g8
flutter: _checkAppUpdates function inside home_initialized_widget.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: retrieveHiveSetting function inside user_repository.dart
flutter: appUpdateAvailable: true
flutter: appUpdateAvailableDismissed: true
flutter: do not show the update dialog
start:47024410