WindVane miniapps and WindVane miniapp containers
For more information, see SuperApp Business Application Platform.
For more information, see Mini Program Overview.
WindVane Overview
WindVane is an extensible solution for hybrid apps. It provides powerful, easy-to-use WebView containers for web applications within hybrid apps. WindVane adds a variety of features to WebView, such as URL interception and event mechanisms. WindVane enables web applications to interact with the host hybrid app and access device functionalities. WindVane containers support both WindVane miniapps and H5 applications.
A WindVane miniapp is a web application integrated with windvane.js and running inside a WindVane container. Compared with standard H5 applications, WindVane miniapps can obtain system permissions and access device capabilities. WindVane delivers this functionality through windvane.js, which allows miniapps to interact with the native app via JS APIs. WindVane provides dozens of built-in JS APIs that enable access to native capabilities, and supports custom JS API extensions. This empowers developers to build web applications with richer features and better user experiences.
Benefits of WindVane miniapps
High compatibility: WindVane can be used to render both miniapps and web apps. WindVane is also optimized for Android and iOS systems.
High performance: WindVane is integrated with technologies such as pre-caching, native-side rendering (NSR), and multi-process to deliver better performance.
High scalability: WindVane provides Windvane.JSBridge to enable superapp capabilities in native apps. In addition, WindVane has many built-in APIs that can be quickly accessed.
Development process for WindVane miniapps
The development process of WindVane miniapps involves both native app developers and WindVane miniapp developers. This topic describes the development process intended for WindVane developers. For more information, see the Develop WindVane MiniApps section in Quickly develop uni-app miniapps.
If you need to use JavaScript APIs, you must first integrate the WindVane containers manually or through scaffolding. For more information, see Use the Miniapp Project Template or Manually integrate WindVane into your app.