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

Custom ios share modal crashes due to memory overflow (120mb)

Open ErangaD opened this issue 2 years ago • 1 comments

Thanks to the developers for this awesome library. Recently I am experiencing an issue related to crashing of the ios custom share modal.

Description When an ios custom share modal is used to share a url from other apps, sometimes it crashes. I am experiencing this on ios 15 (both iphone 13 and 13 pro max). This mostly happens when trying to share an url from an app's in built browser (that means we lick on the link within the app and link is opened within the app: ex: slack, gmail etc) (video)

https://user-images.githubusercontent.com/17006912/178722921-892d986b-8e93-41df-afe4-f9144f2815d6.mov

this happens specially when the website loaded is heavy (has lot of content). For example this link causes the issue always. (https://www.redfin.com/CA/Menlo-Park/208-Willow-Rd-94025/home/1124536?utm_source=myredfin&utm_medium=email&utm_campaign=recommendations_update&riftinfo=ZXY9ZW1haWwmbD0zMjA3OTkzMiZwPWxpc3RpbmdfdXBkYXRlc19yZWNvbW1lbmRhdGlvbnMmYT1jbGljayZzPXJlY29tbWVuZGF0aW9ucyZ0PWFkZHJlc3MmZW1haWxfaWQ9MzIwNzk5MzJfMTY1NzQ1OTIwOF82JnVwZGF0ZV90eXBlPTEmbGlscl9zY29yZT0wLjg5OTcmbGlzdGluZ19pZD0xNTM0Mzc1NzkmcHJvcGVydHlfaWQ9MTEyNDUzNiZwb3NpdGlvbl9udW1iZXI9MA==). I think it is related to the extension context. I checked the memory while running the share modal and following issues can be seen in xcode (screenshots). Screenshot 2022-07-12 at 11 53 32

Screenshot 2022-07-12 at 11 21 56

Version 6.0.0

ErangaD avatar Jul 13 '22 11:07 ErangaD

Hello @ErangaD, I'm having the same issue as well

Have you been able to resolve this?

remiilekun avatar Sep 05 '22 17:09 remiilekun