-
Notifications
You must be signed in to change notification settings - Fork 287
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ios image not working #180
Comments
Hi, you need to create an Notification Service Extension in your XCode project. Source: invertase/react-native-firebase#2432 Hints: I had to replace (in NotificationService.m) #import "RNFirebaseMessaging.h" with @import Firebase; and I replaced the version in the Podfile from pod 'Firebase/Messaging', '~> 6.3.0' to pod 'Firebase/Messaging', '~> 8.1.1' |
Thank you, It works correctly |
Good morning, can anyone tell me how to sign the Notification Service Extension to publish the IPA in stores? |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug Report
Hi, I am using FCM to send a image notification to ios devices. The image is sent but its not showing in notification. Only text is received properly. Android doesn't have this problem.
I Attach my payload request:
{ registration_ids: [ "cdfD0L0fi1g:APA91bFrLmVBaGzJzuF5k4X7l7uCtgPPTbnqKYXdXGcUbIoOPbaZuVqMBjVY83_MBMpPpmUT7Ax0m8Z5HIv-hv25l9is0-DR4WB6fF1ATDt1e0KDx8BWlqy8Y-oOStBs6iCXPViXSaGI" ], notification: { title: "hola mundo", body: "descripción hola", sound: "notificacion", color: "#FFC107", image: "https://giggoer.com/wp-content/uploads/2020/03/Beatrich-2020-595x890.jpg" }, mutable-content: 1, priority: "high", data: { image: "https://giggoer.com/wp-content/uploads/2020/03/Beatrich-2020-595x890.jpg" } }
Thank you
Expected Behaviour
Actual Behaviour
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
iOS 15.4.1
(Android) Device Vendor (e.g. Samsung, HTC, Sony...)
cordova info
Printout--- Start of Cordova JSON Snippet --- { "plugins": { "cordova-plugin-whitelist": {}, "cordova-plugin-device": {}, "cordova-plugin-geolocation": { "GEOLOCATION_USAGE_DESCRIPTION": " " }, "cordova-plugin-network-information": {}, "cordova-plugin-statusbar": {}, "cordova-plugin-androidx-adapter": {}, "@havesource/cordova-plugin-push": {} }, "platforms": [ "android", "browser", "ios" ] } --- End of Cordova JSON Snippet ---
Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem
The text was updated successfully, but these errors were encountered: