App cache deleted when starting already installed app
See original GitHub issueThe problem
The App cache seems to be deleted everytime appium starts the already installed app. I don’t want the cache to be deleted because this leads to very long loading operations on app startup (some content has to be downloaded).
Right now I need to downgrade to Appium 1.5.3 but this is no option anymore, because I am testing on iOS and Android at the same time and testing with iOS 10+ needs Appium to be 1.6.0+.
When you need more information, let me know.
Thanks in advance!
Environment
- Appium version (or git revision) that exhibits the issue: 1-6-0 - 1.6.1-beta
- Last Appium version that did not exhibit the issue (if applicable): 1.5.3 and earlier
- Desktop OS/version used to run Appium: OSX 10.11.6
- Node.js version (unless using Appium.app|exe): 6.8.0
- Mobile platform/version under test: Android 6.0.1
- Real device or emulator/simulator: Real device
- Appium CLI or Appium.app|exe: Appium CLI
Appium Logs
Code To Reproduce Issue [ Good To Have ]
desiredCapabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, 'Appium')
desiredCapabilities.setCapability(MobileCapabilityType.NEW_COMMAND_TIMEOUT, 20)
desiredCapabilities.setCapability(MobileCapabilityType.DEVICE_NAME, 'Android Device')
desiredCapabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, 'Android')
desiredCapabilities.setCapability(AndroidMobileCapabilityType.APP_PACKAGE, 'secret.app.test')
desiredCapabilities.setCapability(AndroidMobileCapabilityType.APP_ACTIVITY, '.MainActivity')
desiredCapabilities.setCapability(MobileCapabilityType.TAKES_SCREENSHOT, true)
desiredCapabilities.setCapability('fullReset', false)
desiredCapabilities.setCapability('clearSystemFiles', false)
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
How to clear app cache on Android & why you should
Clearing the cache is best seen as a temporary fix since every app will once again start populating the storage immediately. Despite the ......
Read more >Program Is Not Listed in Add/Remove Programs After Installation
Symptoms. After you install a program on your computer, the program is not listed in the Add/Remove Programs tool in Control Panel.
Read more >How to clear the data of an uninstalled app on an Android phone
When an Application is uninstalled the Data and Cache of the Application is automatically deleted there is no requirement to do it manually....
Read more >Fix: Uninstalled Apps keep coming back on Windows 10 [2022 ...
Many users have reported that uninstalled apps keep coming back, after the restart of the PC. In this video I'm going to show...
Read more >Does uninstalling an App clears the App cache and App data?
App data and cache is deleted. But any folders/files the app makes in your storage directory will not be removed. Like.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Have you tried to set noReset capability to true?
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.