fix: tampilan

Deskrispi:
- color input
- value length

No ISSues
This commit is contained in:
2025-07-02 16:49:34 +08:00
parent 32908e1362
commit b38d339a28
4 changed files with 11 additions and 9 deletions

View File

@@ -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