Closed AyakoHoriuchi closed 5 years ago
final NCMBInstallation installation = NCMBInstallation.getCurrentInstallation();
でいけるかと思います。
https://mbaas.nifcloud.com/doc/current/push/filter_android.html
インストール&初回initialize直後ですと、nullになる確率が高いです。 こちら安定して取得できる方法はないのでしょうか?
getDeviceTokenInBackground
に変わっているようです。こちらお試しください。
ありがとうございました。
以前のライブラリではNCMBInstallation#getRegistrationIdInBackground()のCallback関数内で取得できたのですが、廃止になったためどうすればいいか教えていただきたいです。