for some reason iframes no longer show up when i use the phonegap app. When i try to run older versions of my app where iframes did work, they no longer work.
phonegap version : 5.3.6,
cordova version : 6.0.0,
ionic version : 1.7.14
does anyone no why this is happening?
turns out the problem is with phonegaps latest mobile app version because it works when i run my app on a real device and in the ionic view mobile app
Related
I have project in react native and it was build in iOS and android successfully. I have not used react native cli for that project. Now I have to give support for web. So when I run the app all functionality should work in web same as in iOS and android. I have follow tutorial for that
https://javascript.plainenglish.io/how-to-integrate-react-native-web-existing-react-native-apps-8e4964ad2f0b
But when I run in the web it getting blank page.
I have tried many ways but it getting blank page. It is possible to run the app in web without using expo?
Please help.
if you don't want to use expo, i suggest you to use this react-native-web
I used the command cordova plugin add [custom_plugin_path] into my mobile first 8.1 react js project.
But when I try to call the cordova.exec for the added plugin, it throws error that cordova is undefined. May I know how to call the plugin in jsx?
Thanks.
Are you testing this on cordova platform browser, or by running the react app in your browser?
Cordova will not be available in the browser.
Did you try testing it on a virtual/real device?
I have implemented a camera functionality in an ionic-angular based application.I am getting an error Camera is not defined.The above mentioned error is occurring when I am using the command ionic serve.The issue doesn't exist when command ionic browser is used.Also getting the same error Camera is not defined when I deployed the app to firebase.Any suggestions for steps I need to follow while deploying the app to firebase to avoid the error ?
Below is the behavior I could see.
I used the command ionic serve.
The Camera plugin doesn't loads in browser view and I could see the following error.
Error from browser
On using the command ionic run browser,Could see camera getting loaded.This is browser view.ionic run browser
This application is deployed using firebase deploy command and hosted in a firebase environment.I could see the same behavior ie(Camera not loading) when accessed the url through an android phone(Moto X Play). Is this expected?.Do I need to execute some other steps while deploying my application to firebase.
Also I have included the ngCordova dependencies in my app.js and included the cordova.js just before ng-cordova.js in my index.html.Currently this app is not installed in playstore or Apple app store.This application is developed in ionic and can be viewed in mobile device by accessing firebase hosting url in which the application is deployed.
Camera plugin is a cordova plugin.and some cordova plugins doesn't support in browser. so install your app into mobile, it will work fine.
I am building a hybrid mobile app using the Ionic Framework library (including Angular JS) and have found that they've made a wrapper for a number of the cordova plugins so that they work with Angular.
I have downloaded the ng-cordova.js file and referenced it in my index.html
As as test I have used the cordova device plugin just to display the device name in a popup. It works fine in the ripple emulator just running the html in my browser, however when I build the app using Phonegap Build it no longer works.
Is it not possible to use the ng-cordova.js file to access native device features when using Phonegap Build? (i.e. Can you literally only use the plugins from the list on the build website?)
As another user of PhoneGap Build, you are limited to whatever plugins can be found here:
https://build.phonegap.com/plugins
That being said, if the plugin is not in their repository already (most of the popular ones are), you can always submit it yourself or try to get the author to submit it.
Other than that, it should work fine.
This is ngCordova contributor.
It should be possible to use ngCordova with PhoneGap, but are you using the same plugins repos as they are mentioned in ngCordova documentation?
I can imagine that PhoneGap plugins my have different API than Cordova plugins.
And what is here the reason to use PhoneGap Build, if I may ask?
Can you specify which plugins are not working and how could I simply replicate your errors?
I am trying to run sencha app on android mobile with api level 15 to support application from version 4. It is not going to the home screen,it's stuck at the loading screen only. It works perfectly on api level 17(4.2.2)/18(4.3). I have installed android sdk for api level 14(4),15(4.0.3). I am using sencha touch 2.2.1 and Sencha Cmd 3.1.2.342.
Any possible reason for this behavior , or have I missed any thing please help.
Have you checked your JS debugging console for errors? Apps stuck at the loading screen typically have encountered a runtime error.