From 5e06a219aee3bc6f8792a3b37ccb68bce74a4a2c Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <6162866+harsh62@users.noreply.github.com> Date: Thu, 17 Oct 2024 21:55:06 -0400 Subject: [PATCH 1/3] chore(Swift): update visionOS support callout --- src/fragments/lib/ios-prereq-category.mdx | 6 ++---- .../add-aws-services/analytics/set-up-analytics/index.mdx | 6 ++---- .../add-aws-services/geo/set-up-geo/index.mdx | 6 ++---- .../add-aws-services/logging/set-up-logging/index.mdx | 6 ++---- .../customize-auth-lifecycle/custom-auth-flows/index.mdx | 6 ++---- .../[platform]/build-a-backend/auth/set-up-auth/index.mdx | 8 +++----- .../build-a-backend/storage/set-up-storage/index.mdx | 6 ++---- 7 files changed, 15 insertions(+), 29 deletions(-) diff --git a/src/fragments/lib/ios-prereq-category.mdx b/src/fragments/lib/ios-prereq-category.mdx index 6907a9ff7d5..8bc1102828a 100644 --- a/src/fragments/lib/ios-prereq-category.mdx +++ b/src/fragments/lib/ios-prereq-category.mdx @@ -9,9 +9,7 @@ For a full example, please follow the [project setup walkthrough](/gen1/[platfor -visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch. -As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis. - -For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support). +visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases). +As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis. diff --git a/src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx b/src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx index 34d70a829c4..4ecd6aba3a0 100644 --- a/src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx +++ b/src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx @@ -43,10 +43,8 @@ An application with Amplify libraries integrated and a minimum target of any of -visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch. -As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis. - -For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support). +visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases). +As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis. diff --git a/src/pages/[platform]/build-a-backend/add-aws-services/geo/set-up-geo/index.mdx b/src/pages/[platform]/build-a-backend/add-aws-services/geo/set-up-geo/index.mdx index 3cb76c85cf4..69846f5b435 100644 --- a/src/pages/[platform]/build-a-backend/add-aws-services/geo/set-up-geo/index.mdx +++ b/src/pages/[platform]/build-a-backend/add-aws-services/geo/set-up-geo/index.mdx @@ -164,10 +164,8 @@ For a full example, please follow the [project setup walkthrough](/[platform]/st -visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch. -As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis. - -For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support). +visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases). +As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis. diff --git a/src/pages/[platform]/build-a-backend/add-aws-services/logging/set-up-logging/index.mdx b/src/pages/[platform]/build-a-backend/add-aws-services/logging/set-up-logging/index.mdx index dcf1b3239f5..1a980604b32 100644 --- a/src/pages/[platform]/build-a-backend/add-aws-services/logging/set-up-logging/index.mdx +++ b/src/pages/[platform]/build-a-backend/add-aws-services/logging/set-up-logging/index.mdx @@ -82,10 +82,8 @@ For a full example, please follow the [mobile support walkthrough](/swift/start/ -visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch. -As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis. - -For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support). +visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases). +As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis. diff --git a/src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx b/src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx index c4c093a03e8..f9658b1b638 100644 --- a/src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx @@ -39,10 +39,8 @@ For a full example, please follow the [project setup walkthrough](/[platform]/st -visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch. -As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis. - -For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support). +visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases). +As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis. diff --git a/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx b/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx index 1903fe1750c..29ca825258b 100644 --- a/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx @@ -573,12 +573,10 @@ An application with Amplify libraries integrated and a minimum target of any of - **watchOS 9.0**, using **Xcode 14.3** or later. - **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.) - - -visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch. -As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis. + -For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support). +visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases). +As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis. diff --git a/src/pages/[platform]/build-a-backend/storage/set-up-storage/index.mdx b/src/pages/[platform]/build-a-backend/storage/set-up-storage/index.mdx index 9f1d42046b8..9b18f2bccd1 100644 --- a/src/pages/[platform]/build-a-backend/storage/set-up-storage/index.mdx +++ b/src/pages/[platform]/build-a-backend/storage/set-up-storage/index.mdx @@ -404,11 +404,9 @@ An application with Amplify libraries integrated and a minimum target of any of For a full example, please follow the [project setup walkthrough](/[platform]/start/quickstart/). -{/* is the visionOS support callout relevant here? */} -visionOS support is currently in **preview** and can be used by targeting the [`visionos-preview`](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview) branch. -As new Xcode 15 beta versions are released, the branch will be updated with any necessary fixes on a best effort basis. -For more information on how to use the `visionos-preview` branch, see [Platform Support](https://github.com/aws-amplify/amplify-swift/tree/visionos-preview#platform-support). +visionOS support is currently in **preview** and can be used by using the latest [Amplify Release](https://github.com/aws-amplify/amplify-swift/releases). +As new Xcode and visionOS versions are released, the support will be updated with any necessary fixes on a best effort basis. From 23a8ee07dac040f1d4edbeab880f5b8357014f5b Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <6162866+harsh62@users.noreply.github.com> Date: Mon, 21 Oct 2024 13:03:49 -0400 Subject: [PATCH 2/3] worked on review comments --- src/fragments/lib/ios-prereq-category.mdx | 2 +- .../add-aws-services/analytics/set-up-analytics/index.mdx | 2 +- .../customize-auth-lifecycle/custom-auth-flows/index.mdx | 2 +- .../[platform]/build-a-backend/auth/set-up-auth/index.mdx | 2 +- .../build-a-backend/auth/sign-in-with-web-ui/index.mdx | 6 ++---- 5 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/fragments/lib/ios-prereq-category.mdx b/src/fragments/lib/ios-prereq-category.mdx index 8bc1102828a..ed5b07f6d6e 100644 --- a/src/fragments/lib/ios-prereq-category.mdx +++ b/src/fragments/lib/ios-prereq-category.mdx @@ -3,7 +3,7 @@ An application with Amplify libraries integrated and a minimum target of any of - **macOS 10.15**, using **Xcode 14.1** or later. - **tvOS 13.0**, using **Xcode 14.3** or later. - **watchOS 9.0**, using **Xcode 14.3** or later. -- **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.) +- **visionOS 1.0**, using **Xcode 15** or later. (Preview support - see below for more details.) For a full example, please follow the [project setup walkthrough](/gen1/[platform]/start/project-setup/prerequisites/). diff --git a/src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx b/src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx index 4ecd6aba3a0..2577a83d329 100644 --- a/src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx +++ b/src/pages/[platform]/build-a-backend/add-aws-services/analytics/set-up-analytics/index.mdx @@ -39,7 +39,7 @@ An application with Amplify libraries integrated and a minimum target of any of - **macOS 10.15**, using **Xcode 14.1** or later. - **tvOS 13.0**, using **Xcode 14.3** or later. - **watchOS 9.0**, using **Xcode 14.3** or later. -- **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.) +- **visionOS 1.0**, using **Xcode 15** or later. (Preview support - see below for more details.) diff --git a/src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx b/src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx index f9658b1b638..9ba6bd7f9b3 100644 --- a/src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/customize-auth-lifecycle/custom-auth-flows/index.mdx @@ -33,7 +33,7 @@ An application with Amplify libraries integrated and a minimum target of any of - **macOS 10.15**, using **Xcode 14.1** or later. - **tvOS 13.0**, using **Xcode 14.3** or later. - **watchOS 9.0**, using **Xcode 14.3** or later. -- **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.) +- **visionOS 1.0**, using **Xcode 15** or later. (Preview support - see below for more details.) For a full example, please follow the [project setup walkthrough](/[platform]/start/quickstart/). diff --git a/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx b/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx index 29ca825258b..3fae274bd6d 100644 --- a/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/set-up-auth/index.mdx @@ -571,7 +571,7 @@ An application with Amplify libraries integrated and a minimum target of any of - **macOS 10.15**, using **Xcode 14.1** or later. - **tvOS 13.0**, using **Xcode 14.3** or later. - **watchOS 9.0**, using **Xcode 14.3** or later. -- **visionOS 1.0**, using **Xcode 15 beta 2** or later. (Preview support - see below for more details.) +- **visionOS 1.0**, using **Xcode 15** or later. (Preview support - see below for more details.) diff --git a/src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx b/src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx index 5ba25b10f20..39b55541988 100644 --- a/src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx @@ -130,13 +130,11 @@ RxAmplify.Auth.signInWithWebUI(this) -**Note:** Social sign-in (OAuth) functionality is only available in **iOS** and **macOS**. +**Note:** Social sign-in (OAuth) functionality is only available in **iOS**, **macOS** and **visionOS**. When configuring social sign-in, it's important to exercise caution when designating attributes as "required." Different social identity providers have varied scopes in terms of the information they respond back to Cognito with. User pool attributes that are initially set up as "required" cannot be changed later, and may require you to migrate the users or create a new user pool. - - -An application with a minimum target of **iOS 13.0** and/or **macOS 10.15** with Amplify libraries integrated, using **Xcode 14.1** or later. +. For a full example, please follow the [project setup walkthrough](/[platform]/start/quickstart/). From a60e6ce7e76d341b1b3cb508ddad17cfa82817bc Mon Sep 17 00:00:00 2001 From: Harshdeep Singh <6162866+harsh62@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:18:01 -0400 Subject: [PATCH 3/3] fix build error --- .../build-a-backend/auth/sign-in-with-web-ui/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx b/src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx index 39b55541988..cda3ce8918a 100644 --- a/src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx +++ b/src/pages/[platform]/build-a-backend/auth/sign-in-with-web-ui/index.mdx @@ -134,7 +134,7 @@ RxAmplify.Auth.signInWithWebUI(this) When configuring social sign-in, it's important to exercise caution when designating attributes as "required." Different social identity providers have varied scopes in terms of the information they respond back to Cognito with. User pool attributes that are initially set up as "required" cannot be changed later, and may require you to migrate the users or create a new user pool. -. + For a full example, please follow the [project setup walkthrough](/[platform]/start/quickstart/).