Closed KwangsubAhn closed 5 years ago
since it sounds like a xiaomi device, have you granted notification permission in phone settings?
thanks evollu, you are right.
There was setting for notification permission in xiaomi device. Didn't know xiaomi phone has its own security setting.
When openning an issue, please include following information for better support
What version of RN and react-native-fcm are you running? "react-native": "^0.48.4", "react-native-fcm": "^9.6.2",
What device are you using? (e.g iOS9 emulator, Android 6 device)? Android - MI Max
Is your app running in foreground, background or not running? iOS - Running well. Android - only in kill state, doesnt get notification.
Here is my code. Please give me some advice. Thanks in advance. (I also tried to send a message through postman, same thing happened. iOS receives message well, but Android does not get the message only when the app is killed.)
AndroidManifest.xml <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.mpowerapp" android:versionCode="23" android:versionName="1.0.0">
Client Side - RN app.js (Listener.js is the same as example you provided)
Server Side - Java having remote notification code