Coder Social home page Coder Social logo

Comments (9)

payam-zahedi avatar payam-zahedi commented on September 15, 2024

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.

berkobob avatar berkobob commented on September 15, 2024

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.

payam-zahedi avatar payam-zahedi commented on September 15, 2024

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.

berkobob avatar berkobob commented on September 15, 2024

That works, thank you.

from snapp_cli.

payam-zahedi avatar payam-zahedi commented on September 15, 2024

@berkobob Can you share the final solution that you use?

I want add a update for it

from snapp_cli.

berkobob avatar berkobob commented on September 15, 2024

I find the process ID as you showed me and then kill the process.

from snapp_cli.

payam-zahedi avatar payam-zahedi commented on September 15, 2024

Alright,

If I get it right, you did this process manually right?

You did not change the custom_devices.json file

from snapp_cli.

berkobob avatar berkobob commented on September 15, 2024

No, I didn't.

from snapp_cli.

payam-zahedi avatar payam-zahedi commented on September 15, 2024

Thanks @berkobob

from snapp_cli.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.