Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quotation marks being inserted around username and password fields #139

Open
Sultan-Aloufi opened this issue Feb 23, 2022 · 2 comments
Open

Comments

@Sultan-Aloufi
Copy link

Greetings,

wanted to report a weird issue I encountered using droidbot. It will include quotation marks around the username and password fields from the json script when it encounters a login screen in the app.

I'm using a pixel 2 on android 11. I tried android 10 and its the same issue. It could be a pixel 2 specific issue but I don't have other devices to test on.

Would be appreciated if this issue can be looked at.

@yuanchun-li
Copy link
Collaborator

Sorry for the late reply.
Could you provide the script that ran into this issue?

@pammalPrasanna
Copy link

Hi @Sultan-Aloufi, @yuanchun-li
I solved this problem by removing the double quotes from the below line.
input_cmd = "am broadcast -a DROIDBOT_INPUT_TEXT --es text \"%s\" --ei mode %d" % (text, mode)
to
input_cmd = "am broadcast -a DROIDBOT_INPUT_TEXT --es text %s --ei mode %d" % (text, mode)

in file adapter\droidbot_ime.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants