-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cordova not available #57
Comments
You cannot load the page in browser directly. Instead, you need build it into a cordova hybrid app. See what a cordova hybrid app is: You can learn more on cordova homepage: |
should i be able to access the server from same phone when run on ionic view |
No, I guess. This plugin contains native code and javascript code. To use the full features, you will need to build the native code into your app, so the javascript code can call the native code via js-bridge. But ionic view may not build cordova-http into it. |
i tried these commands:
and all the other plugins seemed to work from the site, this must be a different story |
Ok, this is right step to make the plugin working. You have to build it into an app (either android apk, or ios ipa package), then install into simulator or device. |
The ionic view is only used to verify your HTML5 page layout and platform independent features. If some feature depends on native code, it cannot be verified in ionic view. |
ok, i will try to build to android |
the example code from the site leaves my browser saying "Run time Error" and in the browser console its telling me cordova is not available. How can i fix?
The text was updated successfully, but these errors were encountered: