@mapgear/geoapps > GeoApps > GetCurrentApp
GeoApps.GetCurrentApp() method
Provides access to the current loaded app. This method can be used with the GeoApps CLI and when the app is imported within GeoApps, which passes automatically the current configured app. Using this property instead of AddApp()
avoids a static configuration of the app id.
GetCurrentApp(): Promise<App>;
Promise<App>
App
representing the current app that is loaded