mirror of
https://github.com/ProxymanApp/Proxyman.git
synced 2026-04-26 16:45:57 +03:00
[GH-ISSUE #657] Automatically install and trust Proxyman Certificate in Android Emulator #654
Labels
No labels
Discussion
Feature request
In Progress...
Plugins
Waiting response
Windows
Windows
bug
duplicate
enhancement
feature
good first issue
iOS
macOS 10.11
question
wontfix
✅ Done
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Proxyman#654
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NghiaTranUIT on GitHub (Oct 13, 2020).
Original GitHub issue: https://github.com/ProxymanApp/Proxyman/issues/657
Originally assigned to: @NghiaTranUIT on GitHub.
Description
As a title, it's possible to use ADB to:
all in one click ✅
We should support it as soon as possible since it's painful when manually installing the certificate in Android Emulators.
Acceptance Criteria
@NghiaTranUIT commented on GitHub (Oct 18, 2020):
Beta: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.9.1_Android_Emulator_Script_Automation.dmg
Access via: Certificate Menu -> Install Certificate on Android -> Emulator...
@jsharp80 commented on GitHub (Jan 7, 2021):
Hello! When I click "Override Emulator," the Terminal launches, but nothing else happens. This is on macOS Big Sur 11.1. I confirmed that adb is installed and launches from the command line. Any ideas?
@NghiaTranUIT commented on GitHub (Jan 7, 2021):
@jsharp80
Can you help me to run the following CLIs on your Terminal?
=> It should be at
/usr/local/bin/adbPlease release
192.168.0.1with your actual IP (You can find it by navigating to Certificate Menu -> Install on iOS -> Physical Device -> Get the IP)@NghiaTranUIT commented on GitHub (Jan 7, 2021):
It's how the output looks like if it successes
@jsharp80 commented on GitHub (Jan 7, 2021):
@NghiaTranUIT - Thanks for the quick reply!
adb is in the correct location -
/usr/local/bin/adbThe first time I ran the script, I received the following output:
This happened because I also had a physical Android device connected that I use for debugging. After disconnecting it, the script ran as expected and I saw the expected results in Proxyman.
Neither the "override emulator" nor "revert override" scripts execute automatically. The buttons open a zsh Terminal and seem to stop there. That's fine, though, I can execute the scripts manually.
@NghiaTranUIT commented on GitHub (Jan 8, 2021):
@jsharp80 Please help me to open System Preference -> Security -> Privacy Tab -> Click on Automation and verify whether or not you're granting the Proxyman app?
Proxyman uses Apple Script (Automation) to execute the script, so if we don't allow it, it might cause your problem.
=> Turn it ON and try again.
Meanwhile, I will add a button to show future users to manually execute the script if it's failed 👍
@NghiaTranUIT commented on GitHub (Jan 8, 2021):
@jsharp80 good news: I'm able to reproduce your bug. Just turn OFF the Automation permission.
I'm fixing it now: To show the alert if the permission doesn't grant 👍
@jsharp80 commented on GitHub (Jan 8, 2021):
@NghiaTranUIT - great news! Thanks again for all of your help! Proxyman is a fantastic app. I use it all the time. Thanks for working on it.
@NghiaTranUIT commented on GitHub (Jan 8, 2021):
@jsharp80 please check out this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.15.2_Android_Emulator_Automation_Permission.dmg
I will detect whether or not you're granting the permission.
@jsharp80 commented on GitHub (Jan 8, 2021):
@NghiaTranUIT - Looks great. Thanks again for the help and the app update!
@NghiaTranUIT commented on GitHub (Jan 9, 2021):
@jsharp80 You're welcome 🎉
@qeude commented on GitHub (Mar 15, 2021):
@NghiaTranUIT Hi, just a small feedback, I was first using it on an emulator with Google Play Store, and the bash output wasn't clear since it was passing every step to a final success, which was wrong. On step 5 in the bash script, we should check if the command L103 works and exit if it doesn't IMO, would be more clear that it doesn't succeed.

@NghiaTranUIT commented on GitHub (Mar 15, 2021):
Thank @qeude for the input. It's a good point. I will improve to make clearer in next release 👍
@NghiaTranUIT commented on GitHub (Mar 21, 2021):
Hey @qeude I fixed this issue in this beta build: https://proxyman.s3.us-east-2.amazonaws.com/beta/Proxyman_2.20.0_Better_ADB_Script_And_Factory_Reset.dmg
I will include it in the next release 🎉