I managed to get the SimpleSample Message to work in Android, but cant get it to work in iOS. I am using the injoituser1 and created a provisioning profile incl. APNs. I dont get error messages in the Console, but when I activate the app only the QuickBlox SplashViewController.xib with a spinning loading wheel appears. Same happens withModuleLocator`. It asks for permission to use my location and then only the SplashViewController.xib appears. Had someone the same issues? What could be wrong please?
You can choose what kind of push notification you will generate: android or ios. To send push notification, go to Admin Panel / your App / Messages and choose APNS or GCM. It sends push notification to all ios or all android users, not both. Also you can add tag for group of users you want to send push notifications.
The SimpleSample Message also shows how to send push notifications from user to user.
For correct work of push notifications on QuickBlox:
It doesn't work on simulator.
You must create application in Admin Panel and put your APNS or GCM certificate in: "yourApp/Messages/Settings/".
Put your app credentials from Admin Panel to AppDelegate.
You should have provisioning profile/certificate with enabled Push notifications.
Good luck!
Related
I wanted to know if it is possible to send a Push to App A and App B at the same time, and if the user has both apps installed, only one will be shown.
Edit:
I was trying to prevent duplicate Notifications to be shown if the user has both Apps installed. But it seems this is not possible to do on the App side. We will have to come up with something server side to prevent duplicate messages to be sent.
Each app has its own deviceToken on that device. To send pushes to both apps you would need to send the push to both device tokens. The device will display both notifications.
I have uploaded my SSL certificates to my project, focusing on the aps_development.cer.
When I launch my app, I get prompted asking if I want to allow notifications, so that is working properly. It's that the actual notification is not passing through.
My server appears that it is able to send a notification, and I am sending it to my device token.
I'm assuming it might be something with my code signing in Xcode. Is there something different I should be doing?
Preparing your app for push notifications is a long task. With the information your are giving it is not clear that what you are doing wrong.
When I look at it at first I see that no provisioning profile selected. You can't send push notifications without selecting appropriate provisioning profile.
Also what about your pem files and other stuff like gateway url etc?
You can follow these instructions to make push notifications work.
I'm now responsible for a initial release of an app for iOS and Android. The developer that started the work has left the company and we are left with an incomplete Titanium application to finish.
Once this app is finished we do not plan to continue using Titanium.
We need to add push notifications to this app.
We have enabled Android push notifications using the standard GCM push servers using http://iamyellow.net/post/40100981563/gcm-appcelerator-titanium-module or https://marketplace.appcelerator.com/apps/5165#!overview
Does anyone know of a guide to use APNS that connects directly to the Apple servers and does not require sending the notification payload via ACS?
Thanks
The first step is to get the device token from apple to do this you have to register for Push notifications, you will find it in detail here
The process that follows is saving the token to your database and using it to send Push notifications, this blog explains it best.
Hope it helps.
The strangest thing has been bothering me for ages now. When sending a push notification from our sandbox environment the system receives the notification only when the app is in the foreground. Exiting the app and sending a push notification doesn't show a badge or alert.
These are the steps i've taken so far:
Re-created the provisioning profile after generating the SSL.
Made sure that the correct capabilities are in place.
Verified that a device token is registered
Does anyone have any idea what could be the problem here? Why would the push notification get received inside the app, but not outside?
i am building an application that is two parts. web and mobile.
in brief i want to push a notification for the mobile user when a specific thing is received from the server.
for example, if the web user added a task for the mobile user, then: a notification on the mobile appears to inform the mobile user that there is something new in the app. (just like when using facebook)
any one can help me with implementing this?
Note: i configure my application to be apple to receive notifications and it do so.
this is how to push notification from the ios device to itself:
6.3. From the App
You can also send push notifications directly from a mobile application. Remember that you need to have enabled this feature in the Parse app's settings tab by selecting "Yes" under the heading "Client push enabled?". There are several methods that can be called to send push notifications. You can consult the full list in the iOS API documentation. Here is an example:
// Create our Installation query
PFQuery *pushQuery = [PFInstallation query];
[pushQuery whereKey:#"deviceType" equalTo:#"ios"];
// Send push notification to query
[PFPush sendPushMessageToQueryInBackground:pushQuery
withMessage:#"Hello World!"];
any one knows how this can work ?? i can not import these methods !!!
6 simple steps to delivering push notifications
1. Creating an App ID
2. Generating a Certificate Request
3. Configuring an App ID for Push Notifications
4. Make APNS certificates
5. Upload certificate to Admin panel
6. Create provision profile
Also fallow this tutorial here is good explanation.
Or If you don't have server than you can do this using iOS Push Notifications Using Parse