14 Commits

Author SHA1 Message Date
2fc1d8a8d4 chore(tsc): enable noUnusedLocals compiler option for tns-core-modules (#5755) 2018-05-10 16:12:59 +03:00
b113b0021a feat: Add methods to get the root view and set a different root view at run time (#5386)
* feat: add option to set a different root view at run time

* feat: expose application getRootView method

* refactor: Introduce ViewEntry interface

* fix: Respect root view rturned from launch event in Android

* refactor: getRootView() code + caching root view per activity.

* refactor: add app-root.xml in apps

* refactor: http test made async
2018-02-09 16:04:20 +02:00
01fab68e58 feat: support intent replacement in the android activity (#5337) 2018-01-29 16:54:07 +02:00
1420fa8fcc Fixes the old snapshot build (#4457) 2017-06-27 13:50:08 +03:00
bbffa5480e Used the wrong flag to check if snapshot was enabled (#4446) 2017-06-23 17:30:41 +03:00
b94a61f9a5 Globals in snapshot are overriden by the V8 on start, so they have to be installed later (#4387) 2017-06-15 10:36:50 +03:00
f2898f84d5 NativeView recycled for android 2017-03-28 18:08:59 +03:00
629eb6e683 Use relative imports in tns-core-modules.
Use tns-core-modules/* imports in outside code (apps, tests, etc)
2017-03-13 14:37:59 +02:00
bb2c7aa60a partial state 2016-12-13 15:51:18 +02:00
20dc0b1ef5 Snapshot fix 2016-10-14 11:33:58 +03:00
1c4f40333e Application and ActivityEvents improvements 2016-10-11 18:40:03 +03:00
a95d8c5c32 Fix android activity being destroyed then recreated. (#2321) 2016-06-16 09:30:35 +03:00
48f14badca Update the tsconfig and package.json files to reflect the new changes. 2016-06-09 15:19:39 +03:00
92d66f6938 Extract the Activity implementation logic in a separate class. 2016-06-08 17:04:37 +03:00