Giter Site home page Giter Site logo

Comments (6)

shaders avatar shaders commented on August 21, 2024 1

It showed the image perfectly... Make sure you add HTTP URL handling as per guide above. This is very important.

from pushwoosh-ios-sdk.

shaders avatar shaders commented on August 21, 2024

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.

iTarek avatar iTarek commented on August 21, 2024

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.

Matsepura avatar Matsepura commented on August 21, 2024

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.

anirudhsmarttechnica avatar anirudhsmarttechnica commented on August 21, 2024

{ "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.

ankit0812 avatar ankit0812 commented on August 21, 2024

{
“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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.