I am using parse.com services.
I understood how to send push notification from one app id to the same app id, works well, but i would like to create an app called " host app " which will send push notification to the app called " guest app ", how does the certification and installation work ?
2 AppID, on .p12 certificat for both, 2 application Id on parse.com ?
Moreover, can I send APN from dev app to production app ?
Thanks for helping me,
You can have multiple apps created in Xcode that use the same parse app id. You can put a column in the installation table to filter by a specific app and only send pushes to that one.
Related
I am new to this concept, If the user doesn’t have app on the device i'd like to send a custom url to download the app from the app store containing a parameter of the inviting user id.
when the app is installed on the device, i need to be able to receive the parameter passed to the app store, in order to identify the user . But i couldn't figure out how to do this with app links and didn't find any appropriate example.
any help would be greatly welcomed! Thanks
In our Xamarin Forms app we register via a backend with Azure Notification Hub using the installation Model.
When a user creates an account in this multi user app, an installation object is created, the deviceToken (iOS) is set and the installationId is generated as a new Guid and the installation is sent to ANH. Last, the InstallationId is stored on the device locally. All is well.
Now, when reinstalling the app, the InstallationId is no longer in the settings and we can never again update the already existing installation in the hub. Since the iOS deviceToken has not changed, when running the app, we start receiving push notifications from the previous app install. In our app, in theory this could be a totally different user(account).
How would one go about this?
One thing we came up with is calling the backend to unregister all installations by a specific PNS/deviceToken when the app start detects an empty installationId property in the Settings (aka, first app start) but taking a closer look at the azure api, there is no GetInstallationByPushChannel or something that looks like it.
Thanx in advance!
I had an app that used the apns with my account certificates .. the owner of the app created a new apple account and i should transfer the apns to it
I make the steps that i did many times but it's not working
I'm using Rails rPush Gem for my server side and it tells me that the notification has been delivered but I got nothing on the phone itself .
Is there any specific steps to do so?
FOllow this tutorial
http://www.raywenderlich.com/32960/apple-push-notification-services-in-ios-6-tutorial-part-1
you will get a file named simplepush.php, add your Device token in the field of $devicetoken and your pen file and run the script if you get the notification then thee is no problem with your certificates
I am trying to add pushwoosh through marmalade to mobile application (at the moment on ios device). Like on
http://www.pushwoosh.com/programming-push-notification/marmalade-push-sdk-integration/
I have add to Info.plist
<key>Pushwoosh_APPID</key>
<string>1****-A****</string>
(I create app on pushwoosh site adn copy code to Info.plist but I didn't configure anything for ios on site, there is nothing about that in tutrial)
But when I start application I get info
Response "200 no error": string: {"status_code":210,"status_message":"No push token given","response":null}
It enters ad OnRegistered callback but token is empty. Does anyone what is wrong ?
( I done like on tutorial link, there is no need to do anything with certificate in tutorial)
The provision profile you use must have push notifications enabled on that. You need to edit the mobilepovision from the Apple developer portal and add push notification.
"Blockquote I done like on tutorial link, there is no need to do anything with certificate in tutorial"
Have you configured Pushwoosh for your application according to Pushwoosh iOS configuration guide?
I have a basic web app that is able to send push notifications (via UrbanAirship) to my iOS app.
My questions is, how can my webapp know that I have a new iOS app user? So I can then put the push DeviceID into a database (along with other data as required).
i.e. what is the interface for getting data into the Webapp, is it new code in the iOS app, or is there some other interface from UA?
Thanks..
I'm not an iOS developer, so it's hard for me to be too specific, but I'm assuming you need to store a device ID and (possibly) a token so that you can send messages to that device. I'm assuming (also) that you have access to this information on the device.
The correct way to do this would be to create datastore table of devices and the information associated with them (tokens, various IDs, I also like to have the last time I sent them a message, etc.) Then you send a request (should be a POST request, semantically) to your app when the user registers their device. Send the information you need in the POST request, then store it in your datastore through a handler.
Hope that helps? That's how things are done with Android Cloud to Device messages, and from my quick perusal of Urban Airship, that's how their service works, too.