Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash on startup for older Android devices
The overload to the registerReceiver method with a flags parameter was introduced in API level 26 (Android 8.0), which leads to an instant crash on startup on devices running older versions of Android. Adjusted the implementation to use the previous signature of registerReceiver on devices with API levels below 26.
- Loading branch information