You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So while working with an android device we want to be able to check to see which camera app comes installed on the device - pretty easy except Google in their infinite wisdom changed their camera app's package name between Android 4.x and Android 5.x
we figured we could check this by hitting /wd/hub/session/:session_id/appium/device/app_installed with the package name of the camera but it returned false in both cases where it shouldn't have.
i looked into it a bit and it seems its because the command adb shell "pm list packages -3 <package>" and the -3 excludes all non third-party packages. I can't see why you wouldn't want system packages included...performance maybe but that can't be a big hit.
The text was updated successfully, but these errors were encountered:
Appium version:
1.4.10
So while working with an android device we want to be able to check to see which camera app comes installed on the device - pretty easy except Google in their infinite wisdom changed their camera app's package name between Android 4.x and Android 5.x
Android 4.x =
com.android.camera
Android 5.x =
com.android.camera2
we figured we could check this by hitting
/wd/hub/session/:session_id/appium/device/app_installed
with the package name of the camera but it returned false in both cases where it shouldn't have.i looked into it a bit and it seems its because the command
adb shell "pm list packages -3 <package>"
and the-3
excludes all non third-party packages. I can't see why you wouldn't want system packages included...performance maybe but that can't be a big hit.The text was updated successfully, but these errors were encountered: