Install and skip unverified app message using Appium

Hi guys, could you help me with a question? Currently I’m working in a project using react native and when I try to install this app using Appium, a message is shown indicating that there is some validation and it’s not possible to install unless it is from the official stores (App Store / Play Store).

05

I’ve been trying to skip this message running the test scripts with some ‘adb’ commands like: adb install -i “com.android.vending” but I believe that’s not the best approach.

I appreciate if someone can help me with that.

Thanks all.

did you try relaxed security flag ??!

I tried but didn’t work as well. The same message was shown.

Try to disable applications verification in developer settings of the device under test