Skip to content

Commit

Permalink
Android v1/v2 docs (#4723)
Browse files Browse the repository at this point in the history
* Base for Android changes -- add version switcher, fix links

* Fix Android lib-v1 root paralleling #4722

* feat: Add documentation for Get Transfer API

* update description

* Update getting-started

* Update getting-started

* Update Analytics documentation for GA (#4745)

Co-authored-by: Thomas Leing <leint@amazon.com>

* New method of initializing Analytics (#4772)

Co-authored-by: Thomas Leing <leint@amazon.com>

* Partial merge from main into android-ga-release

* Sign In and SignOut updates for Amplify v2

* Updated swift section

* Android sign out updates

* update predictions escape hatch documentation

* Android v2 Auth Federation to Identity Pool

* Changing isSignedInComplete to isSignedIn

* Updated images and text to api 24

* revert change to v1

* chore: update api to 24 and remove part of snapshot with amplify version (#4814)

* Adding custom auth support in Android docs

* chore: update location escape hatch (#4817)

* Remove dev-preview

* Add escape hatch warning

* update java sample in predictions escape hatch

* Kotlin SDK escape hatch disclaimer

* Update v2 Auth Escape Hatch

* Updated all swift code blocks to java/kotlin

* remove mention of xcode

* Fixed typo

* Add mandatory parameter of usernamer in confirm reset password

* Fix typo

* Typo fix

* Update src/fragments/lib/auth/android/signin_with_custom_flow/10_cli_setup.mdx

Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>

* chore: change client type for s3 in v2 (#4831)

* Update Amplify versions globally (#4835)

Co-authored-by: Thomas Leing <leint@amazon.com>

* Docs(Auth): Add switching auth flow documentation (#4834)

* Add switching auth flow

* Removed unnecessary enum explaination

* Addressing PR comments

* Fix typos in text

* changed identityId to identityIdResult
added refresh option in fetchAuthSession

* add upgrade guide for Amplify Android v2 (#4842)

* add java interop callout (#4847)

* add java interop callout

* Update src/fragments/lib/analytics/android/escapehatch.mdx

* Update src/fragments/lib/predictions/android/escapehatch.mdx

* Update src/fragments/lib/storage/android/escapehatch.mdx

* added async to getCurrentUser calls

* added async to getCurrentUser calls

* Fix(Auth): Addition of sign in guide in docs (#4838)

* fix for params

* addressed PR comments

* Update src/fragments/lib/auth/android/signin_next_steps/50_reset_password.mdx

Co-authored-by: Sunil Timalsina <sunil.timalsina@gmail.com>

* remove breakpoints from code

* Updated ids to only change android ids

Co-authored-by: Sunil Timalsina <sunil.timalsina@gmail.com>

* changes to upgrade guide (#4849)

* Android v2 uninstall documentation

* fix typos and code snippet bugs

* Fix whitespace to fix build (hopefully) (#4852)

Co-authored-by: Thomas Leing <leint@amazon.com>

* Update versions.ts (#4854)

* add whitespace (#4853)

* fix code snippet indentation

* add signin change (#4856)

* additional docs fixes

* Add instructions in Java

* Fix spacing between + and variable

* Addressed PR comments

* Fixed PR comments

* Fixed PR comments

* resolved PR comments

* Update src/fragments/lib/auth/android/signin_next_steps/30_confirm_custom_challenge.mdx

Co-authored-by: Erica Eaton <67125657+eeatonaws@users.noreply.github.com>

* Update src/fragments/lib/auth/android/signin_next_steps/20_confirm_sms_mfa.mdx

Co-authored-by: Erica Eaton <67125657+eeatonaws@users.noreply.github.com>

* Update src/fragments/lib/auth/android/signin_next_steps/20_confirm_sms_mfa.mdx

Co-authored-by: Erica Eaton <67125657+eeatonaws@users.noreply.github.com>

* Update src/fragments/lib/auth/android/signin_next_steps/40_confirm_new_password.mdx

Co-authored-by: Erica Eaton <67125657+eeatonaws@users.noreply.github.com>

* aligning try and catch

* Update src/fragments/lib/auth/android/signin_next_steps/20_confirm_sms_mfa.mdx

Co-authored-by: Erica Eaton <67125657+eeatonaws@users.noreply.github.com>

* PR comments addressed

* Merge conflict resolved

* Removing an extra space

* Kotlin coroutines are not in beta (#4861)

Co-authored-by: Thomas Leing <leint@amazon.com>

* Android Custom Flow code samples (#4862)

* Android Custom Flow code samples

* Add samples for switching auth flow on Android v2

* Add kotlin and rxjava snippets

* Add merges into /lib to /lib-v1 as well (#4867)

Co-authored-by: Thomas Leing <leint@amazon.com>

* git rm robots.txt

Co-authored-by: Thomas Leing <leint@amazon.com>
Co-authored-by: Saijad Dhuka <sdhuka@amazon.com>
Co-authored-by: Saijad Dhuka <83975678+sdhuka@users.noreply.github.com>
Co-authored-by: Daniel Deng <dengdan@amazon.com>
Co-authored-by: dengdan154 <85711456+dengdan154@users.noreply.github.com>
Co-authored-by: Tyler Roach <tjroach@amazon.com>
Co-authored-by: Jithin Roy <51138777+royjit@users.noreply.github.com>
Co-authored-by: Erica Eaton <eatoeric@amazon.com>
Co-authored-by: Erica Eaton <67125657+eeatonaws@users.noreply.github.com>
Co-authored-by: Anshul Gupta <gpanshu@amazon.com>
Co-authored-by: gpanshu <91897496+gpanshu@users.noreply.github.com>
Co-authored-by: Sunil Timalsina <sunil.timalsina@gmail.com>
Co-authored-by: Katie Goines <30757403+katiegoines@users.noreply.github.com>
Co-authored-by: Banji Jolaoso <banjij@amazon.com>
Co-authored-by: banji180 <banji180@gmail.com>
  • Loading branch information
16 people authored Nov 17, 2022
1 parent 4f324f2 commit b88ff68
Show file tree
Hide file tree
Showing 320 changed files with 3,384 additions and 1,329 deletions.
4 changes: 3 additions & 1 deletion cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -996,6 +996,7 @@
"prepended",
"prereq",
"presigned",
"Presigning",
"PreSignUp",
"prev",
"printLn",
Expand Down Expand Up @@ -1482,7 +1483,8 @@
"roadmap",
"infowindow",
"Libre's",
"Pinia"
"Pinia",
"kotlinx"
],
"flagWords": ["hte", "full-stack", "Full-stack", "Full-Stack"]
}
7 changes: 5 additions & 2 deletions generatePathMap.cjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ function generatePathMap(
'/start/q/integration/react-native': {
page: '/start/q/integration/[integration]'
},
"/start/q/integration/ios": {
page: "/start/q/integration/[integration]",
'/start/q/integration/ios': {
page: '/start/q/integration/[integration]',
},
'/start/q/integration/flutter': {
page: '/start/q/integration/[integration]'
Expand All @@ -55,6 +55,9 @@ function generatePathMap(
'/lib/q/platform/react-native': {
page: '/lib/q/platform/[platform]'
},
'/lib-v1/q/platform/android': {
page: '/lib-v1/q/platform/[platform]'
},
'/lib-v1/q/platform/ios': {
page: '/lib-v1/q/platform/[platform]'
},
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions public/robots.txt

This file was deleted.

4 changes: 2 additions & 2 deletions src/components/Menu/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ export default class Menu extends React.Component<MenuProps, MenuState> {
showVersionSwitcher = true;
}

//TODO: add Android filterkey here to support Android version switcher
if ((this.props.url.startsWith("/lib") ||
this.props.url.startsWith("/lib-v1")) &&
this.props.filterKey == 'ios') {
(this.props.filterKey == 'ios' ||
this.props.filterKey == 'android')) {
showLibVersionSwitcher = true;
}
if (this.state.isOpen) {
Expand Down
10 changes: 6 additions & 4 deletions src/constants/versions.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
module.exports = {
ANDROID_VERSION: "1.37.6",
ANDROID_VERSION: "2.0.0",
ANDROID_DEVPREVIEW: "1.36.5-dev-preview.0",
ANDROID_KOTLIN_VERSION: "0.21.6",
ANDROID_GEO_VERSION: "1.0.0",
ANDROID_SDK_VERSION: "2.55.0",
ANDROID_V1_VERSION: "1.37.7",
ANDROID_V1_GEO_VERSION: "1.0.0",
ANDROID_V1_KOTLIN_VERSION: "0.21.7",
ANDROID_SDK_VERSION: "2.57.0",
KOTLIN_SDK_VERSION: "0.17.12-beta"
};
Loading

0 comments on commit b88ff68

Please sign in to comment.