doumu1873 2016-12-07 11:17
浏览 60

使用基本php提醒Apple iOS设备的通知

I have four notification settings as below :

1.Renew Tax
2.Renew Health Insurance
3.Renew Car Insurance
4.Renew Residential Insurance

If a user turn off any of the settings in their mobile phone NO notification will be sent to their mobile phone.

If a user turn on the setting to notify, then user will receive alert message just 4 days before payment as a reminder.

How will I write a web service in basic php to send notifications?

  • 写回答

2条回答 默认 最新

  • duanjiu2701 2016-12-07 12:21
    关注
    1. Your cannot check if user disabled notification settings until (s)he starts an app.
    2. currentUserNotificationSettings will help you to check permissions on the start of the app.
    3. If the user disables notifications, push notifications from server won't come as well.
    4. Notifications from server are called push notifications. You should have an appropriate certificate and use either sockets, or existing internet-services which allow you to do so. If you want to do it in php: If you are interested, you may write your worn APN service, for example, use https://github.com/manifestinteractive/easyapns

    In general, you have plenty of little tasks you need to do to achive your goal. Just write appropriate business logic of your app and search each item of the list.

    评论

报告相同问题?

悬赏问题

  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题
  • ¥15 (标签-Python|关键词-socket)
  • ¥15 keil里为什么main.c定义的函数在it.c调用不了
  • ¥50 切换TabTip键盘的输入法
  • ¥15 可否在不同线程中调用封装数据库操作的类