Closed Htammam closed 6 years ago
@Htammam you should be able to do this by letting your CloudFront reflect your S3 bucket which you push to.
After you have done that setting (and whatever securty measures you want to take) you simply change the config value content_url
found here: https://github.com/nordnet/cordova-hot-code-push#application-config
We're actually doing this in development to be able to push a test-build to multiple devices at the same time, and then we use JavaScript to change this config value: https://github.com/nordnet/cordova-hot-code-push#change-plugin-preferences-on-runtime
@hussfelt thank you ,, can you help me if we can send secrete key appended to the Cloudfront URL.
You can send any URL you want, so a secret key appended should not be an issue.
If you need a new secret-key for every request, I guess you would need to prepare that through an API request before even checking for an update. You would need to build your own update-cycle and request a url with a key, then requesting a check for an update and execute the update.
đ Hi! Thank you for your interest in this repo.
đĸ We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.
đ This will now be closed & locked.
âšī¸ Please see #371 for more information.
Hi, I have mobile app and I am interested to use your plugin to push my code .But i have an issue that my code remain public on S3 bucket and accessible to all , in order to solve this issue and make my code secure on amazon S3 bucket I have tried to use Amzon Cloudfront with secret key URL , I need to check the possibility to use the plugin with Cloudfront URL instead of S3 bucket URL and how I can send the secret key from the plugin or the JSON file (cordova-hcp) to Amazon Cloudfront .