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

Trigger actions from widget #3

Open
svenadlung opened this issue May 16, 2017 · 2 comments
Open

Trigger actions from widget #3

svenadlung opened this issue May 16, 2017 · 2 comments

Comments

@svenadlung
Copy link

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?

@rclai
Copy link
Owner

rclai commented May 17, 2017

I haven't had the time to work on this lately, but perhaps someone from the community can shed light on this.

@svenadlung
Copy link
Author

@rclai that would be awesome. I tried alert and also regular linking but both didn't work. I am wondering at least how to open the main app...

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

2 participants