floatinghotpot/cordova-httpd

CorHttpd plugin not available/ready

Opened this issue · 1 comments

I am trying to use the sample in the test folder just to ensure I have everything setup but am getting the message: "CorHttpd plugin not available/ready".

I feel like I am missing something in setting this up in cordova but I am not finding it.

I have tried using the Android SDK emulator and have even built an apk and put it on an Android tablet without success. Any suggestions on how to set this up properly?

I tracked down my issue to the onload event. I removed it from the body tag and instead used a javascript addEventListener to listen for the onLoad and call the onLoad function in the sample. This caused the onLoad function to never be called. When I put it back into the Body tag, it was called. This does not make sense, but this is what fixed my issue.