Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(react-native) add docs for preferPrivateSession #7310

Open
wants to merge 128 commits into
base: main
Choose a base branch
from

Conversation

asp3
Copy link

@asp3 asp3 commented Apr 25, 2024

Description of changes:

As per the issue here, it was very hard to locate the fix for users not being able to select a new account after log out. This documentation is copied over from the swift docs, but it is also relevant in React-Native as well.

Related GitHub issue #, if available:

aws-amplify/amplify-js#13132

Instructions

If this PR should not be merged upon approval for any reason, please submit as a DRAFT

Which product(s) are affected by this PR (if applicable)?

  • amplify-cli
  • amplify-ui
  • amplify-studio
  • amplify-hosting
  • amplify-libraries

Which platform(s) are affected by this PR (if applicable)?

  • JS
  • Swift
  • Android
  • Flutter
  • React Native

Please add the product(s)/platform(s) affected to the PR title

Checks

  • Does this PR conform to the styleguide?

  • Does this PR include filetypes other than markdown or images? Please add or update unit tests accordingly.

  • Are any files being deleted with this PR? If so, have the needed redirects been created?

  • Are all links in MDX files using the MDX link syntax rather than HTML link syntax?

    ref: MDX: [link](https://docs.amplify.aws/)
    HTML: <a href="https://docs.amplify.aws/">link</a>

When this PR is ready to merge, please check the box below

  • Ready to merge

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

hibler13 and others added 30 commits February 19, 2024 13:21
* Updates to Vite + React quickstart

* Update src/fragments/gen2/quickstart/build-a-backend.mdx

Co-authored-by: Kevin Old <kevold@amazon.com>

* Update build-a-backend.mdx

* Update build-a-backend.mdx

* Update build-a-backend.mdx

---------

Co-authored-by: Kevin Old <kevold@amazon.com>
)

* platform typed as optional

* refactor init

* remove commented code

* remove angry useEffect

* fix typing

* added layoutcontext so mobile menu closes on navigation

* move import

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>
…atform (aws-amplify#6947)

Co-authored-by: Tim Nguyen <54393192+timngyn@users.noreply.github.com>
…mplify#6954)

* chore: more layout refactoring

* remove unused prop, alphabetize props
* include usage for multi-page apps

* improve multi-page app docs

* use Hub syntax

* update imports in examples
* chore: Clean up broken Amplify JS API reference links.

* Cleaned up language.
* update build image settings for Gen 2

* remove callout and add fragment to vite guide
* chore: add unit test for YoutubeEmbed component

* add code coverage stats

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>
* chore: add unit tests for Accordion component

* issue with window properties

* fixed tracking test

* working on animation issue

* accordion tests

* fix testing errors

* added test for closing accordion

* add code coverage stats

---------

Co-authored-by: katiegoines <katiegoines@gmail.com>
* Add algolia env vars to next.config

* Remove extra code string
…; add build step to docs (aws-amplify#6970)

* fix(data): update React Native minimum iOS deployment target; add build step to docs

* address PR feedback

* remove deployment target guidance

* add React Native version deployment target callout

* fix unrecognized syntax

* replace callout with accordion

* move 'upgrading' callout
…-amplify#6985)

* Clarify behavior of forgetDevice() API regarding device tracking

This commit updates the documentation to clarify that using the forgetDevice() API results in the device being neither remembered nor tracked. Previously, the documentation suggested that forgotten devices might still be tracked, leading to confusion about the API's behavior. The revised wording aligns with the detailed description under the "Forgotten" section, ensuring consistency and eliminating ambiguity about how forgotten devices are handled.

* Clarify behavior of forgetDevice() API regarding device tracking
* Support for enum value listing

* Update src/pages/gen2/build-a-backend/data/data-modeling/add-fields/index.mdx
renebrandel and others added 16 commits April 10, 2024 12:53
* Added documentation on updated IAM behavior

* Update src/pages/[platform]/tools/cli/migration/iam-auth-updates-for-cdk-construct/index.mdx

Co-authored-by: Kamil Sobol <sobol.k.r@gmail.com>

* Update src/pages/[platform]/build-a-backend/graphqlapi/customize-authorization-rules/index.mdx

Co-authored-by: Kamil Sobol <sobol.k.r@gmail.com>

* Update src/pages/[platform]/build-a-backend/graphqlapi/customize-authorization-rules/index.mdx

* Update src/pages/[platform]/tools/cli/migration/iam-auth-updates-for-cdk-construct/index.mdx

* Update src/pages/[platform]/tools/cli/migration/iam-auth-updates-for-cdk-construct/index.mdx

Co-authored-by: Tim Schmelter <schmelte@amazon.com>

* addressed comments

* Updated to reflect changes to Gen 2 content

* Update src/pages/[platform]/build-a-backend/graphqlapi/customize-authorization-rules/index.mdx

---------

Co-authored-by: Kamil Sobol <sobol.k.r@gmail.com>
Co-authored-by: Tim Schmelter <schmelte@amazon.com>
* edits to custom business logic

* update secondary index code examples
…-amplify#7080)

* add client side code for public access

* add client side code for signed in user access

* add client side code for multi user access

* add client side code for per user/owner access

* add client side code for custom id & group claims

* add client side code for custom access

* add client side code for user pool group access

* add client side code for oidc access

* Update src/pages/gen2/build-a-backend/data/customize-authz/signed-in-user-data-access/index.mdx

Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>

* add info callout and configuration code to public/private iam examples

* move callout up

* remove "**note**" from callouts

---------

Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>
* Added new relationship behavior doc

* fixed typos
…e aws sdk page (aws-amplify#7220)

* fix(predictions): fix wrong reference of swfit/android predictions use aws sdk page

* fix(predictions): update Use AWS SDK description
The correct DynamoDB syntax requires semicolon in both expression and expressionValues
* updated generate-client-code section

* updated graphql-client-code section

* updated the description

* removed workflow

* Update src/pages/gen2/reference/cli-commands/index.mdx

Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>

* Update src/pages/gen2/reference/cli-commands/index.mdx

Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>

* added Supported GraphQL client code combinations

* fixed the spell

* fixed the format

* fixed the syntax

* Update src/pages/gen2/reference/cli-commands/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Update src/pages/gen2/reference/cli-commands/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Update src/pages/gen2/reference/cli-commands/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* Update src/pages/gen2/reference/cli-commands/index.mdx

Co-authored-by: josef <josef.aidt@gmail.com>

* updated the stack name

---------

Co-authored-by: Rene Brandel <4989523+renebrandel@users.noreply.github.com>
Co-authored-by: josef <josef.aidt@gmail.com>
…lify#7252)

* Updated authorization rules to use the new syntax

* Update src/pages/gen2/build-a-backend/data/customize-authz/signed-in-user-data-access/index.mdx

Co-authored-by: Hui Zhao <10602282+HuiSF@users.noreply.github.com>

---------

Co-authored-by: Hui Zhao <10602282+HuiSF@users.noreply.github.com>
Modified link for "Serverless APIs" points to the correct URL.
)

* Update the flutter mobile support doc.

* Add file name.

* Add Safe Area.
* chore(main): replace Twitter logo with X logo

* update tests,snapshots, use x.com link instead of twitter.com
@reesscot
Copy link
Contributor

reesscot commented May 3, 2024

@asp3 Can you please port your changes over the latest version of main? We just released a new docs site, so many files were moved around.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet