【发布时间】:2019-07-25 15:23:05
【问题描述】:
我已经为 iOS 和 Android 开发了一个框架。
一旦有更新,该框架需要向用户发送推送通知,这将是每天一次。
如何管理来自我的框架的通知?它将要求父应用程序向最终用户发送通知。
我们正在使用 PHP、swift 和 java
通知在应用程序版本中发送,但未显示在框架中
// push notification
if($ref->endpoint_arn)
{
$helper->push(null, $ref->endpoint_arn, __('push.new-live', ['user' => $player->username]));
}
return response()->json(['success' => true]);
}
return response()->json(['errors' => [__('api.error-referral-code-applied')]], 400);
期望推送通知在后端生成时发送给最终用户。没有错误消息,只是没有发送通知
【问题讨论】:
标签: php server push-notification notifications sdk