Skip to content

Commit 757a2ff

Browse files
committed
Update Config file
1 parent 4abfc8a commit 757a2ff

File tree

1 file changed

+54
-3
lines changed

1 file changed

+54
-3
lines changed

packages/core/config/config.interface.ts

Lines changed: 54 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,87 @@ interface IConfigPlaform {
1313
interface IConfigIOS extends IConfigPlaform {}
1414

1515
interface IConfigAndroid extends IConfigPlaform {
16+
/**
17+
* These are the v8 runtime flags you can pass in, you must have "--expose_gc" as this is used in the runtime
18+
*/
1619
v8Flags?: string;
1720

21+
/**
22+
* Enable code cache by setting this to "true"
23+
*/
1824
codeCache?: boolean;
1925

26+
/**
27+
* Depreciated
28+
* Do not change
29+
*/
2030
heapSnapshotScript?: string;
2131

22-
'snapshot.blob'?: string;
32+
/**
33+
* Depreciated
34+
* Do No change - File to use for Snapshots
35+
*/
36+
SnapshotFile?: string;
2337

38+
/**
39+
* Directory of profiler out put files
40+
*/
2441
profilerOutputDir?: string;
2542

43+
/**
44+
* How frequently in MS to automatically trigger a gc (0 = Disabled & Default)
45+
* Docs: https://docs.nativescript.org/core-concepts/android-runtime/advanced-topics/memory-management
46+
*/
2647
gcThrottleTime?: number;
2748

49+
/**
50+
* Enabled "timeline" profiling by setting this key to "timeline", default: ""
51+
*/
2852
profiling?: string;
2953

54+
/**
55+
* "none" & "full" is supported, "full" is depreciated
56+
* Default: none
57+
*/
3058
markingMode?: string;
3159

60+
/**
61+
* Allow time zone changes to notify app, default: false
62+
*/
3263
handleTimeZoneChanges?: boolean;
3364

65+
/**
66+
* Maximum size of a single output string; default: 1024
67+
*/
3468
maxLogcatObjectSize?: number;
3569

70+
/**
71+
* Enable logging in Release applications, default: false
72+
*/
3673
forceLog?: boolean;
3774

75+
/**
76+
* How frequently in ms that it does the freeMemoryRatio check
77+
* Docs: https://docs.nativescript.org/core-concepts/android-runtime/advanced-topics/memory-management
78+
*/
3879
memoryCheckInterval?: number;
3980

81+
/**
82+
* Percentage of memory (0.0 to 1.0) before it forces a GC (default & disabled = 0)
83+
* Paired with he memoryCheckInterval
84+
* Docs: https://docs.nativescript.org/core-concepts/android-runtime/advanced-topics/memory-management
85+
*/
4086
freeMemoryRatio?: number;
4187

42-
suppressCallJSMethodExceptions?: boolean;
43-
88+
/**
89+
* Used for Advanced debugging
90+
*/
4491
enableLineBreakpoints?: boolean;
4592

93+
/**
94+
* Enabled the multithreaded JavaScript engine, this will probably break plugins...
95+
* Disabled/Default: false
96+
*/
4697
enableMultithreadedJavascript?: boolean;
4798
}
4899

0 commit comments

Comments
 (0)