ReplicaDevTools

interface ReplicaDevTools

Debugging tool for Replica library.

To use ReplicaDevTools:

  1. Integrate ReplicaDevTools to mobile application that uses Replica. To do it, create ReplicaDevTools and launch it in Application.onCreate.

  2. Make sure that a mobile phone and a desktop are connected to the same wifi-network.

  3. Launch the mobile application.

  4. Find string "ReplicaDevTools is available with address: some_url" in a Logcat and open "some_url" in a web-browser.

  5. Navigate in the app and observe replica states in a web-browser.

Functions

Link copied to clipboard
abstract fun launch()

Launches ReplicaDevTools