Clear messages
Once messages have been synced to your user's device, clearMessages()
can be used to clear the synced messages.
src/index.js
import { clearMessages } from 'aws-amplify/in-app-messaging';
await clearMessages();
Once messages have been synced to your user's device, clearMessages()
can be used to clear the synced messages.
import { clearMessages } from 'aws-amplify/in-app-messaging';
await clearMessages();