import { Application , UnhandledErrorEventData } from "@nativescript/core" ; require ( "@nativescript/firebase" ) ; Application . on ( Application . uncaughtErrorEvent , ( args ) => { console . log ( "[app.js]: Uncaught NativeScript Error: " + args . error ) ; } ) ; Application . run ( { moduleName : "main-page" } ) ;