Skip to content

react-native android device #243

@Razzwan

Description

@Razzwan

I try to use mimic with react-native and android device:

  1. install mimic-remote and mimic
  2. add this strings to project:
const connect = require('mimic/react-native').default
connect({ host: 'localhost', port: 5000 })
  1. start mimic-remote with command:
    mimic-remote
  2. add port to listen by device:
    adb reverse tcp:5000 tcp:5000

Result is: mimic is available from web interface with route localhost:5000 but when I try to use it I catch the error:

Can you help me?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions