PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Sunday, September 11, 2022

[FIXED] how Apache Cordova works

 September 11, 2022     cordova, cross-platform, web     No comments   

Issue

Im just curious and would like to know if anyone could provide an explination to how Apache Cordova converts a web application to a cross platform application.

Ive read this explination: https://blogs.sap.com/2014/07/27/what-is-cordova-and-how-does-it-work/

But i guess my question is what use dose a WebView have in all this exactly? Surely native apps are'nt rendered in WebViews, so what purpose dose it have with the cross platform applications? Is it converted into something?

I'd appreciate it if someone could clear the air.


Solution

Cordova uses a WebView to render your application built with HTML/JS/CSS. It's a mini embedded browser inside a native app (webview). Then Cordova uses plugins to access the native layer (SDK), for both Android and iOS. The purpose is to be able to build apps using HTML/JS/CSS and then pilot the native functions of each platform (iOS & Android) via JavaScript and publish to both platforms using a single code base.



Answered By - Eric
Answer Checked By - Dawn Plyler (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing