Skip to content

Download icons from URLs #22

@khrizt

Description

@khrizt

Hi,

I'm trying to do a PR to allow this case, sending the icons as URLs and download the images in the app to show the image as icon (large or small). I'm struggling a bit on how to do that because the RNPushNotificationListenerService starts a main thread runnable (to be able to get the ReactInstanceManager if I understood it correctly) therefore I can't run async tasks in the code. Other react libraries download the images in the FirebaseMessagingService because they don't use the main thread.

Anyone has any idea on how to do that? If I can I'll create a PR to support this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions