WebRTC samples inside cordova and crosswalk
Based on: https://webrtc.github.io/samples/
Using less plugins as posible.
Disclaimer: I COMMIT ALL
Creation steps (OSX):
- Cordova HelloWorld
$ sudo npm install -g cordova
$ cordova create hello com.example.hello HelloWorld
$ cd hello
$ cordova platform add android --save
- Install crosswalk plugin this process add preferences in config.xml
IMPORTANT: Change the cordova-plugin in order to change the crosswalk version.
cordova-plugin v. | crosswalk v. |
---|---|
[email protected] | 19 |
[email protected] | 18 |
[email protected] | 17 |
[email protected] | 16 |
Go install lastest
$ cordova plugin add cordova-plugin-crosswalk-webview
$ cordova build
$ cordova run android
- Install cordova-plugin-whitelist and set config.xml (check comits)
$ cordova plugin add cordova-plugin-whitelist