Other mini app runtime environments

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".

Dashboard of a Tencent car showing two rows of mini app icons.
Landing page of Tencent WeScenario (Source: BMW).

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.

The WeChat macOS desktop client showing a chat with oneself with a shared mini app and a chat history as the two visible messages.
Sharing a mini app with oneself in the WeChat macOS desktop client.

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.

The mini app panel in the WeChat Windows client showing the user's recently used mini apps.
The mini app panel in the WeChat Windows client.
The mini app search in the WeChat Windows client showing mini apps listed in various categories like games, business, education, etc.
The mini app search in the WeChat Windows client.

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.

The macOS multitask switcher includes mini apps alongside regular macOS app.
The Starbucks app is a mini app and can be multitasked to like any regular macOS app.
The Starbucks mini app icon on the macOS Dock with a WeChat title.
Mini apps on macOS have WeChat as their title.

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).

The Starbucks mini app running on macOS asking for the user profile permission which the user can grant via a prompt shown at the bottom.
The Starbucks mini app running on macOS asking for the user profile permission.
The Starbucks mini app running on macOS showing the home screen of the app.
The Starbucks mini app running on macOS in a fixed, non-resizable window.

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.

The WeChat components demo app in a responsive app window that can be resized and that by default is wider than the usual mobile screen.
The WeChat components demo app in a responsive app window.
The WeChat components demo app in a narrow window showing three boxes A, B, and C stacked on top of each other.
The WeChat components demo app in a narrow app window.
The WeChat components demo app in a wide window showing three boxes A, B, and C with A stacked on top of B and C on the side.
The WeChat components demo app in a wide app window.

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.

The WeChat components demo app running on macOS showing two checkboxes for the location and user info permission.
WeChat mini app settings on macOS.

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.

A 360 mini app running in 360 Secure Browser being debugged with Chrome Dev Tools.
Debugging a 360 mini app using Chrome Dev Tools.

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.

A 360 video mini app running in fullscreen mode showing various thumbnails of videos to watch.
360 mini app running in fullscreen mode.

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

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.

The LINE Playground demo app running on an iOS device showing `liff.getOS()` returning 'ios'.
The LINE Playground demo app running on an iOS device.
The LINE Playground demo app running in the web browser showing `liff.getOS()` returning 'web'.
The LINE Playground demo app running in the web browser.

Google Spot

The Google Spot Platform allows developers to set up a Spot on Google Pay—a digital storefront that they can create, brand, and host however they choose. It is discoverable both online as well as through physical barcodes. Users can easily share a "Spot" (as the app calls it) on their favorite messaging app or find it on Google Pay. A Spot is built using HTML and JavaScript, so existing investments into mobile websites or PWAs can be easily transformed into a Spot by "adding a few lines of JavaScript" according to the announcement post.

The Eat.fit mini app running in the Google Pay super app showing the sign-in bottom sheet.
The Eat.fit mini app running in the Google Pay super app (Source: Google).

VK Mini Apps

The Russian social networking platform VK runs a mini app program that allows developers to build mini apps that tie in deeply with the social network. VK mini apps work on both VK's platform-specific mobile apps, as well as on the desktop website. Apart from several of the brand's other platforms like Mail.ru, VK mini apps are also integrated in the Atom browser.

The Все аптеки mini app running in VK.
The Все аптеки mini app running in VK (Source: VK).

Telegram Mini Apps

With Telegram Mini Apps, developers can use JavaScript to create flexible interfaces that can be launched right inside Telegram. Like bots, Mini Apps support seamless authorization, integrated payments using 20 payment providers (with Google Pay and Apple Pay out of the box), delivering tailored push notifications to users, and much more. There's a demo mini app available to test the feature.

The Durger King demo mini app (Source: Telegram).

Acknowledgements

This article was reviewed by Joe Medley, Kayce Basques, Milica Mihajlija, Alan Kent, and Keith Gu.