Open
Description
Description
Hi,
I'm trying to implement the Push Notifications API in my app, and I've noticed that it doesn't work properly when the activity is destroyed by the system. This issue can be easily reproduced by enabling the 'Don't keep activities' option in the system settings.
I tested it on both an API 34 emulator and a Samsung S21.
Categories
- Analytics
- API (REST)
- API (GraphQL)
- Auth
- Authenticator
- DataStore
- Notifications (Push)
- Storage
Steps to Reproduce
- Go to System Settings -> System -> Developer options -> enable "Don't keep activities".
- Open the app.
- Press home button.
- Open push message.
- Amplify.Notifications.Push.launchNotification is null.
Screenshots
No response
Platforms
- iOS
- Android
- Web
- macOS
- Windows
- Linux
Flutter Version
3.24.3
Amplify Flutter Version
2.4.1
Deployment Method
Amplify Gen 2
Schema
No response