Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run the 'save_assets_hashes.js' in the 'after_prepare' step #29

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Run the 'save_assets_hashes.js' in the 'after_prepare' step #29

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Oct 23, 2019

For the iOS version of our App, we run the 'cordova prepare ios' command and then perform the actual build and debugging from within Xcode. As a result of this, the 'save_assets_hashes.js' is not being run and the plugin simply doesn't do anything at runtime.

I've performed the minimal change of running the 'save_assets_hashes.js' both in the 'after_prepare' and in the 'before_compile' so now the plugin functions correctly and we can build and debug from within Xcode.

I've kept the 'before_compile' because there is - of course - a small chance of another plugin modifying the assets during the 'after_prepare'. None of the many plugins we're using does so.

I've moved the 'clear_assets_hashes.js' to the 'before_clean' hook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants