Skip to content

Trigger actions from widget #3

@svenadlung

Description

@svenadlung

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions