From 9d3bd7aecf3ab7ebde94f2505d9f4243b594a445 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Sch=C3=B6nig?= Date: Mon, 18 Dec 2023 13:01:09 +1100 Subject: [PATCH] Minor fix for README Fixes a typo in the Cognito framework name and updates `.add(_:)` to `.add(plugin:)` --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 68e101a6ce..129adead7b 100644 --- a/README.md +++ b/README.md @@ -91,7 +91,7 @@ Amplify requires Xcode 14.1 or higher to build for iOS and macOS. Building for w ```swift import Amplify - import AWSCongitoAuthPlugin + import AWSCognitoAuthPlugin import AWSAPIPlugin import AWSDataStorePlugin @@ -99,9 +99,9 @@ Amplify requires Xcode 14.1 or higher to build for iOS and macOS. Building for w func initializeAmplify() { do { - try Amplify.add(AWSCognitoAuthPlugin()) - try Amplify.add(AWSAPIPlugin()) - try Amplify.add(AWSDataStorePlugin()) + try Amplify.add(plugin: AWSCognitoAuthPlugin()) + try Amplify.add(plugin: AWSAPIPlugin()) + try Amplify.add(plugin: AWSDataStorePlugin()) // and so on ... try Amplify.configure() } catch {