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

Communication between native thread and flutter #73

Open
henkaumio opened this issue Feb 6, 2024 · 2 comments
Open

Communication between native thread and flutter #73

henkaumio opened this issue Feb 6, 2024 · 2 comments
Labels
question Further information is requested

Comments

@henkaumio
Copy link

Hey sorry for creating an issue to ask my question.

Is there any way to send data from native to flutter without opening the app via urlScheme/Deeplink?
I would like to create a timer that can be resumed and paused from the liveactivity widget, so i would like to update the flutter state from the native side without opening the app.

Thanks

@istornz
Copy link
Owner

istornz commented Feb 7, 2024

Hello @henkaumio I think you could take a look at MethodChannel :)

https://medium.com/@iiharish97ii/method-channel-in-flutter-bridging-native-code-and-flutter-with-two-way-communication-788d1e91c8c1

@istornz istornz added the question Further information is requested label Feb 7, 2024
@charlesRmajor
Copy link
Contributor

Hello @henkaumio I think you could take a look at MethodChannel :)

https://medium.com/@iiharish97ii/method-channel-in-flutter-bridging-native-code-and-flutter-with-two-way-communication-788d1e91c8c1

Hey @henkaumio, were you able to get this working?

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

No branches or pull requests

3 participants