Closed dpreussler closed 8 months ago
Thanks! I'll try to take a look soon. PRs are welcome, though.
couldnt get the project to run... otherwise would have opened a PR 🙈 change is quite simple, sth like that:
private void registerRequestCaptureReceiver() {
if (SDK_INT >= Build.VERSION_CODES.O) {
getContext().registerReceiver(requestCaptureReceiver, requestCaptureFilter, RECEIVER_NOT_EXPORTED);
} else {
getContext().registerReceiver(requestCaptureReceiver, requestCaptureFilter);
}
}
@mattprecious any idea when to get a new release?
2.3.0 has been released.
is not usable on Android 14 anymore as of :
Runtime-registered broadcasts receivers must specify export behavior Apps and services that target Android 14 and use context-registered receivers are required to specify a flag to indicate whether or not the receiver should be exported to all other apps on the device: either RECEIVER_EXPORTED or RECEIVER_NOT_EXPORTED, respectively. This requirement helps protect apps from security vulnerabilities by leveraging the features for these receivers introduced in Android 13. https://developer.android.com/about/versions/14/behavior-changes-14#runtime-receivers-exported