Introduction
Apple rejects apps that feel like a website in a wrapper, under guideline 4.2 (minimum functionality). Thankfully, avoiding that is mostly a matter of giving your app the native touches reviewers look for, and Lairport lets you add them with configuration rather than code.
Native Touches
The following native touches are available, or planned:
| Feature | How to enable it | Status |
|---|---|---|
| A native splash screen | The splash section of mobile.toml. |
Available |
| Haptics on key actions | haptics = true in the plugins section. |
Available |
| A native tab bar | [[tabs]] in mobile.toml. |
Available |
| The native share sheet | mobile.share() in the JavaScript adapter. |
Available on iOS; Android is planned |
| A bundled offline page | Built in. Replace it with your own resources/mobile/offline.html. |
Available |
Beyond these, you should enable the device features your app genuinely uses, such as notifications, biometrics, or the camera. An app that uses the phone well reads as a real app, not a bookmark.