9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement
ts
function getNativeApp<T>(): T;

Defined in: application/helpers-common.ts

Get the current application instance.

Type Parameters

Type Parameter
T extends any

Returns

T

current application instance, UIApplication on iOS or android.app.Application on Android.