-
Notifications
You must be signed in to change notification settings - Fork 119
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
Using Attachments #34
Comments
You should be now able to set if with setParameter() in the next released version. |
@LKDevelopment @Lloople is it worth having a custom image/setImage function which would set all the image values... ie:
I'm aware there is now the new setParameter but I can see image being used frequently and with there being multiple values to set, would it make sense to have its own function? |
@AshPowell The Problem with a "One Function sets all Parameter" is, that if you want wo have only an image for chrome or different images for ios/android/chrome you can't set it with this function. So it would be configurabler to use the setParamter function. |
Fair point, would that ever be the case though? Typically you'd want the same values for each platform as the notification is the same... ie subject, body, icon all tend to be the same, I don't see why image wouldnt? Worth an ask anyway :) |
Well, we can have a method called |
Just in second i created the branch for setImage locally :) |
Excellent! It just makes it a little easier for something that will be a common function. (And now master has all the extra functionality my local extended version did, all is good :) ) |
Hi,
How can i attach images like ios_attachments and big_picture
The text was updated successfully, but these errors were encountered: