Git Product home page Git Product logo

Comments (12)

jpnurmi avatar jpnurmi commented on August 19, 2024

Hi, there's some discussion at jpnurmi/libserialport.dart#3 that might be helpful.

from flutter_libserialport.

EParisot avatar EParisot commented on August 19, 2024

Hi and thank you.
Unfortunately, it seems the discussion you mentioned doesn't really deals with Android permissions... At least, it seems that a rooted device have no problem, but it's not my case. I can access to external memory of the phone with permission but /tty reside in the internal memory...

from flutter_libserialport.

jpnurmi avatar jpnurmi commented on August 19, 2024

Sorry, I don't know how to deal with a non-rooted device.

from flutter_libserialport.

EParisot avatar EParisot commented on August 19, 2024

Sorry, I don't know how to deal with a non-rooted device.

Ok I'll try to figure it out... It may be possible since the usb_serial package works but I wanted to add Desktop compatibility to my app...
Thanks !

from flutter_libserialport.

realrk95 avatar realrk95 commented on August 19, 2024

@EParisot Glad to see you here too. I have not faced this issue on my non-rooted android. Maybe it's the device you're using?

from flutter_libserialport.

EParisot avatar EParisot commented on August 19, 2024

Haha are we working on the same thing ?

How really ? That's interesting...
I use an ESP32 plugged in a OnePlus5... Android 10
What is your Android version ?

from flutter_libserialport.

realrk95 avatar realrk95 commented on August 19, 2024

I'm working on a home environment monitoring project which auto triggers ac/heater accordingly to maintain 24 degrees C.
Am using ATmega custom-designed PCBs due to significant low cost and efficiency). My phone is Xiaomi Mi 9T/K20 Pro on Android 10. I don't like some aspects of this library that have to be made manually. Had to abstract a class with a reactive state just to detect if the device is plugged in or not. Would prefer if someone made a library or at least templates that allow streaming data through providers to change UI accordingly.

from flutter_libserialport.

EParisot avatar EParisot commented on August 19, 2024

Ok looks cool project !
I don't really get why you need usb serial thought... But I ended with another package with a more complete API, as you know...

from flutter_libserialport.

wrjcs avatar wrjcs commented on August 19, 2024

Ok looks cool project !
I don't really get why you need usb serial thought... But I ended with another package with a more complete API, as you know...

Hello,
did you resolve this issue?

from flutter_libserialport.

EParisot avatar EParisot commented on August 19, 2024

No I used usb_serial instead

from flutter_libserialport.

SathyaPratapRudra avatar SathyaPratapRudra commented on August 19, 2024

hi all, even I am facing the permission issue with non rooted phone @realrk95 can you please share your sample code.

from flutter_libserialport.

lucafabbri avatar lucafabbri commented on August 19, 2024

We put permission handling in todo.
Activity is tracked in #76
Closed

from flutter_libserialport.

Related Issues (20)

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.