Skip to content

Support for Android? #310

@chmuhammadasim

Description

@chmuhammadasim

Hello,

I am trying to build a mobile application using React native that can connect to lightway server but I am not sure how to do that. I have read the documentation but I was not able to find the answer. I want to build .so file that I can connect with react native. These are the things that I tried.

  • Building .so using lightway-core but the supported build is only for [linux|macos|windows].
  • I tried to use lightway-client as well but I am not able to build the rust files in order to use them in the project using JNI etc.

In lightway repository inside lightway-app-utils and lightway-client code, I have seen multiple places where we are disabling the mobile like

#[cfg(mobile)]
Err(std::io::Error::from(std::io::ErrorKind::Unsupported))

Can you guys tell me what am I doing wrong? Also, Is it supported on mobile or is it there only for desktop for now?

Any help would be appreciated.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions