Open hameleonlab opened 9 years ago
If you're using cordova-android >= 6.2.1 and cordova-ios >= 4.4.0 you can use the new resource-file tag in config.xml.
https://cordova.apache.org/docs/en/latest/config_ref/index.html#resource-file
as an example in my config.xml I have:
<platform name="android">
<resource-file src="path/to/certfile.cer" target="assets/cerfile.cer" />
</platform>
<platform name="ios">
<resource-file src="path/to/certfile.cer" />
</platform>
This puts the files in the correct places thanks to the resource-file tag.
In README.md (https://github.com/wymsee/cordova-HTTP) said:
"As an alternative, you can store your .cer files in the www/certificates folder."
but my application (build in Intel xdk) not find it on my device (android).
Although the exact package certificate is:
connect.android.20141212030243.apk\assets\www\certificates\server.cer
Where should I place the certificate in the intel XDK project?