Skip to content

Commit 17aae84

Browse files
committed
Add comment
1 parent ba3a2b7 commit 17aae84

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/flutter_avo_inspector.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ class FlutterAvoInspector {
1515
required String appVersion,
1616
FlutterAvoInspectorEnv env = FlutterAvoInspectorEnv.development,
1717
VisualInspectorMode visualInspectorMode = VisualInspectorMode.bubble,
18-
bool autoShowVisualInspector = true,
18+
// On iOS Release Mode, if we set to the true, it will show the visual inspector
19+
// On Android Release Mode, if we set to the true, it will not show the visual inspector
20+
bool autoShowVisualInspector = kDebugMode,
1921
}) {
2022
FlutterAvoInspectorPlatform.instance.initialize(
2123
apiKey: apiKey,

0 commit comments

Comments
 (0)