How to enable zoom in Cordova iOS app - javascript

I have a web app I've run through Cordova/PhoneGap to create an iOS app. When I run the site on mobile Safari, zooming in and out works fine, but on the iPhone and iPad pinch to zoom doesn't work anymore.
Is there something in Cordova that would be preventing normal zooming from working?
The app uses the RaphaelJS plugin but that's all, aside from the cordova js library

you need to enable the ViewportScale in the Cordova.plist, which is set to NO by default.

Related

how to use RTL in reactnative Without restart in used I18n manager?

I Have a used IsRTL perfect Work in Ios but not working in Android And firsttime App RTl second Time not Rtl In react-native and also restart So i don't want to restart my app and change directation how to solve ios and android boath in react-native?
i have try to IsRtl and Force Rtl but not working properly in boath devices

Icons and svg images display problem in ionic

I'm developing an android app using ionic, I created a new app with side menu , when i run the app icons appear in the web browser and in simulator but don't appear in the my android device (oppo A5s cph1909 with color os5.2.1) i also tried with other mobiles like samsung and other oppo it works fine .i also tried before an svg image i got a bad structured image in the android device (oppo A5s).
Any idea?

Why would a background video work perfectly in Safari but not in google chrome?

I am building a website in a specific builder for a client and I brought in a small background hero video, hosted on AWS s3.
It works totally fine on Safari on Mac OS and iOS but for some reason it will not display on Google Chrome for desktop or mobile.
I am including a link to show my process of building that way you all can see exactly what's going on:
https://share.vidyard.com/watch/x4Jc39b2HvFKdiGEp9WQMY?
Also here is a link to the actual site. https://app.getocta.com/v2/preview/4QDIYFuUHsn81JT2Pdmh

Phonegap iOS app not allowing inputs on forms in an iframe

iOS 9.3.2
Phonegap Build 6.1
We're loading an iFrame from another vendor into our iOS app. The form loads perfectly fine. We tap on the form field and it does not allow any inputs. This occurs on multiple iPhones. The same app works on mobile safari and chrome. Phonegap is when these issues begin.
We've made changes to the CSS for
-webkit-user-select: none;
now everything is
input { -webkit-user-select: text; }
We've disabled faskclick.js and made the changes suggested, still the same thing.
Not sure what could be causing the problem. Any guidance would be appreciated.
According to Shazron and risingj at Adobe, this is likely an Apple rendering issue in UIWebView. They have no control regarding UIWebView's bugs, so this is something everyone should take into consideration. We've downgrade to cordova 3.7.0 and use "cordova-plugin-wkwebview", it works as intended.

Change orientation on Phonegap JQuery mobile

Hi i write simple app using jqm and phonegap, and i have some problem with change orientation. I need to change orientation on one page. I can change values "Supported interface orientations" but it work on all pages, may be exist way to change orientation on one page ?
You can use this plugin.
https://github.com/champierre/pg-plugin-screen-orientation
To lock the screen to Landscape:
navigator.screenOrientation.set('landscape');
To lock the screen to Portrait:
navigator.screenOrientation.set('portrait');
To unlock:
navigator.screenOrientation.set('fullSensor');
Here is an updated plugin which works perfectly for me: https://github.com/apache/cordova-plugin-screen-orientation
To use it (for cordova version > 4) execute this command:
cordova plugin add cordova-plugin-screen-orientation
Or for phonegap:
phonegap plugin add cordova-plugin-screen-orientation
Then use it like this:
screen.lockOrientation('portrait')
screen.lockOrientation('landscape')
Works for Android & iOS.

Categories

Resources