You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.
お世話になっております。
質問ではないのですが、同じような境遇の方がいたら…と思い投稿いたします。
表記の通りで、「プッシュ通知登録APIをPHPから叩く方法」をコーディングしてみました。
レビュー等、もっと簡単に書ける方法等ありましたらお願いします。
#271のyskfjさんのコードをほぼそのまま使わせていただきました。
yskfjさん助かりました。
curlで書きたかったのですが挫折しました…org
●installationクラスの、pushFlgという列の値がtrueの端末にプッシュ登録する
というものです。
事前にinstallationクラスにpushFlgという列を追加しておく(※)必要があります。
※NCMB管理画面→データストア→installation→新しいフィールド
で追加します。
$queryの行で「target」を指定しないと、プッシュに登録はされるが配信エラーになります。
androidとios両方を指定する方法をご存じの方いらっしゃいましたらご教授願います。
The text was updated successfully, but these errors were encountered: