Expensify / react-native-share-menu

A module for React Native that adds your app to the share menu of the device
MIT License
653 stars 238 forks source link

Slow load up on custom share menu view for iOS - white screen delay #120

Open ahmadardal opened 3 years ago

ahmadardal commented 3 years ago

Hello!

I have added this share menu to my React Native project. Everything was running okay last time I checked a few weeks ago. Now when I build my project again and try it out I experience a big delay which certainly did not exist before.

When I go to a website and select a random text, and then press "Share" and select my app. It takes approx. 6-7 secconds at least until the actual shareview is loaded. Under the time you only see a white shareview. I have no idea why this even happened by itself, since I haven't played with any of the codes. Have anyone experience something similiar?

mountain-hiker commented 2 years ago

Just tested on a new react native project, there was indeed slow performance.

I wrote a quick native app in swift to compare and it was pretty snappy.

Any ideas what might be causing this?

ahmadardal commented 2 years ago

I don't know, perhaps we should re-write a new library written in Swift, and make a bridge over to react native?

frozencap commented 2 years ago

getting this as well, takes about 10 seconds to load the component. Meanwhile, white screen