Skip to content

Fix iOS v8 runtime crashing#85

Open
Archez wants to merge 3 commits into
davecoffin:masterfrom
Archez:master
Open

Fix iOS v8 runtime crashing#85
Archez wants to merge 3 commits into
davecoffin:masterfrom
Archez:master

Conversation

@Archez

@Archez Archez commented Apr 29, 2021

Copy link
Copy Markdown

fixes #83

This should fix issue #83 when running with an iOS v8 runtime >7.0.6 and/or with latest nativescript/core.
I couldn't figure it out exactly why, but the objc marshaller was crashing with a bad pointer access when trying to wrap the native object params for the button handler methods. Since the native event param was not being used, simply removing it was sufficient to fix the crash.

I also rearranged the button handler implementation/declaration to be more in line with the rest of the nativescript core components (which should hopefully improve garbage collection in theory).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crashes on iOS 14.4 when selecting 'Cancel' or 'Done'

2 participants