From 48f14badca5b6530efad9af0a01f58b5fac4b814 Mon Sep 17 00:00:00 2001 From: atanasovg Date: Thu, 9 Jun 2016 15:19:39 +0300 Subject: [PATCH] Update the tsconfig and package.json files to reflect the new changes. --- tns-core-modules/ui/frame/activity.android.ts | 5 +++++ tns-core-modules/ui/package.json | 4 +++- tsconfig.json | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/tns-core-modules/ui/frame/activity.android.ts b/tns-core-modules/ui/frame/activity.android.ts index c84e74be3..772be3288 100644 --- a/tns-core-modules/ui/frame/activity.android.ts +++ b/tns-core-modules/ui/frame/activity.android.ts @@ -2,6 +2,11 @@ import {activityCallbacks as callbacks} from "ui/frame"; @JavaProxy("com.tns.NativeScriptActivity") class NativeScriptActivity extends android.app.Activity { + constructor() { + super(); + return global.__native(this); + } + protected onCreate(savedInstanceState: android.os.Bundle): void { callbacks.onCreate(this, savedInstanceState, super.onCreate); } diff --git a/tns-core-modules/ui/package.json b/tns-core-modules/ui/package.json index 5eece9969..8140be6d0 100644 --- a/tns-core-modules/ui/package.json +++ b/tns-core-modules/ui/package.json @@ -1,4 +1,6 @@ { "name" : "ui", - "nativescript": {} + "nativescript": { + "recursive-static-bindings": true + } } diff --git a/tsconfig.json b/tsconfig.json index 7d124c3ec..24f3dcc48 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -128,6 +128,7 @@ "tns-core-modules/ui/editable-text-base/editable-text-base.android.ts", "tns-core-modules/ui/editable-text-base/editable-text-base.ios.ts", "tns-core-modules/ui/enums/enums.ts", + "tns-core-modules/ui/frame/activity.android.ts", "tns-core-modules/ui/frame/frame-common.ts", "tns-core-modules/ui/frame/frame.android.ts", "tns-core-modules/ui/frame/frame.ios.ts",