xamarin / Essentials

Xamarin.Essentials is no longer supported. Migrate your apps to .NET MAUI, which includes Maui.Essentials.
https://aka.ms/xamarin-upgrade
Other
1.52k stars 506 forks source link

[Bug] [Bug] Xamarin Essentials connectivity - Android 14 Crash - java.lang.SecurityException:One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts(API level 34) #2113

Closed abdul-wasey closed 11 months ago

abdul-wasey commented 11 months ago

Xamarin.Essentials (1.8.0) connectivity - Android 14 Crash - java.lang.SecurityException:One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts(API level 34)[Bug]

Expected Behavior

The app should not crash while running on Android 14.

Actual Behavior

The app is crashing while running on Android 14 due to missing flags ( RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED).

Basic Information

jfversluis commented 11 months ago

Duplicate of #2107