Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
The cordova-vm filetransfer server could be offline.
Add docs to show people how to run their own local server.
The server to run is at:
https://github.com/apache/cordova-labs/tree/cordova-filetransfer
And you would override this variable for this test plugin:
https://github.com/apache/cordova-plugin-file-transfer/blob/9b322dec6790f6d273b8f707bc07976d778c4cf6/tests/plugin.xml#L33
cordova plugin rm cordova-plugin-file-transfer-tests
cordova plugin add path/to/cordova-plugin-file-transfer/tests --variable FILETRANSFER_SERVER_ADDRESS="http://yourlocal-IPAddressHere:5000"
Run the server:
git clone https://github.com/apache/cordova-labs.git
cd cordova-labs
git checkout cordova-filetransfer
node server.js
Get your local ip by running:
ifconfig