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. 抑制Parse.com ios通知?
- 4. 尝试运行parse.com推送通知应用程序时,应用程序崩溃
- 5. Android,使用parse.com推送通知,自动启动应用程序
- 6. ios应用程序的通知
- 7. iOS应用程序推送通知
- 8. ios更改应用程序内部应用程序的通知
- 9. Web应用程序与推送通知的iOS应用程序接口
- 10. iOS,删除与应用程序不运行的通知,如Gmail应用程序
- 11. 与parse.com Phonegap推送通知
- 12. 与应用程序推送通知IOS在背景
- 13. 处理通知与应用程序被杀死IOS
- 14. iOS与.Net应用程序通信
- 15. 应用程序通知API
- 16. 单个IOS应用程序可以连接到多个Parse.com应用程序吗?
- 17. 如何通过应用程序语言本地化iOS通知
- 18. iOS应用程序仅通过主题接收GCM通知
- 19. iOS为javascript不同的应用程序创建推送通知应用程序
- 20. Facebook应用程序请求iOS应用程序推送通知不工作
- 21. 使用parse.com在phonegap推送通知集成的Windows Phone 8应用程序
- 22. 地理推送通知与Parse.com
- 23. 句柄聊天应用程序的远程通知在IOS
- 24. iOS 10当应用程序未运行时的远程通知
- 25. Parse.com JavaScript SDK适用于应用程序API或只是普通的iOS SDK?
- 26. iOS应用程序与Qt?
- 27. 了解Parse.com应用程序套件中用于IOS的关系
- 28. ios应用程序与C#程序进行通信
- 29. Parse.com推送通知收件箱或应用程序中的历史记录
- 30. Chrome打包的应用程序未通知应用程序通知
清理问题 – squarefrog