Skip to content

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

@ErangaD

Description

@ErangaD

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)

RPReplay_Final1657639075.2.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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions