EgorBo / EgorBo/Toasts.Forms.Plugin
Synchronous Notify() causes crash in release on iOS when tapped
- 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.