From 1dad57551e7df1207ba7d082f5ccbb89aa44b1ef Mon Sep 17 00:00:00 2001 From: dengdan154 Date: Tue, 28 Mar 2023 17:16:49 -0500 Subject: [PATCH 1/2] fix(android): Fix out of order setup step --- .../android/create-application/40_verifyAmplifyLibraries.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fragments/lib/project-setup/android/create-application/40_verifyAmplifyLibraries.mdx b/src/fragments/lib/project-setup/android/create-application/40_verifyAmplifyLibraries.mdx index d98beb8183b..d3dd7834705 100644 --- a/src/fragments/lib/project-setup/android/create-application/40_verifyAmplifyLibraries.mdx +++ b/src/fragments/lib/project-setup/android/create-application/40_verifyAmplifyLibraries.mdx @@ -8,8 +8,8 @@ Right-click on your namespace (e.g. `com.example.MyAmplifyApp`), click **New**, Configure the new class in **New Java Class**: - Enter *MyAmplifyApp* in the **Name** field +- Press enter - Extend *MyAmplifyApp* from *android.app.Application* by adding `extends Application` to your class -- Press **OK** Initialize Amplify by adding an `onCreate` method with the following code: @@ -33,8 +33,8 @@ Initialize Amplify by adding an `onCreate` method with the following code: Configure the new class in **New Kotlin File/Class**: - Enter *MyAmplifyApp* in the **Name** field -- Extend *MyAmplifyApp* from *android.app.Application* by adding `: Application()` to your class - Press enter +- Extend *MyAmplifyApp* from *android.app.Application* by adding `: Application()` to your class Initialize Amplify by adding an `onCreate` method with the following code: From 251096ff230308f2297487a474f9f5763759b841 Mon Sep 17 00:00:00 2001 From: dengdan154 Date: Tue, 28 Mar 2023 17:37:35 -0500 Subject: [PATCH 2/2] Update 40_verifyAmplifyLibraries.mdx --- .../android/create-application/40_verifyAmplifyLibraries.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/fragments/lib-v1/project-setup/android/create-application/40_verifyAmplifyLibraries.mdx b/src/fragments/lib-v1/project-setup/android/create-application/40_verifyAmplifyLibraries.mdx index d98beb8183b..d3dd7834705 100644 --- a/src/fragments/lib-v1/project-setup/android/create-application/40_verifyAmplifyLibraries.mdx +++ b/src/fragments/lib-v1/project-setup/android/create-application/40_verifyAmplifyLibraries.mdx @@ -8,8 +8,8 @@ Right-click on your namespace (e.g. `com.example.MyAmplifyApp`), click **New**, Configure the new class in **New Java Class**: - Enter *MyAmplifyApp* in the **Name** field +- Press enter - Extend *MyAmplifyApp* from *android.app.Application* by adding `extends Application` to your class -- Press **OK** Initialize Amplify by adding an `onCreate` method with the following code: @@ -33,8 +33,8 @@ Initialize Amplify by adding an `onCreate` method with the following code: Configure the new class in **New Kotlin File/Class**: - Enter *MyAmplifyApp* in the **Name** field -- Extend *MyAmplifyApp* from *android.app.Application* by adding `: Application()` to your class - Press enter +- Extend *MyAmplifyApp* from *android.app.Application* by adding `: Application()` to your class Initialize Amplify by adding an `onCreate` method with the following code: