Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error from getdevicelist () #36

Open
Twaedx opened this issue Apr 14, 2021 · 3 comments
Open

error from getdevicelist () #36

Twaedx opened this issue Apr 14, 2021 · 3 comments

Comments

@Twaedx
Copy link

Twaedx commented Apr 14, 2021

Hello,

When I plug in my device, I get the error "error from getdevicelist () undefined undefined.
Do you have a solution ?

Thank you

@thahseen21
Copy link

SerialPort.RNSerialport.getDeviceList().then(response =>{}) try this

@theorime
Copy link

I have the same problem with another similar lib. The problem is that with RN > 0.6, the method WritableArray.pushMap doesn't accept WritableMap as argument anymore. It needs a ReadableMap.

But I have no idea how to solve this issue... Maybe there's a way to transform a WritableMap to a ReadableMap, but I'm unable to find it.

@zahhaoui
Copy link

Same here, any solutions ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants