Name:
interface
Value:
Amplify has re-imagined the way frontend developers build fullstack applications. Develop and deploy without the hassle.
Gen1 DocsLegacy

Page updated Mar 26, 2026

アプリのアンインストール

AWS will end support for Amazon Pinpoint on October 30, 2026,, and is no longer accepting any new users as of May 20 (see the linked doc). The guidance is to use AWS End User Messaging for push notifications and SMS, Amazon Simple Email Service for sending emails, Amazon Connect for campaigns, journeys, endpoints, and engagement analytics. Pinpoint recommends Amazon Kinesis for event collection and mobile analytics.

Analytics、Auth、DataStoreなどの一部のAmplifyカテゴリは、ローカルデバイスにデータを永続化します。そのデータの一部は、ユーザーがデバイスからアプリをアンインストールすると自動的に削除されます。

Amplifyは認証情報をローカルシステムキーチェーンに保存します。これは、アプリがアンインストールされたときにデータが削除されるかどうかについて、特定の動作を保証しません。

この認証情報をいつクリアするかを決定することはSDKが汎用的な方法では実行できないため、アプリ開発者はサインアウトしてデータをクリアするタイミングを決定する必要があります。これを実現するための1つの戦略は、UserDefaultsを使用してアプリが初めて起動されているかどうかを検出し、アプリが以前に起動されていない場合はAuth.signOut()を呼び出すことです。