mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
24 lines
785 B
TypeScript
24 lines
785 B
TypeScript
/*
|
||
In NativeScript, the app.ts file is the entry point to your application.
|
||
You can use this file to perform app-level initialization, but the primary
|
||
purpose of the file is to pass control to the app’s first module.
|
||
*/
|
||
|
||
import { Application } from '@nativescript/core'
|
||
import { registerShareIntentHandler } from './native/share-intents'
|
||
import { installNativeUserAgent } from './util/http'
|
||
import { registerPhoneRotation } from './native/phone-rotation'
|
||
import { runKotlinBridgeSmokeTest } from './native/kotlin-bridge'
|
||
|
||
declare const __DEV__: boolean;
|
||
|
||
if (__DEV__) runKotlinBridgeSmokeTest()
|
||
|
||
installNativeUserAgent()
|
||
registerShareIntentHandler()
|
||
registerPhoneRotation()
|
||
|
||
Application.run({ moduleName: 'app-root' })
|
||
|
||
// Don't place any code after the application has been started
|