Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Foreground Notification don't have event handlers on buttons #90

Open
koiosoft opened this issue May 15, 2024 · 0 comments
Open

Foreground Notification don't have event handlers on buttons #90

koiosoft opened this issue May 15, 2024 · 0 comments

Comments

@koiosoft
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant