From bcdad8ba4b4c2969fd4957e4ed8a8bfb2f0baccd Mon Sep 17 00:00:00 2001 From: SebastienBtr Date: Tue, 7 Nov 2023 22:27:06 +0100 Subject: [PATCH] Update getting-started.mdx (#1873) Fix #1872 --- docs/getting-started.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/getting-started.mdx b/docs/getting-started.mdx index fc966fb12..630495c44 100644 --- a/docs/getting-started.mdx +++ b/docs/getting-started.mdx @@ -89,6 +89,8 @@ Psst... Android is a bit easier to set up, so we recommend starting with it! @Parameters(name = "{0}") public static Object[] testCases() { PatrolJUnitRunner instrumentation = (PatrolJUnitRunner) InstrumentationRegistry.getInstrumentation(); + // replace "MainActivity.class" with "io.flutter.embedding.android.FlutterActivity.class" + // if your AndroidManifest is using: android:name="io.flutter.embedding.android.FlutterActivity" instrumentation.setUp(MainActivity.class); instrumentation.waitForPatrolAppService(); return instrumentation.listDartTests();