71

GitHub - iqiyi/LiteApp: LiteApp is a high performance mobile cross-platform impl...

 6 years ago
source link: https://github.com/iqiyi/LiteApp
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

README.md

Introduction

LiteApp

LiteApp is a high performance mobile cross-platform implementation, The realization of cross-platform functionality is base on webview and provides different ideas and solutions for improve webview performance.

LiteApp dedicates to enable developers to use modern web development experience to build both Android and iOS with a single codebase. In practice, you can use javascript and modern front-end frameworks to develop mobile apps by using our project.

LiteApp keep up with modern development technologies and platform capabilities both for web and native. Productivity and performance can coexist in LiteApp.in our project developer writing on web but rendering is close to rendering native.

The structure of LiteApp is decoupled, the render engines are separated from the syntax layer. LiteApp rely on Vue.js

LiteApp is developing by iQiYi Android architecture team since June 2017 and After a period of development and testing, we decided to open source the project . Now we are actively using this solution in the company's business. We sincerely invite you to join our project . Welcome to try, report issues and submit pull requests. And pls feel free to contact us through Github or Email.

Requirements

Platform System Notes iOS iOS 9.0 or later Xcode 9.0 or later Andriod Andriod 4.0 or later n/a Web n/a n/a

Architecture

系统架构图

Architecture

`

Demo Project

iOS Display

iOS Demo

`

Android Display

Android Demo
`

Features

  • High Performance: Writing on web, have the same performance as the native app
  • Load Fast Fast rendering for all pages , especially for the first time
  • Mobile Cross-platform Build both Android and iOS with a single codebase
  • Asynchronous Threads the render engines are separated from the syntax layer
  • Simple Code Few code but powerful
  • Expandable Proprietary API for extension and it can add more features
  • Complete Documentation Each section has a corresponding document and easy to understand

How To Get Started

Installation

$ git clone https://github.com/iqiyi/LiteApp.git
$ cd liteApp

Communication

  • If you need help, use Email or Github . (Tag 'LiteApp')
  • If you'd like to ask a general question, use Email or Github.
  • If you found a bug, and can provide steps to reliably reproduce it, open an issue.
  • If you have a feature request, open an issue.
  • If you want to contribute, submit a pull request.

Performance Test

LiteApp VS H5 App Results:70% reduction in first load time,Switch Page is 60 FPS

Project Loading Time/ms Switch Page/fps LiteApp 250-500 ms Perfect/60 HTML5 App > 1000ms White screen for a short time/53

LiteApp

iOS Demo

`

HTML5 App

Android Demo

`

Credits

LiteApp was originally created by Guodong Chen Chen Zhang Jingyuan Zhou Yanqiang Zhang .

LiteApp's logo was designed by Guodong Chen

And most of all, thanks to LiteApp's Contributors

Security Disclosure

If you believe you have identified a security vulnerability with LiteApp, you can contact Guodong Chen as soon as possible. Please do not post it to a public issue tracker.

License

LiteApp is released under the Apache License, Version 2.0. See LICENSE for details.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK