Comments (6)
It showed the image perfectly... Make sure you add HTTP URL handling as per guide above. This is very important.
from pushwoosh-ios-sdk.
I see this is HTTP URL. Did you follow this step in the guide:
http://docs.pushwoosh.com/docs/ios-10-rich-notifications-integration#3-allowing-non-secure-attachment-urls
from pushwoosh-ios-sdk.
Yes Sure
You can try this
{"aps":{"mutable-content":1},"attachment":"http://iphoneislam.com/wp-content/uploads/2016/10/Zamen_iOS10_1-590x332.jpg"}
if it worked with you and it show image on the push, close the issue, if not just tell me the reason.
from pushwoosh-ios-sdk.
Had the same issue. In my case, I forgot add this one:
Notification Service Extension is a separate binary and has its own Info.plist file.
Starting with iOS9 release to download the content from non-https URL (ex: http://) you have to add App Transport Security Settings with Allow Arbitrary Loads flag set to YES to extension's Info.plist file.
NOTE: has its own Info.plist file!!!
from pushwoosh-ios-sdk.
{ "notification": {
"body" : "This week’s edition is now available.",
"title": "Portugal vs. Denmark",
"text": "5 to 1",
"content_available": 1
},
"data" : {
"volume" : "3.21.15",
"contents" : "http://iphoneislam.com/wp-content/uploads/2016/10/Zamen_iOS10_1-590x332.jpg"
},
"to" : "fFAbfpB55QA:..........",
"priority" : "high"
}
Same here..Image not come..(Using firebase)
from pushwoosh-ios-sdk.
{
“to”: “TO_BE_SENT_TOKEN”,
“content_available”: true,
“mutable_content”: true,
“priority”: “high”,
“notification”: {
“title”: “Custom title”,
“subtitle”: “Custom subtitle”,
“body”: “Custom body”,
“sound”: “store_notif.mp3”,
“badge”: 1
},
“data”: {
“type”: “notificationType”,
“attachment-url”: “https://www.cleverfiles.com/howto/wp-content/uploads/2018/03/minion.jpg”
}
}
Works perfectly check this
from pushwoosh-ios-sdk.
Related Issues (20)
- Issues communicating with backend HOT 1
- test new issue tracker webhook
- another test
- Catalyst built fails HOT 1
- Crash in PWInAppMessagesManager setEmails:completion:]_block_invoke () HOT 2
- Build fails on M1 due to linking error HOT 3
- Feedback questionnaire
- [question] Pushwoosh and PushwooshXCFramework versions on CocoaPods HOT 1
- Unable to get message_id from remote push HOT 2
- Not getting remote notification in debug mode HOT 3
- Pushwoosh in Background could lead to termination HOT 1
- Pushwoosh_PURCHASE_TRACKING_ENABLED crashes on version 6.4.9 HOT 2
- Apple M1/M2 Support HOT 6
- setTags generates warnings to console HOT 2
- App is Crashing at PWRequestManager retryCountWith HOT 7
- [Question]: Lorem ipsum dolor sit amet, consectetur adipiscing elit ?
- App Size increasing after receiving Rich Notification HOT 4
- [Feature]: Add Privacy Manifest File HOT 4
- Error sending event: Pushwoosh User Id is missing HOT 11
- sendAppOpen method no longer necessary? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pushwoosh-ios-sdk.