@@ -13,36 +13,87 @@ interface IConfigPlaform {
13
13
interface IConfigIOS extends IConfigPlaform { }
14
14
15
15
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
+ */
16
19
v8Flags ?: string ;
17
20
21
+ /**
22
+ * Enable code cache by setting this to "true"
23
+ */
18
24
codeCache ?: boolean ;
19
25
26
+ /**
27
+ * Depreciated
28
+ * Do not change
29
+ */
20
30
heapSnapshotScript ?: string ;
21
31
22
- 'snapshot.blob' ?: string ;
32
+ /**
33
+ * Depreciated
34
+ * Do No change - File to use for Snapshots
35
+ */
36
+ SnapshotFile ?: string ;
23
37
38
+ /**
39
+ * Directory of profiler out put files
40
+ */
24
41
profilerOutputDir ?: string ;
25
42
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
+ */
26
47
gcThrottleTime ?: number ;
27
48
49
+ /**
50
+ * Enabled "timeline" profiling by setting this key to "timeline", default: ""
51
+ */
28
52
profiling ?: string ;
29
53
54
+ /**
55
+ * "none" & "full" is supported, "full" is depreciated
56
+ * Default: none
57
+ */
30
58
markingMode ?: string ;
31
59
60
+ /**
61
+ * Allow time zone changes to notify app, default: false
62
+ */
32
63
handleTimeZoneChanges ?: boolean ;
33
64
65
+ /**
66
+ * Maximum size of a single output string; default: 1024
67
+ */
34
68
maxLogcatObjectSize ?: number ;
35
69
70
+ /**
71
+ * Enable logging in Release applications, default: false
72
+ */
36
73
forceLog ?: boolean ;
37
74
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
+ */
38
79
memoryCheckInterval ?: number ;
39
80
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
+ */
40
86
freeMemoryRatio ?: number ;
41
87
42
- suppressCallJSMethodExceptions ?: boolean ;
43
-
88
+ /**
89
+ * Used for Advanced debugging
90
+ */
44
91
enableLineBreakpoints ?: boolean ;
45
92
93
+ /**
94
+ * Enabled the multithreaded JavaScript engine, this will probably break plugins...
95
+ * Disabled/Default: false
96
+ */
46
97
enableMultithreadedJavascript ?: boolean ;
47
98
}
48
99
0 commit comments