Comments (9)
Hey @berkobob
Happy to hear it is useful for you.
I will investigate about this.
I guess it's not possible from the flutter side, but maybe we can do a trick and kill the app by app ID.
I will let you know about possibilities.
from snapp_cli.
Any luck with this? I'm having to reboot the pi each time because I don't know the name (or number) of the process to kill. Thanks!
from snapp_cli.
Unfortunately, I didn't manage to check this issue.
you can find the app ID with this command
app_pid=$(pgrep -f "$app_command")
app_command=/tmp/\${appName}/build/linux/arm64/debug/bundle/\${appName}
If you want to work on this you can add this line in your custom_devices.json file after the line we lauch the app
from snapp_cli.
That works, thank you.
from snapp_cli.
@berkobob Can you share the final solution that you use?
I want add a update for it
from snapp_cli.
I find the process ID as you showed me and then kill the process.
from snapp_cli.
Alright,
If I get it right, you did this process manually right?
You did not change the custom_devices.json file
from snapp_cli.
No, I didn't.
from snapp_cli.
Thanks @berkobob
from snapp_cli.
Related Issues (16)
- Problem with elements HOT 4
- Improvement: Speed up the sending files to the Remote Device HOT 1
- Cannot run the app to Pi 4B HOT 16
- Support for other custom embedders like flutter-pi and ivi-homescreen
- Integrate Flutter-Pi to snapp_cli so that you can install Flutter-Pi (via snapp_installer) and run apps with the Flutter-Pi embedder as well.
- Get Flutter-Gallery running with ivi-homescreen on a Raspberry-Pi 5
- Integrate ivi-homescreen to snapp_cli so that you can install ivi-homescreen (via. snapp_installer) and run apps with the ivi-homescreen embedder as well. HOT 1
- [analysis issue] on pub.dev
- Version solving failed when trying to activate (Flutter 3.22.2) HOT 1
- Get Flutter-Gallery running with ivi-homescreen on Linux
- Create video for flutter-pi user – short version
- Bug: interaction is not working properly with mason logger
- 1.0.2 error install on Windows 10 with flutter 3.24.0 - Method not found: 'UnmodifiableUint8ListView'. HOT 4
- Bug: bootstrap command failed at the first time
- Add device fails HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from snapp_cli.