This post is part of an article collection where each article builds upon previous articles. If you just landed here, you may want to start reading from the beginning.
More than just on mobile #
In countries like China, mini apps have taken the market by storm. Apart from mobile devices, where mini apps are omnipresent and which are their natural habitat, mini apps have started to conquer other runtime environments like cars and the classic desktop.
Mini apps in cars #
In July 2020 the German car maker BMW Group announced a collaboration with Tencent branded as WeScenario, which, according to Tencent, will be rolled out to "30 leading auto companies in the world, and [bring the WeScenario] ecosystem of social, content and services to more than 110 mainstream automobile models".
Mini apps on the desktop #
Mini apps in WeChat Desktop #
Using the WeChat desktop client available for macOS and Windows), it is possible to run WeChat mini apps on the desktop. (Make sure to not load the macOS version from the App Store if you are doing research and want the full experience, since it is more limited.)
To test it on macOS, share a mini app from a mobile device with yourself via the "File Transfer" account. This will result in a message that you can then open on the desktop client. In most cases, the mini app will then be directly clickable and runnable. In other cases, you have to forward the chat history to yourself again from a mobile device.
On Windows, the workaround to share mini apps with oneself is not necessary, since there is a dedicated mini apps panel that shows the user's recently used mini apps and also includes an app search where new mini apps can be discovered.
WeChat mini apps on the desktop naturally integrate with the operating system. On both macOS and Windows, they get their own entry in the multitasking bar and have their own taskbar icon. While on macOS, there is an option to be kept in the Dock, the icon disappears the moment the WeChat client app gets closed. On Windows, mini app icons can be pinned to the taskbar, but cannot be launched. On macOS, the title of the app is always "WeChat" and not the actual title of the app, whereas the title is displayed correctly on Windows.
Most mini apps are not optimized for desktop yet and run in a fixed, non-resizable window that includes the well-known UI affordances and permission prompts as on mobile (see The user experience).
Responsive mini apps that are optimized for the desktop (apart from for mobile) can be displayed in a wider window that on macOS is currently still fixed, but that on Windows is flexibly resizable.
Mini app permission settings on macOS can be changed via the context menu. On Windows, this does not seem to be possible and the location reported by the demo app appears to be the coarse location that Windows allows apps to obtain without asking for permission.
Mini apps in the 360 Secure Browser #
360 Secure Browser (360 安全浏览器) is a web browser developed by the company Qihoo. Apart from iOS and Android, the browser is also available for Windows, macOS, and Linux. On Windows, it is capable of running special 360 mini apps. The developer documentation and the API are comparable to those of other vendors; however, 360 does not offer dedicated DevTools. Instead, developers need to create their mini apps in an IDE of their own choosing and can then test them in the browser using a special development mode. Debugging happens through Chrome Dev Tools. A demo app is available for getting started.
360 mini apps can run in fullscreen mode and do appear as separate entries in the multitasking bar. Via the context menu, a home screen icon can be added that allows for mini apps to be launched from the desktop.
Web-based mini apps #
There are some mini app platforms that are web-based, but that depend on the presence of a special WebView to unlock their full potential.
LINE is an app for instant communications on electronic devices such as smartphones, tablet computers, and personal computers. In addition, LINE is a platform providing various services including digital wallet, news stream, video on demand, and digital comic distribution. The service is a subsidiary of Korean internet search engine company, Naver Corporation.
Since LINE mini apps is essentially just a regular web app (see sample app) that pulls in the LINE Front-end Framework (LIFF), it can also be accessed outside of the main LINE app through special permanent links (example). However, not all APIs are available in such cases. Examples of not available in the browser APIs include the
liff.scanCode() method for reading QR codes or Bluetooth-related APIs like
liff.bluetooth.getAvailability(). To get a feel for the platform, you can test the LINE Playground app in the browser and the LINE app if you have a LINE account.
Google Spot #
Snap Minis #
Snap Inc. is an American camera and social media company most known for its chat app Snapchat. Snap has announced Snap Minis, bite-size utilities made for friends. They are built with HTML5, so they are easy to develop. Plus, they work for all Snapchatters, on any kind of device, with no installation required.
Success: Read on to see some examples of the mini app open source projects.