fix: tampilan
Deskrispi: - color input - value length No ISSues
This commit is contained in:
@@ -2,6 +2,7 @@ import { getApp, getApps, initializeApp } from '@react-native-firebase/app';
|
||||
import { getMessaging } from '@react-native-firebase/messaging';
|
||||
import { useEffect } from 'react';
|
||||
import { PermissionsAndroid } from 'react-native';
|
||||
import { pushToPage } from './pushToPage';
|
||||
|
||||
// Your Firebase project configuration
|
||||
const RNfirebaseConfig = {
|
||||
@@ -23,7 +24,8 @@ const initializeFirebase = async () => {
|
||||
// Set auto initialization and background message handler
|
||||
mess.setAutoInitEnabled(true);
|
||||
mess.setBackgroundMessageHandler(async remoteMessage => {
|
||||
console.log('Message handled in the background!', remoteMessage);
|
||||
// console.log('Message handled in the background!', remoteMessage);
|
||||
// pushToPage(String(remoteMessage?.data?.category), String(remoteMessage?.data?.content))
|
||||
});
|
||||
|
||||
return mess
|
||||
|
||||
Reference in New Issue
Block a user