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.
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 theReactInstanceManager
if I understood it correctly) therefore I can't run async tasks in the code. Other react libraries download the images in theFirebaseMessagingService
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.