mirror of
https://git.undefined-dev.fr/Blendman974/faceclaw.git
synced 2026-11-19 21:03:09 +00:00
16 lines
611 B
TypeScript
16 lines
611 B
TypeScript
import { Application } from '@nativescript/core'
|
|
import { registerShareIntentHandler } from './native/share-intents'
|
|
import { installNativeUserAgent } from './util/http'
|
|
import { registerPhoneRotation } from './native/phone-rotation'
|
|
|
|
installNativeUserAgent()
|
|
registerShareIntentHandler()
|
|
registerPhoneRotation()
|
|
// Opt-in analytics (app/analytics/), started once the app is up rather than
|
|
// loading its imports on the boot path.
|
|
Application.on(Application.launchEvent, () => {
|
|
setTimeout(() => require('./analytics/analytics-sources').startAppAnalytics(), 0)
|
|
})
|
|
|
|
Application.run({ moduleName: 'app-root' })
|