私はGPGSAppController.mmファイルの次の行をコメントアウトすることでこれを回避しました。これは、通知のためにアプリケーションを登録すると思われます。
/*
// iOS 8 Notifications
if ([application
respondsToSelector:@selector(isRegisteredForRemoteNotifications)]) {
[application registerUserNotificationSettings:
[UIUserNotificationSettings
settingsForTypes:(UIUserNotificationTypeSound |
UIUserNotificationTypeAlert |
UIUserNotificationTypeBadge)
categories:nil]];
[application registerForRemoteNotifications];
} else {
// iOS < 8 Notifications
[application
registerForRemoteNotificationTypes:(UIRemoteNotificationTypeBadge |
UIRemoteNotificationTypeAlert |
UIRemoteNotificationTypeSound)];
}
*/
//gpg::TryHandleNotificationFromLaunchOptions(launchOptions);
//gpg::RegisterDeviceToken(deviceToken, GPGPushNotificationEnvironmentProduction);
すべてのGPGS機能をテストした後、私はまだ動作する必要がありますが、プッシュ通知許可のポップアップは表示されません。
プロジェクトはこの定義でビルドされません。また、私はプラグインを無効にしたくない、私はまだリーダーボードや保存などに使用したいと思う。私は通知の許可要求は必要ない。 – commentor4