tweaselORG / cyanoacrylate

Toolkit for large-scale automated traffic analysis of mobile apps on Android and iOS.
MIT License
5 stars 1 forks source link

Use andromatic for `emulator` command #22

Closed baltpeter closed 1 year ago

baltpeter commented 1 year ago

We expect the user to have an emulator command in the PATH here:

https://github.com/tweaselORG/cyanoacrylate/blob/886282d5550512f8a0a6c2529fcc9610642c5845/src/index.ts#L473

This currently isn't even documented. Instead, we should automatically install that using andromatic.

zner0L commented 1 year ago

Also, with the new version of appstraction, we need to wait for the emulator to start now in ensureDevice, since appstraction will just exit if no device is present. I think you also forgot to mention that in the release.

We can use platform.waitForDevice() for that.

baltpeter commented 1 year ago

We should include that in the release. Implementing right now.

zner0L commented 1 year ago

Oh, I already released. Well, than we‘ll churn out another one, I guess.