EgorBo / EgorBo/Toasts.Forms.Plugin

Synchronous Notify() causes crash in release on iOS when tapped

Open
#158 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
275
Forks
81
PR merge metrics
No merged PRs in 30d

Description

When invoking Notify(callback, options) - the synchronous method - in an iOS app on the main thread, the app will crash when the user taps the notification. This happens only in the release build, the debug build behaves as expected. The async Notify(options) method works without problems in both debug and release builds.

When connecting the Xcode debugger to the running release build and then crash the app by tapping a notification, the debugger indicates that EXC_BAD_ACCESS occurs in System.Runtime.CompilerServices.AsyncMethodBuilderCore.MoveNextRunner.InvokeMoveNext() (InvokeMoveNext.cs:1089).

I have not tested this on Android as I was in a bit of a rush to fix the bug for a new release.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.