Open koiosoft opened 6 months ago
I see on the documentation:
ReactNativeForegroundService.start({ id: 1244, title: 'Soli360', message: 'Soporte a la fuerza de ventas.', icon: 'ic_launcher', button: true, button2: true, buttonText: 'Enviar mi posición geográfica...', button2Text: 'Cancelar', buttonOnPress: 'cray', button2OnPress: 'otraAccion',
setOnlyAlertOnce: 'true', color: '#000000',
});
But i don't know how receive the actions on button, button2?
The documentation don't show how do that.
I see on the documentation:
ReactNativeForegroundService.start({ id: 1244, title: 'Soli360', message: 'Soporte a la fuerza de ventas.', icon: 'ic_launcher', button: true, button2: true, buttonText: 'Enviar mi posición geográfica...', button2Text: 'Cancelar', buttonOnPress: 'cray', button2OnPress: 'otraAccion',
});
But i don't know how receive the actions on button, button2?
The documentation don't show how do that.