## The problem
Hello everyone! Since last week, we updated our android sdk to 34, to support Android 14, and we are getting some crashes on firebase: `Fatal Exception: java.lang.SecurityException: com.my-test-app.app: One of RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED should be specified when a receiver isn't being registered exclusively for system broadcasts at android.os.Parcel.createExceptionOrNull(Parcel.java:3057) at android.os.Parcel.createException(Parcel.java:3041) at android.os.Parcel.readException(Parcel.java:3024) at android.os.Parcel.readException(Parcel.java:2966) at...
## The fix
Upgrade React Native Purchases to 6.2.1 or newer. Android 14 requires `RECEIVER_EXPORTED` or `RECEIVER_NOT_EXPORTED` when registering a broadcast receiver, and the crash was fixed in the SDK at 6.2.1. If you target SDK 34 / Android 14, staying on an older Purchases version keeps crashing; updating is the fix.