SonicCloudOrg / sonic-ios-bridge

🎉Bridge of iOS Devices by usbmuxd. 基于usbmuxd的iOS调试工具。
https://soniccloudorg.github.io/sib/re-sib.html
GNU Affero General Public License v3.0
1.06k stars 240 forks source link

[question][allows your to control ios device on browser ] #62

Closed carloslopera89 closed 1 year ago

carloslopera89 commented 1 year ago

Search before asking

Sonic version

In this moment i used the version 1.3.14, this solution es wonderfull and work very good for me , i have a question , when a execute in my terminal the command sib run wda -b com.facebook.WebDriverAgentRunner.xctrunner --mjpeg-local-port=8101 --mjpeg-remote-port=8200 -u c837fb22ec60eb8f3de743897879131948796eed in the browser the mirror its perfect

Captura de pantalla 2023-07-28 a la(s) 11 18 48 p m

but is only mirror ¿ its possible the implementation take a control remote for de device ios?

Deploy platform

Mac book Pro (Intel) mac OS Ventura 13.3.1

Minimal reproduce step

No its a bug , is more a question

Are you willing to submit a PR?

ZhouYixun commented 1 year ago

You can try using our complete platform. This plugin can only achieve screen projection. If you want to achieve touch function, you can initiate an HTTP interface for WDA yourself

clopera89 commented 1 year ago

Thank you very much, could you please tell me how I can start an HTTP interface for WDA or how I can see information about the complete solution that it indicates. I am very grateful for your help

ZhouYixun commented 1 year ago

No problem. What programming language are you familiar with?

clopera89 commented 1 year ago

@ZhouYixun , my programming language is java. If you have it in this, it's perfect, although I have no problem if you have an example in another language, I'll study it and implement it. Thank you very much for your support

ZhouYixun commented 1 year ago

You can check out our other project https://github.com/SonicCloudOrg/sonic-driver-core, which is very easy to use java to manipulate wda, you can find examples in the test class

clopera89 commented 1 year ago

Thank you @ZhouYixun , this implementation works perfectly for me, I have a question about the manipulation of WDA, it is only possible to do it from automation, for example if I want to manipulate the device manually only from the browser it is possible to do it

ZhouYixun commented 1 year ago

This is certainly possible, and we do it with sonic's complete platform, where you can go to the website and deploy our server and agent to experience full ios control, which is free and open source. If you want to just go through sib and wda, then maybe you also need a web page development

clopera89 commented 1 year ago

@ZhouYixun , perfect, could you tell me how to access this implementation with sonic's complete platform, or some reference example for this?

And thanks again for your help

ZhouYixun commented 1 year ago

https://sonic-cloud.cn/en/deploy/back-end-deploy.html

Our official website has complete deployment steps