Ley*_*lez 5 c# unity-game-engine push-notification apple-push-notifications ios
我正在使用 Unity 移动通知包。在配置中,在 iOS 部分的“应用程序启动时请求授权”和“应用程序启动时注册推送通知”选项中,我已禁用它,但即便如此,启动应用程序中的本地通知请求仍然出现。
此外,我使用以下代码来发出请求:
using (var req = new AuthorizationRequest(AuthorizationOption.Alert | AuthorizationOption.Badge | AuthorizationOption.Sound, false))
{
while (!req.IsFinished)
{
yield return null;
}
}
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
769 次 |
| 最近记录: |