Saturday, 15 September 2012

android - URL Scheme alternative to push notification? -



android - URL Scheme alternative to push notification? -

push notifications not reliable. apple force notification server not guarantee delivery of notification.

we have application, in nowadays web view, in there button, should trigger request client server. button in web page (presented in webview), server sends force notification asking start sending request. hard in ios, because, notification should accepted user called upon, , anyway, force notification can not relied upon.

one alternative maintain polling server asking if should trigger request. work when app running, , drain lot of battery.

another alternative creating custom url scheme. not sure how utilize that, , if work android well. can 1 explain on how can utilize url scheme accomplish our goal?

if you're looking interact app not in foreground force notifications best bet. no app guaranteed go on running 1 time it's in background, force notifications give way of launching app , passing data. note force notifications require user allow accepting them , can ignored @ will.

url schemes can used launch app when called application, or can embedded in web pages link.

i'd recommend having button click trigger doing whatever need on server , using email callback link run app (using url scheme) or visit web page result.

android iphone ios push-notification url-scheme

No comments:

Post a Comment