Skip to content

A library for helping developers to inspect the React Native views attributes

License

Notifications You must be signed in to change notification settings

wix-incubator/detox-inspector

Repository files navigation

Detox is released under the MIT license

How to integrate the inspector

  1. Make sure you have jitpack repository installed. Add the following to your root build.gradle file at the end of repositories:
	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}
  1. Add the following dependency to your app/build.gradle
	dependencies {
		implementation 'com.github.wix-incubator:detox-inspector:Tag'
	}

(Replace Tag with the latest version name)

How to invoke the inspector

You have two options to invoke the inspector:

  1. adb: adb shell am start -n {YOUR_PACKAGE_NAME}/com.wix.detox.inspector.features.inspect.InspectActivity
  2. Quick Settings: Open your application, open the quick settings panel (Located at near the Wifi toggle), click on edit, and drag the "Detox Inspector" tile to the quick settings panel. Click on the tile to open the inspector.

About

A library for helping developers to inspect the React Native views attributes

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages