rozdoum / social-app-android

Build your social app for Android with the code template that includes the following key features for social networks as likes, comments, posts, image uploads, etc.
Apache License 2.0
450 stars 266 forks source link

Notification #98

Open omaisali opened 4 years ago

omaisali commented 4 years ago

Failure getPostTask { Error: Messaging payload contains an invalid value for the "data.icon" property. Values must be strings. at FirebaseMessagingError

muhammadkamranlatifraza commented 4 years ago

same here any solution so far??????

muhammadkamranlatifraza commented 4 years ago

so far i have commented this line const generateThumbsPromises = generateThumbnailsGeneral(fileBucket, filePath, contentType); and replaced icon: post.val().imagePath, with icon: post.val().imageTitle, and notifications are working now (at lease in when app is running foreground)

I think it has something to do with storage dependency in index.js file......