Skip to content

How to connect time travel client desktop app to android/ios emulator app? #289

Answered by arkivanov
plusmobileapps asked this question in Q&A
Discussion options

You must be logged in to vote

For Android it is better to connect via ADB. The idea plugin is able to connect only via ADB. The desktop client app has settings with both ADB and IP/port modes. When ADB mode is used, the client executes an adb command to forward TCP port (6379) between the app and the host. Then it connects as usual to localhost:6379. If not using the ADB mode, you will have to forward the port manually via ADB.

For iOS, you need to add mvikotlin-timetravel module as API dependency and export it to the framework as usual: https://github.com/arkivanov/MVIKotlin/blob/4e0624946fe24a2fc47ecbfeb35a6fecaf09f709/sample/todo-darwin-umbrella/build.gradle.kts#L27

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@plusmobileapps
Comment options

@arkivanov
Comment options

@arkivanov
Comment options

@plusmobileapps
Comment options

@arkivanov
Comment options

Answer selected by plusmobileapps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants