Skip to content
This repository has been archived by the owner on Apr 7, 2023. It is now read-only.

Option to clear cache on native project #317

Open
nchrysis opened this issue May 26, 2021 · 0 comments
Open

Option to clear cache on native project #317

nchrysis opened this issue May 26, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@nchrysis
Copy link

nchrysis commented May 26, 2021

Feature Request

There should be an option through cli to delete ~/.turtle/workingDir or clear workingDir/{platform}/sdk#/packages and/or node_modules

Motivation Behind Feature - Feature Description

Having installed a plugin previously (with expo install) it didn't work for me in the end, so I removed it. However when testing something else the previously removed plugin was crashing my app unexpectedly as I found out from adb log while the app was running (lateinit property {pluginname} has not been initialized). This behaviour happened after a GoogleSignin native activity popped up and upon dismissing it, my app's activity tried to come to foreground and then it crashed. So after hours of searching for the cause I found that if I remove ~/.turtle/workingDir and re-run turtle build:android there would be no crashes when reproducing a specific app flow.

Alternatives or Workarounds

Manually deleting node_modules from the project directory and also the workingDir in ~/.turtle/workingDir and re-installing and re-building.

@nchrysis nchrysis added the enhancement New feature or request label May 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant