All native functions

Nothing runs on load: every call is a button. Button tags (A9.4 …) are the cases in section 9 of the handbook's core app checklist. Push functions are on qa-push. All test pages (the index sets a OneSignal external id when it loads).

Bridge and app info

A9.1: the ready event and the loaded message must arrive on every page load. A9.2: the app fills window.mobiloudAppInfo on each load; iOS only refreshes it on the next load after a call.


Functions this build defines

Which of the known website-facing functions exist on window.nativeFunctions here. iOS defines a few of them only after the page finishes loading.

Settings and login

A9.4: opens the Alerts tab if the app has one, otherwise the Settings screen. A9.5: login() reloads the app's tabs in the logged-in state (iOS rebuilds its screens; Android updates in place). logout() also clears the cookies. A9.6: closeModal() only does something in the app's login screen.

Configurations

A9.7: restarts the app with another config (pass the id as text). A9.8: opens the configuration selection screen of a multi-configuration app; "true" logs out and clears the cache first.

Local reminders

A9.9: needs a config with Notification_Sequence/Enable_Notification_Sequence true. Each reminder arrives after its Timer (minutes): use a local config copy with Timer 1. Background the app after scheduling. cancel removes every pending reminder. Tapping one must open its URL (A8.2).

Tabs

A9.10: tab numbers start at 1; "0" clears the badge. iOS takes text, Android needs numbers: the main button passes numbers on Android and text on iOS. A9.11: reloads the listed tabs (an array), or every tab, except the one you're on. Go deep in another tab first, then come back here.

Prompts and device

A9.12: the system review sheet (the OS limits how often it shows); reviewFlowTriggerCount goes up on the next page load. A9.13: as the push checklist's P1.9 and P1.10. A9.14: iOS only, on a fresh install; trackingStatus changes on the next load. A9.15: a short vibration, on a real device only.

Clipboard

A9.16: copy, then paste into the box below (or into Notes): it must be exactly the text. Reading calls window.clipboardResult(text).

Adjust (builds with Adjust only)

A9.17: the app only accepts these from pages its config counts as internal, so on a customer build they're tested from the customer's own site. Check the result in the Adjust dashboard, not here.

Printing and sharing

A9.18: the print sheet opens and closes back to this page. A9.19: the share sheet; files are on qa-web-share.

Calls that must do nothing

A9.21: a missing function must be ignored. The second button copies a text that contains another function's name: only the copy may happen, and the user must stay logged in. On iOS it logs the user out today (known issue): run it last, logged in.

A9.20 (the app's login screen and the welcome screen) can't run from this page: call the functions from the site's own login page with the Safari Web Inspector or Chrome DevTools.

Log

Calls, return values, callbacks from the app, events, and any JavaScript error on this page.