skip to Main Content

How can i pass a data from an html form to an Flutter app..

This is an basic html form. I need to pass the values from this to a Flutter app.. How can i do that? For an example, consider a pwa. where the form (or login) would be from html and the other operations would be on Flutter (Android/ iOS). For now i want the data on to this for to be displayed upon flutter mobile app Is there any way to achieve this?!

form image

2

Answers


  1. If the form is rendered in a platform WebView then its data will have to be sent to a server (which can be your server). The server then notifies the app (via Firebase Cloud Messaging, for example) or the app queries the server. You will need a persistent id across these messages so you can link them.

    If you don’t own the server that this form sends its data to, then for security reasons you cannot intercept this in a Flutter app.

    Login or Signup to reply.
  2. You should make your Form in Flutter and use TextEditingCotroller for getting the values from the text fields..

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search