isonic1 / flick

A CLI with helpful QA tools for Android (Devices & Emulators) and iOS (Devices).
MIT License
101 stars 26 forks source link

[Feature request] Clear app data #22

Open sskorol opened 7 years ago

sskorol commented 7 years ago

@isonic1 it'd be great to add

adb shell pm clear packageName

command for Android.

However, I'm not really sure if the same is possible for iOS.

isonic1 commented 7 years ago

Yea that is not a bad suggestion. Appium by default uninstalls and reinstalls your app so the app data is cleared. However doing this would speed up the tests not having to reinstall the app each time. I will add when I have a moment. Thanks for the suggestion!

Not sure about iOS, though. Apple unfortunately hasn't provided all the nice tools as android.

Sent from my iPhone

On Mar 10, 2017, at 02:44, Sergey Korol notifications@github.com wrote:

@isonic1 it'd be great to add

adb shell pm clear packageName command for Android.

However, I'm not really sure if the same is possible for iOS.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.