Skip to content
This repository was archived by the owner on Feb 7, 2019. It is now read-only.
This repository was archived by the owner on Feb 7, 2019. It is now read-only.

Automatically subscribe to notificationCallbackAndroid on register() #73

@PeterStaev

Description

@PeterStaev

Currently for iOS when in the settings you pass a notificationCallbackIOS function, on register the app automatically subscribes to that callback. For Android you have to manually do this by calling onMessageReceived in the success callback of the register function. This is really not very user-friendly and I think for Android the logic should be changed to match the iOS one, i.e. if the user passes a notificationCallbackAndroid in the settings on register the plugin should automatically subscribe to that event.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions