Search code examples
detox

Detox animation settings


Quick question about 16.6.0

In the release note of 16.6.0 is says "Disabling all native-Android animations on Android emulator"

Does that mean I don't have to set these globals anymore?

adb shell "settings put global window_animation_scale 0.0"
adb shell "settings put global transition_animation_scale 0.0"
adb shell "settings put global animator_duration_scale 0.0"

Thanks


Solution

  • Indeed, this is exactly what it means. More so, Detox will ensure this will be applied even in an environment running tests on multiple emulators, concurrently.