I integrated Urban Airship in my app for push notifications and In-App messaging. By using the landing page action i can able to send the push message in foreground or background state and as mentioned by them, the message is showing when the user is opening the app for the next time.
But i want to show the In-App notification with landing page action when the app received it in foreground state and immediately
In the docs of Urban Airship they mentioned
If you need to display a Landing Page while the app is in the foreground state, replace the registry predicate associated with that action with one that allows foreground execution.
please find the url
http://docs.urbanairship.com/user-guide/message-composer.html#in-app-message
can someone please tell me what is the "registry predicate" that they mentioned and how to achieve my requirement
Related
By using the landing page action I am able to send the push message in foreground or background state and as mentioned in doc, the message is showing when the user is opening the app for the next time.
But I want to directly display the landing page container (without showing a In-app notification and to wait for user interaction to display it) when the app received it in foreground state and immediately (not to wait until the next launch).
In the docs it is mentioned that:
If you need to display a Landing Page while the app is in the
foreground state, replace the registry predicate associated with that
action with one that allows foreground execution.
How to retrieve this functionality?
You can update the predicate with:
[[UAirship shared].actionRegistry updatePredicate:nil
forEntryWithName:kUALandingPageActionDefaultRegistryName];
I cant find a clear answer about this in the Titanium documentation. Is it possible to directly respond to a push notification while the app is killed ?
I know that the callback is called when you open the app trough the push notification. but is there a way to respond when the app is opened manually ?
I tried to use remote-notification as UIBackgroundModes, but this only helps for paused apps.
My goal is to show the push notification in a in-app message center.
You should never rely on push notifications to deliver you payloads, they are too limited for that. If the user receives 5 push notifications and opens the app via the app icon, you will never receive any of the payloads. If he opens the app via one of those notifications you will only receive that payload.
You could use silentpush:
http://docs.appcelerator.com/platform/latest/#!/guide/iOS_Background_Services-section-37539664_iOSBackgroundServices-SilentPush
But the app should always query a back-end to get the actual data. That's how WhatsApp does it as well, as you can see when you open it via a notification it will then still fetch the message(s) form the server.
Is it possible to send an SMS or a push notification with a link to a specific action in an ios application.
For instance, I'm trying to implement password reset in iPhone application. Due to some restrictions I can't use emails. I know how to send push notifications. The question is, is it possible to embed a link with a token which would open a particular view in particular application and pass that token through?
You can add a link in an SMS which would launch your app (or another app for that matter if it supports URL launching) if the user clicked on that link within the SMS and the link could contain the token which gets passed through to the app.
You can't put a link into a push notification but there's no need to because when the user clicks on the notification your app would automatically get launched (and passed any data such as the token you have embedded within the push notification).
(You cannot launch another arbitrary app from a push notification).
Is there a way to show or list Apple push notifications on any user page?
It's pretty hard to find where is the alert message is received.
Here is the Xamarin doc for Remote Notifications: http://docs.xamarin.com/guides/cross-platform/application_fundamentals/notifications/ios/remote_notifications_in_ios/.
iOS handles the push notification for you, your app is only informed of a push notification if you app is running in the foreground or when the user clicks on the notification and you app is opened.
With the iOS SDK there is no way to get a list of notifications for you app, the best way to create this is by keep a list server side.
Have a look at MonoTouch.UIKit.UIApplicationDelegate.ReceivedRemoteNotification Method
I am create a firebase based chat application for iOS. One of the features is to send push notification to the users in the same chat room (if they are offline).
I can't find a firebase function (for iOS) that can be used to send push notifications to the user.
Is it possible?
Displaying alert badges and notifications on iPhone applications is accomplished through Apple's Push Notification system. Since the application is not running on the user's phone when they receive notifications, the APN will have to be triggered from your server-side code.
You'll probably want to create a server-side module that listens for changes to your chat Firebase. When a message appears for a user that is offline, you'll have to schedule a remote notification with the APN. That latter part has nothing to do with Firebase, but has extensive documentation on Apple's developer web site.
I'm not sure if a web application can display alerts or badges. Otherwise this approach will only work if you create a native wrapper for your Firebase chat application.