mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-11-05 13:26:48 +08:00
Updated the Cuteness app to the latest Kimera. Removed the camera module from the BCL project.
This commit is contained in:
11
BCL.csproj
11
BCL.csproj
@@ -101,13 +101,6 @@
|
||||
<TypeScriptCompile Include="declarations.android.d.ts">
|
||||
<DependentUpon>declarations.d.ts</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
<TypeScriptCompile Include="camera\camera.android.ts">
|
||||
<DependentUpon>camera.d.ts</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
<TypeScriptCompile Include="camera\camera.d.ts" />
|
||||
<TypeScriptCompile Include="camera\camera.ios.ts">
|
||||
<DependentUpon>camera.d.ts</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
<TypeScriptCompile Include="declarations.ios.d.ts">
|
||||
<DependentUpon>declarations.d.ts</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
@@ -166,7 +159,6 @@
|
||||
<TypeScriptCompile Include="location\index.ts" />
|
||||
<TypeScriptCompile Include="file-system\index.ts" />
|
||||
<TypeScriptCompile Include="console\index.ts" />
|
||||
<TypeScriptCompile Include="camera\index.ts" />
|
||||
<TypeScriptCompile Include="application\index.ts" />
|
||||
<TypeScriptCompile Include="android17.d.ts" />
|
||||
<TypeScriptCompile Include="promises\promises.ts" />
|
||||
@@ -222,9 +214,6 @@
|
||||
<TypeScriptCompile Include="libjs.d.ts" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<TypeScriptCompile Include="camera\camera-types.ts">
|
||||
<DependentUpon>camera.d.ts</DependentUpon>
|
||||
</TypeScriptCompile>
|
||||
<Content Include="_references.ts" />
|
||||
<Content Include="image-source\Readme.md" />
|
||||
<Content Include="http\Readme.md" />
|
||||
|
||||
@@ -37,6 +37,9 @@ var initEvents = function () {
|
||||
if (androidApp.onActivityDestroyed) {
|
||||
androidApp.onActivityDestroyed(activity);
|
||||
}
|
||||
|
||||
// TODO: This is a temporary workaround to force the V8's Garbage Collector, which will force the related Java Object to be collected.
|
||||
gc();
|
||||
},
|
||||
onActivityPaused: function (activity: any) {
|
||||
if (activity === androidApp.currentActivity) {
|
||||
|
||||
1
declarations.android.d.ts
vendored
1
declarations.android.d.ts
vendored
@@ -340,6 +340,7 @@ declare module android {
|
||||
|
||||
declare var app;
|
||||
declare var telerik;
|
||||
declare var gc: () => any;
|
||||
|
||||
declare module com {
|
||||
export module koushikdutta {
|
||||
|
||||
Reference in New Issue
Block a user