react-native-social-share icon indicating copy to clipboard operation
react-native-social-share copied to clipboard

SLServiceType is deprecated in iOS 11.0

Open oodemi opened this issue 8 years ago • 5 comments
trafficstars

I use it conveniently. Thank you.

By the way, SLSServiceType seems to be unusable on iOS 11. Are there plans to correspond here?

2017-09-11 23 04 16

oodemi avatar Sep 13 '17 12:09 oodemi

Hey @oodemi

Thank you for letting me know about this. Looking at Apple Developer Documentation it seems like there is still a serviceType. https://developer.apple.com/documentation/social/slcomposeviewcontroller?language=objc

I am curious what suggested changes Xcode shows. Do you have any input on what to change to make it compatible with iOS 11?

doefler avatar Sep 13 '17 17:09 doefler

[core] isAvailableForServiceType: for com.apple.social.facebook returning NO

So it not works in iOS 11. Any plans for the update, @doefler?

tahirsohaib avatar Oct 18 '17 19:10 tahirsohaib

@TechGennie Hey thanks for letting me know about this 😄 Any suggestions for how to solve this?

doefler avatar Oct 18 '17 19:10 doefler

Seems like it's not fixable easily: https://stackoverflow.com/a/47054319 https://stackoverflow.com/a/47352766

What about using the workaround for isAvailableForServiceType described on the second link until some better solution shows up?

zerazeru avatar Dec 11 '17 12:12 zerazeru

[core] isAvailableForServiceType: for com.apple.social.facebook is always returning NO

So it not works in iOS 11. how to solve @doefler ?

sagarathod avatar Aug 07 '18 12:08 sagarathod