NewDeploy web apps with Git or your AI coding agent using the latest AWS Amplify. Add managed databases and authentication as you grow. Explore the documentation. Maintenance ModeYou are viewing Amplify Gen 1 documentation. Amplify Gen 1 has entered maintenance mode and will reach end of life on May 1, 2027. For existing Gen 1 projects, a migration guide and tooling are available to help you upgrade. JavaScript v5Amplify JavaScript v5 has entered maintenance mode. We recommend upgrading to v6. A migration guide is available to help you upgrade from v5 to v6. Clear messages
These docs cover Amplify Gen 1. For new web apps, we recommend the latest AWS Amplify, with a simplified CLI and native integrations for databases, storage, and AI models. Get started with the latest AWS Amplify.
Once messages have been synced to your user’s device, InAppMessaging.clearMessages() can be used to clear the synced messages.
NOTE: If your app has authentication implemented, we recommend calling
InAppMessaging.clearMessages() in between user log-ins to remove messages
targeted for specific user segments. This is especially important if you
anticipate your application will be used in shared device scenarios.