SVG not displayed with android 6 and cordova - javascript

My tablet with android 6 doesn't show svg image, there is a grey image instead. My application is made with cordova and vuejs.
I've try to launch my application with a tablette with android 7 and an other with android 9 and it's working perfectly. I think the problem is because of the android webview...
If someone has the solution of my problem or has an other opinion.
Thank you.

Related

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

Phone gap 3.4 : how to navigate to native map on iOS

I developing mobile app by using Phonegap 3.4 and I would like to link my app to open a native map in the phone.
So I wrote down javascript like
function openNativeApp(latlng){
window.open('http://maps.apple.com/?q='+latlng, '_system');
}
but when i test on the app, it just open new webView and show google map in mobile version.
By this code I have done well on Phonegap 2.9 but when I try in Phonegap 3.4, it doesn't.
Any help?
Thank you
Try This code, I use in my mobile app and it works fine for me.
<a onclick="navigator.app.loadUrl('http://maps.apple.com/?q='+latlng, '_system', { openExternal:true });">Link</a>

Phonegap canvas not drawing on android but works fine in browser

I've made a simple HTML5 noughts and crosses(tic tac toe) game that uses the canvas element and I am trying to use phonegap to get it working on Android. I've test it works fine on firefox, chrome and internet explorer but when I get built using phonegap the apk produced simply renders a white screen.
I've tried using the ripple emulator and it renders and behaves as expected fine. Really confused as to why its not working.
To work on pc instead of phoengap you have to change
document.addEventListener("deviceready",onDeviceReady, false);
to
document.addEventListener("DOMContentLoaded",onDeviceReady, false);
in main.js.
I am using fast-canvas as a plugin, see the config file.
Code is avaliable here as well as assets here: https://github.com/JacobRawling/XandOs
Please help I am very confused and am struggling to find any phonegap tutorials that use
canvas.
Thanks very much
Your solution is jqscribble – A touch enabled canvas drawing tool
http://plugins.jquery.com/jqscribble/

How to enable zoom in Cordova iOS app

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.

Categories

Resources