Hello,
I would like to know how could I add an action button to Android’s notification using react-native wrapper.
I guess I should add some intents to notification’s config props, but I have no idea how can I specify these options. I would like to know how to add an intent to, for example, stop observer and launch application.
const config = {
notification: {
title: ‘Searching beacons…’,
text: ‘Currently tracking beacons.’,
channel: {
id: ‘exploration-mode’,
name: ‘Exploration Mode’,
},
},
};
I will really appreciate any help.