-
Notifications
You must be signed in to change notification settings - Fork 43
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 10 Rich Push notifications #13
Comments
@aurusapps Yes, this supported by this SDK. Make sure you have the latest version in your app. Also make sure your media links don't contain any redirects and are HTTPS. HTTP URLs can be used but require a plist entry to override the HTTPS requirement. Also you may have to enable "Remote notifications" under Background Modes in Xcode if titanium isn't doing it for you. |
@jkasten2 My question was whether it is implemented in this module rather than the native iOS SDK itself. Would you know if it is? I feel the SDK in use is older and maybe we need to recompile this module with the latest version of the SDK. |
@aurusapps Although it isn't documented in this repo I see it is using 2.1.16 of the OneSignal iOS native SDK. Support for iOS 10 media attachments was added back in version 2.1.1 of the native SDK so this plugin will support it was well. The requirement of the 2.1.16 native SDK is that you must have There are a few more requirements on the iOS device itself but that is the only requirement for your app. I recommend following troubleshooting the guide below to check this on the device end. If you are stuck let us know if you are not seeing the notification at all when you add an attachment or is the notification displaying but just without the attachment? |
my bad, this seems to have worked on another app we tried it with. Will update with the exact steps we used so others can also use rich notifications in iOS. |
Not sure, but I think latest commit also provides a way to use Rich Notifications on iOS. Can you confirm this @williamrijksen ? Than you may want to also close this issue =) |
@chmiiller Theoretically yes. By providing the documented extension in step 5 of the README to your app, you should be able to use rich notifications. We haven't tested this though... |
In #38 we've update to the latest version of OneSignal 2.5.4 We did not test the rich notifications though, because we haven't been using these ourselves. |
Hi all, so as of now, January 20th 2018, what's the process for getting media links to show as little thumb images on iOS. I put a media url (https and ending with .png) into the OneSignal push field but only the message is displayed, not the thumb image. iOS 11.2 app in development mode on iPhone X. Ti SDK 7.0.1 |
Btw: This should be possible once this PR is merged. If you want to help getting it merged sooner than later, please try out the PR and provide feedback about possible issues. |
@hansemannn Did you test this in combination with the onesignal module? |
@williamrijksen Do we have any resolution on this topic? I could not get it to work, even following the steps to enable rich notifications on iOS. |
Are iOS 10 Rich Push notifications ie. with buttons and media supported in the current version of the module?
The text was updated successfully, but these errors were encountered: