screen bug fix
This commit is contained in:
6
index.js
6
index.js
@@ -4,9 +4,15 @@
|
||||
// import notifee, { AndroidImportance } from '@notifee/react-native';
|
||||
// import messaging from '@react-native-firebase/messaging';
|
||||
import { AppRegistry } from 'react-native';
|
||||
import { enableScreens } from 'react-native-screens';
|
||||
import App from './App';
|
||||
import { name as appName } from './app.json';
|
||||
|
||||
|
||||
enableScreens({
|
||||
freezeOnBlur: true, // background screen componenti freeze bo'ladi
|
||||
});
|
||||
|
||||
// messaging().setBackgroundMessageHandler(async remoteMessage => {
|
||||
// console.log('Background message:', remoteMessage);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user