fix: add no clear flag to video conf android notification (#5508)

This commit is contained in:
Gleidson Daniel Silva 2024-01-22 17:53:09 -03:00 committed by GitHub
parent 4b9e4d123c
commit dc0f824638
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
import notifee, { AndroidCategory, AndroidImportance, AndroidVisibility, Event } from '@notifee/react-native';
import notifee, { AndroidCategory, AndroidFlags, AndroidImportance, AndroidVisibility, Event } from '@notifee/react-native';
import messaging from '@react-native-firebase/messaging';
import AsyncStorage from '@react-native-async-storage/async-storage';
import ejson from 'ejson';
@ -96,7 +96,8 @@ const displayVideoConferenceNotification = async (notification: NotificationData
pressAction: {
id: 'default',
launchActivity: 'default'
}
},
flags: [AndroidFlags.FLAG_NO_CLEAR]
}
});
};