En mi aplicación nativa de reacción estoy usando notificaciones de firebase, en mi controlador de notificaciones en primer plano tengo este método, cambio el valor a verdadero, espero 3 segundos y luego vuelvo a cambiar a falso, pero no funciona...
Aplicación.js
const handleForegroundNotification = (message) => { const typingTimer = null; mapStore.setNotificationModalVisible(true); mapStore.setNotificationModalData(message); typingTimer = setTimeout(() => { mapStore.setNotificationModalVisible(true); }, 5000); };
No hay registro de errores.