ios - Is there a way for the App to change notifications into silent notifications (not server) for push notifications -
i wondering if possible app turn push notification isn't silent(plays sound) silent push notification (doesn't play sound)? research seems server can change non silent notifications silent push notifications.
it's unfortunatly impossible.
the advantage of push notification can presented user event if app not running.
the drawback application not told push notification receiption. thus, cannot modify in app.
another solution use background fetch ask server notifications, , programm uilocalnotification with/without sound.
but doing this, notifications would't work while app not running
Comments
Post a Comment