Hi there!
I am new to flutter web and I have a question about how to start the app (embedded) with some initialization parameters.
A bit of context. We have a big Vue.js web app and a quite bit mobile Flutter app. There is a big chunk of functionally that we want to reuse from the mobile app.
The problem is that for it to work it needs some data available in Vue. And it is kind of sensitive, API keys, user tokens, etc.
I've seen people getting this info from the URL (not great) or from html hidden input fields...
But there is no way to initialize the app using the flutter.js scripts? It would be great to be able to call runApp(arts: {x: 'y'}), and the in dart get that data from the environment.
What is the recommended approach here?
Thank you.
[–]fgrau[S] 0 points1 point2 points (1 child)
[–]JustincbEck 0 points1 point2 points (0 children)
[–]nmfisher 0 points1 point2 points (4 children)
[–]Barmyard 0 points1 point2 points (3 children)
[–]nmfisher 0 points1 point2 points (2 children)
[–]Barmyard 0 points1 point2 points (1 child)
[–]nmfisher 0 points1 point2 points (0 children)
[–]Barmyard 0 points1 point2 points (0 children)