Parse platform 在应用程序打开之前解析发送推送通知

Parse platform 在应用程序打开之前解析发送推送通知,parse-platform,push-notification,Parse Platform,Push Notification,是否可以向尚未打开应用程序的设备发送推送通知?(但已安装)。不,您不能。因为您必须要求注册设备才能获得令牌 UIUserNotificationType userNotificationTypes = (UIUserNotificationTypeAlert | UIUserNotificationTypeBadge |

是否可以向尚未打开应用程序的设备发送推送通知?(但已安装)。

不,您不能。因为您必须要求注册设备才能获得令牌

UIUserNotificationType userNotificationTypes = (UIUserNotificationTypeAlert |
                                                UIUserNotificationTypeBadge |
                                                UIUserNotificationTypeSound);
UIUserNotificationSettings *settings = [UIUserNotificationSettings settingsForTypes:userNotificationTypes
                                                                         categories:nil];
[application registerUserNotificationSettings:settings];
[application registerForRemoteNotifications];

Font:

我想不出办法,因为设备需要“订阅频道”才能接收推送通知。因此,我的理解是,您能够让设备订阅推送通知的最早时间是应用程序第一次启动时。