Skip to content

Another take at fixing logged crashes#55

Merged
OvrBtn merged 2 commits into
mainfrom
fixing-crashes
Nov 23, 2025
Merged

Another take at fixing logged crashes#55
OvrBtn merged 2 commits into
mainfrom
fixing-crashes

Conversation

@OvrBtn

@OvrBtn OvrBtn commented Nov 23, 2025

Copy link
Copy Markdown
Owner
  • Fix MethodAndroid.Runtime.AndroidEnvironmentInternal.UnhandledException(System.Exception)' is inaccessible (...)`
  • Add try catch around RequestNotificationPermission

Notes

System.MethodAccessException: Method `Android.Runtime.AndroidEnvironmentInternal.UnhandledException(System.Exception)' is inaccessible from method `AndroidX.Fragment.App.Fragment.n_OnCreateView_Landroid_view_LayoutInflater_Landroid_view_ViewGroup_Landroid_os_Bundle__mm_wrapper(intptr,intptr,intptr,intptr,intptr)'
   at AndroidX.Fragment.App.Fragment.n_OnCreateView_Landroid_view_LayoutInflater_Landroid_view_ViewGroup_Landroid_os_Bundle__mm_wrapper(IntPtr jnienv, IntPtr native__this, IntPtr native_inflater, IntPtr native_container, IntPtr native_savedInstanceState)

Was likely caused by marshal methods and a bug in net android,
tracking at https://github.com/dotnet/android/issues/10602.

@OvrBtn
OvrBtn merged commit 2d3d2b0 into main Nov 23, 2025
5 checks passed
@OvrBtn
OvrBtn deleted the fixing-crashes branch November 25, 2025 08:33
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.

1 participant