标签: amazon-web-services react-native push-notification aws-amplify
当前在本机android应用中使用此功能
PushNotification.onNotificationOpened(notification => { console.log("on notification opened", notification); });
当应用程序在后台运行时,它将起作用。处于终止状态时,单击通知只会打开应用。