Cordova App is loading before styles are loaded - android

Im creating a cordova app using onsenui. Have only android platform.
It loads before styles are loaded. I can see all the html file without styles for a couple of seconds.
Can i get a solution?

Related

'ng2-pdf-viewer' not working for local pdf in iOS with Ionic 3

I am using ng2-pdf-viewer in Ionic application to view PDF, it is perfectly working with Android but giving issue in iOS.
I am passing file URL as 'assets/doc/sample.pdf'. Not throwing any event like error, progress, rendered etc.
External URL is working perfectly in iOS

Images do not show up in build of App IONIC 2

I am new to Ionic 2 and I am having some problems with images in my app.
Searching online I understood that the images must be put in the /src/assets folder inside the app. (correct?)
The images work fine using ionic serve and ionic lab commands but in the simulated devices or using Ionic View on an iPad they do not show up!
I reference the images in the code with:
<img src="../assets/img/ringing.png" class="circle_icons">
How can I solve this?
(Down are some screenshot of the problem)
Screenshot of the simulator with problems displaying images
Screenshot of the ionic serve without problems displaying images
After placing the images in your assets folder just reference them like this.
<img src="assets/images/MiTUCson-quick-search.png" alt="Consulta Rapida"

Android Lollipop: Webview .svg file support

I am working on application which loads data from server in webview. This data contains icons which are coming from .svg file. Problem is icons are rendering properly lower versions of Android, but in android lollipop instead of icon it shows random text.SVG file is added through css inside a html code which we load in webview.
Does any one know android Web View supports .SVG in Android lollipop?
Or
Do I required to do Lollipop specific changes on server side?
Thank You

PDF Viewer.JAR library for android is not working on all versions

i have used this library in my android application to view PDF files within the app
https://github.com/jblough/Android-Pdf-Viewer-Library
but the pdf is not showing in all android versions ( not showing on android 4.0+ )
it opens as blank pdf with white pages, or a mix of the PDF's background colors
https://github.com/bhavyahmehta/Pdf-Reader---Writer
Use this library it is good for viewing pdf

How to open pdf file with in our app android+phonegap+JQM?

I am developing an web+cross platform app using Jquery Mobile+PhoneGap+Android. In web app, I am able to open pdf file links within my app page using iframe. But, in Phonegap generated Android build, iframe is unable to render pdf content,it is showing that iframe area as empty.How can I display the pdf file/content, whose src I know at runtime, within android webview. Thanks In Advance.
I've just published my plugin, which can open almost any type of file, which is stored locally on Android device.
Please take a look at: https://github.com/markeeftb/FileOpener
Plugin opens external application which handles the preview of the document.

Categories

Resources