platform: PlatformNotSupportedError - Thrown if called against an unsupported platform. Currently, only React Native is supported by this API.
It is recommended that this be called as early in your app as possible at the root of your application to allow background processing of notifications.
Amplify.configure(config);
initializePushNotifications();
Initialize and set up the push notification category. The category must be first initialized before all other functionalities become available.