0
A
回答
0
是的,可能的。请参阅下面的屏幕截图,您可以在哪里上传多个iOS应用的多个p12证书文件。然后,您将根据应用发送推送。使用渠道。一个应用的一个频道名称,第二个应用的另一个频道。您也可以将额外的字段添加到安装类,以便您可以通过查询用户向用户发送预先推送通知。
还有一个helpful link
0
与连接一个parse.com
[Parse setApplicationId:@"xxxx"
clientKey:@"xxxx"];
获取设备TOCAN
PFInstallation *currentInstallation = [PFInstallation currentInstallation];
[currentInstallation setDeviceTokenFromData:deviceToken];
currentInstallation.channels = @[ @"globle" ];
[currentInstallation saveInBackground];
NSString * udid=[[[[deviceToken description]
stringByReplacingOccurrencesOfString: @"<" withString: @""]
stringByReplacingOccurrencesOfString: @">" withString: @""]
stringByReplacingOccurrencesOfString: @" " withString: @""];
发送PushNotification
NSMutableArray * arrUserParseQuery=[[NSMutableArray alloc]init];
//add user to send pushNotification
for (NSString * strObjectId in arrUsers) {
PFQuery * objUserQuery=[PFQuery queryWithClassName:@"_User"];
[objUserQuery whereKey:@"objectId" equalTo:strObjectId];
[arrUserParseQuery addObject:objUserQuery];
}
[pushQuery whereKey:@"UserId" matchesQuery:[PFQuery orQueryWithSubqueries:arrUserParseQuery]];
PFPush *push = [[PFPush alloc] init];
[push setQuery:pushQuery]; // Set our Installation query
[push setMessage:@"Notification text"];
[push sendPushInBackgroundWithBlock:^(BOOL succeeded, NSError *error) {
NSLog(@"Errer of push notification %@",error);
}];
必须设置Certificates在parse.com发送pushNotification。
+0
请仔细阅读我的问题,我的问题是,我可以用一个parse.com应用连接两个iOS应用的推送通知 –
+0
你看我的答案在发送PushNotification,你可以发送可能的用户通知。 – Lalji
相关问题
- 1. Parse.com - 将消息从Parse.com发送到iOS应用程序,不像推送通知
- 2. 抑制Parse.com ios通知?
- 3. Android,使用parse.com推送通知,自动启动应用程序
- 4. iOS应用程序推送通知
- 5. ios更改应用程序内部应用程序的通知
- 6. Web应用程序与推送通知的iOS应用程序接口
- 7. 与应用程序推送通知IOS在背景
- 8. 处理通知与应用程序被杀死IOS
- 9. 单个IOS应用程序可以连接到多个Parse.com应用程序吗?
- 10. 如何通过应用程序语言本地化iOS通知
- 11. 地理推送通知与Parse.com
- 12. 使用parse.com在phonegap推送通知集成的Windows Phone 8应用程序
- 13. iOS 10当应用程序未运行时的远程通知
- 14. 句柄聊天应用程序的远程通知在IOS
- 15. 在应用程序中禁用iOS 5通知中心手势
- 16. 使用FCM将通知发送到ios应用程序包ID
- 17. 在iOS中使用推送通知运行应用程序
- 18. 使用套接字推送iOS Web应用程序的通知?
- 19. 用户终止应用程序(iOS)时的通知
- 20. (iOS/Android)应用程序推送通知(不使用服务器)
- 21. 将opentok视频会议整合到parse.com + iOS应用程序中
- 22. iOS示例代码清除通知中心的应用程序通知?
- 23. 在iOS 8通知中心小部件中使用Parse.com数据
- 24. parse.com使用build.phonegap的REST API Javascript推送通知Android和iOS
- 25. 拦截其他应用程序推送通知iOS上与雨燕
- 26. 在应用程序启动时延迟ios权限通知?
- 27. Facebook应用程序注销通知的iOS
- 28. iOS蓝牙通知应用程序蓝牙设备连接时
- 29. 推送通知在实时iOS应用程序上停止
- 30. iOS中的本地通知,无需运行应用程序
清理问题 – squarefrog