tjvantoll / nativescript-social-share

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

Doesn't show up when running on any iPad with iOS 13.6 #62

Open Pandishpan opened 4 years ago

Pandishpan commented 4 years ago

Hi @tjvantoll on the current version of iOS (13.6) on any iPad, the share window doesn't appear. It pops up just the border/shadow of the window in the top left corner. I'm using the latest version of Nativescript stack with Angular.

On any other device is working perfectly fine.

Screenshot 2020-08-10 at 12 50 12

Pandishpan commented 4 years ago

@tjvantoll do you accept pull requests?

In case if there are any other people facing the same issue I manage to fix it by providing the sourceRect for presentViewController.

After line 15, I added in social-share.ios.ts: presentViewController.sourceRect = CGRectMake(100,500,100,100);

The sharing window will pop-up in the middle on the screen for Ipads.