uiautomator2 icon indicating copy to clipboard operation
uiautomator2 copied to clipboard

disable_popups not working

Open ishandutta2007 opened this issue 4 years ago • 1 comments

It does nothing . Google's Autofilling popup is popping up on app launch

device_id="192.168.0.101:5559"
d = uiautomator2.connect(device_id)
print(d.info)
d.disable_popups()
sess = d.session("com.appname.droid.full")

{'currentPackageName': 'com.hootsuite.droid.full', 'displayHeight': 1280, 'displayRotation': 0, 'displaySizeDpX': 424, 'displaySizeDpY': 753, 'displayWidth': 720, 'productName': 'P85Nxt', 'screenOn': True, 'sdkInt': 25, 'naturalOrientation': True}

ishandutta2007 avatar Dec 22 '20 10:12 ishandutta2007

@ishandutta2007 did you find any workaround?

i use d.shell(['pm', 'grant', 'appName', 'android.permission.POST_NOTIFICATIONS'])

headfire94 avatar Apr 03 '23 13:04 headfire94

disable_popups移除了

codeskyblue avatar Jul 18 '24 01:07 codeskyblue