• Initialize and set up the push notification category. The category must be first initialized before all other functionalities become available.

    Returns void

    Throws

    platform: PlatformNotSupportedError - Thrown if called against an unsupported platform. Currently, only React Native is supported by this API.

    Remarks

    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.

    Example

    Amplify.configure(config);
    initializePushNotifications();