tjvantoll / nativescript-social-share

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

Not Working when it is called from a ModalView #46

Open vpdevportal opened 4 years ago

vpdevportal commented 4 years ago

Nothing happens when it is called from a ModalView.

fersanraphael commented 4 years ago

What he wanted to say is that when you're trying to use share social plugin inside a modal on IOS, nothing happen on mobile, by the way, if you take a look at VS Code console, will see something like this:

Warning: Attempt to present <UIActivityViewController: 0x15be1d60> on <UINavigationController: 0x14608e80> whose view is not in the window hierarchy!

@tjvantoll

bbroereES commented 4 years ago

I was able to solve this problem in my case on iOS using https://github.com/tjvantoll/nativescript-social-share/pull/45