I am working on a React Native CLI project and need to implement Android services, specifically Foreground and Background services. However, most of the tutorials I’ve found are outdated, and the packages they use were last updated several years ago. Many of these solutions also require an older SDK version, which is not compatible with the latest React Native and Android versions.
I am looking for a modern and reliable approach to achieve this functionality. Could someone please guide me on the best practices or recommend any updated libraries that work with the latest React Native and Android SDK?
Any help, code snippets, or references would be greatly appreciated. Thank you!