This Flutter demo app is a full-stack implementation of how we can control an app from the server side/backend. For example, in this demo app, I have written code to show the snackbar & click-photo on the device by triggering an event/API from my server-side/backend. Similarly, you can use this methodology to propagate your action on your app just by triggering an event/API from the server side.
Node.js server: https://github.com/akashmishra242/server-side-multi-device-remote-access-server
- control multiple devices from the server by triggering an even/API.
- for e.g. show the snackbar on the screen controlled from the backend.
- for e.g. capturing photos remotely.
- This project is licensed under the MIT License - see the LICENSE file for details
open your command prompt & go to the directory where you want to create your flutter project.
git clone https://github.com/akashmishra242/server_side_multi_device_remote_access.git #to fork this flutter project
cd .\flutter_onesignal_push_notification\ #navigate to the working directory
code . #open your vs code
go to the directory where you want to run your server & run the following command:
git clone https://github.com/akashmishra242/server-side-multi-device-remote-access-server.git # to fork my node.js server
cd .\flutter_onesignal_push_notification\ #navigate to the working directory
code . #open your vs code
now to run the server, run the following command in your VS Code Terminal(Node.js server):
npm run dev #to run the node.js server
now to run the app, run the following command in VS Code Terminal(flutter):
flutter pub get #to install and update packages & dependencies.
flutter run #to run the flutter app
Give your feedback at [email protected]