bigPictureUrl not working with remote notifications
See original GitHub issueBug
When I use bigPictureUrl in LocalNotifcation it’s work fine. but when I use it with remote push notification not working !!
Environment info
System: OS: Windows 10 10.0.18362 CPU: (8) x64 Intel® Core™ i7-8565U CPU @ 1.80GHz Memory: 6.74 GB / 15.78 GB Binaries: Node: 10.16.0 - C:\Program Files\nodejs\node.EXE Yarn: 1.16.0 - C:\Program Files (x86)\Yarn\bin\yarn.CMD npm: 6.10.1 - C:\Program Files\nodejs\npm.CMD Watchman: Not Found SDKs: Android SDK: Not Found IDEs: Android Studio: Version 4.0.0.0 AI-193.6911.18.40.6514223 Languages: Java: 12.0.1 Python: Not Found npmPackages: @react-native-community/cli: Not Found react: 16.13.1 => 16.13.1 react-native: 0.63.1 => 0.63.1 npmGlobalPackages: react-native: Not Found
Library version: 6.1.1
PushNotification.localNotification({ subText: 'This is a subText', // (optional) default: none bigPictureUrl: "http://example.com/image.jpg", message: 'My Notification Message', // (required) });
{ "registration_ids":["{ids}"], "notification": { "title": "string", "bigPictureUrl": "http://example.com/image.jpg" } }
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
https://firebase.google.com/docs/cloud-messaging/android/send-image
@Dallas62 Thank you