You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having trouble receiving notifications on Xiaomi devices as the notification can't appear in floating notification mode, I'm only receiving notifications with little importance even though the channel is set to HIGH importance.
import 'react-native-reanimated'
import {AppRegistry} from 'react-native';
import Index from './Modulos/Index/Index';
import {name as appName} from './app.json';
import NotificationHelper from "./Helpers/NotificationHelper";
let notificacao = new NotificationHelper();
notificacao.createNotificationChannel();
notificacao.createOnNotificationOpenedAPP();
notificacao.createOnBackgroundEvent();
notificacao.createOnForegroundEvent();
notificacao.createBackgroundHandler();
AppRegistry.registerComponent(appName, () => Index);
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Good afternoon guys!
I'm having trouble receiving notifications on Xiaomi devices as the notification can't appear in floating notification mode, I'm only receiving notifications with little importance even though the channel is set to HIGH importance.
My NotificationHelper.js code
My code in init NotificationHelper.js
The firebase.json code
My package.json
Can someone help me?
Beta Was this translation helpful? Give feedback.
All reactions