Robert Laverty
Robert Laverty
This is how I got it working on iOS and Android: ``` javascript cordova.plugins.CorHttpd.stopServer() cordova.plugins.CorHttpd.startServer( { 'www_root': cordova.file.dataDirectory.replace( 'file://', '' ), 'port': 8080, 'localhost_only': true }, function ( url )...
Yes I did. I'm on mobile currently, so reply to this so I get a notification later and I'll post my full source
This is what you want: ``` javascript document.addEventListener( 'deviceready', function () { let www_root = cordova.file.dataDirectory.replace( 'file://', '' ) cordova.plugins.CorHttpd.startServer( { 'www_root': www_root, 'port': 8080, 'localhost_only': true }, function (...
You don't need to touch anything in the `config.xml` file. ``` xml ``` ### EDIT Are you trying to use this instead of cordova's http-server for use with WK-WebView?
Ye it doesn't work well on simulator. I wouldn't worry about it. Everything works great.
Any updates on how you got this working?
Gotcha. That sounds intense. Thanks for the update man
It seems like I need to modify the `Java Build Path` as described [here](https://developer.amazon.com/public/apis/engage/device-messaging/tech-docs/03-setting-up-adm). Is there a way I can always set `-input android-support-v13.jar` and `-input android.jar` for every `jar`?
@Pip3r4o Interesting. That might explain why I could never get full https://github.com/OneSignal/OneSignal-Android-SDK declarations since it required `com.google.android.gms`. What's strange is that when I throw `com.soundcloud.android.crop` https://github.com/jdamcd/android-crop through the generator the...
@Pip3r4o Yes that's certainly true.