Actually I was wondering how I can add actions for example on pressing a button within the Today Widget. I am not quite sure about the limitations since I am sure it's sandboxed and something like alert() doesn't work in this particular situation.
In my case I wanna trigger a phone call. In my code I do use the react-native-communications package, which is working fine within the app but in the widget I don't get this running.
I guess at least there must be a way to open my app on pressing the button which is triggering the call. Any suggestions on this?
Actually I was wondering how I can add actions for example on pressing a button within the Today Widget. I am not quite sure about the limitations since I am sure it's sandboxed and something like alert() doesn't work in this particular situation.
In my case I wanna trigger a phone call. In my code I do use the
react-native-communicationspackage, which is working fine within the app but in the widget I don't get this running.I guess at least there must be a way to open my app on pressing the button which is triggering the call. Any suggestions on this?