I am developing a mobile app with react native.
The app is ready and finished for the iOS and Android platforms. However, I have to implement new functionalities in order to make my App working on Huawei devices (whose use HMS).
I am currently implementing @hmscore/react-native-hms-push
. The plugin works correctly on Huawei devices, however, on Android devices, such as Samsung, it causes me the following problem: when I start my App on the Samsung, a prompt appears telling me the HMS Services are not installed and it asks if I want to install them or not (Yes/No).
I would like this prompt to never appear on non-Huawei devices. The user should never see this prompt and continue to use FCM Push.
In fact, if HMS Services are installed on Samsung, I have problems managing different Push Tokens and other logics.
How can I prevent the @hmscore
plugin from showing this prompt when starting the App?