Working with APNS(Apple Push Notifications)after creating the .cer, AppID and .p12. How Create the .PEM File. After Creating .PEM File what are the necessary steps i have to follow to get APNS Alerts in My App. Please help me.
I'm not sure what's your question exactly, but an excellent tutorial for working with APNS:
http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12
It's a little bit older older, but should still be correct. There are a lot of other very good tutorials on that page too!
Related
Is there any way I can have Puppet complete documenation available offline ? Its hard checking module documentation everytime via browser.
I hope it will help other Puppet module developers.
Thank you.
While searching I have found Zeal Application which is like Offline Documentation broweser and that seems supports so many langugages. can be download from Official website here: https://zealdocs.org/
You could request to download it from Puppet direct.
https://docs.puppet.com/download/
It will come down as puppetdocs-latest.tar.gz and is currently about 879MB.
It looks like the documentation is supposed to be viewable offline if you simply clone it. Go to this link here. However, at this moment, it looks to me like the offline viewing functionality is broken - the relative hyperlinks don't actually work. If you figured out what's wrong, you could probably send in a PR to fix it.
I am new to AWS iOS SDK. I have installed AWS iOS SDK and also look the sample project given by AWS iOS SDK.
But unfortunately I didn't get anything suitable for me.
My simple task is to search books with their ISBN number on Amazon server.
Can I have sample Xcode project that is requesting "itemlookup" from AWS?
OR
Can I have sample Xcode project that is making request to get item from AWS?
I have spent more then 8 hours on this but didn't find anything. Now atlast I come to SO. I hope that I'll get suitable help from here.
Thank you in anticipation.
After a great discussion and help of Bob Kinney and Ryan Parman. I went to right path and found this on SO.
In this question the last answer has a link of Sorceforge sample code of 'amazon advertising api'
Sample Code Here
Although this code has some errors, which I solved by googling them, but at last I got the desired results.
Hope this will help you greatly...
The AWS SDK for iOS is for accessing Amazon Web Services like S3, EC2, and DynamoDB. What you are looking for is the Advertising API. There are a number of questions on SO that should give you some starting ideas.
I had successfully implemented push notifications for the developer certificate but cannot seem to get it work for an ad hoc test with a friend. I did the same process for creating the push notification keys/certificates except now I chose "Production Push SSL Certificate" instead of "Development Push SSL Certificate". I believe that this is correct since I could not find any tutorials around that showed how to do it for production... all of them were for development.
This quick process can be found from ray wenderlich blog here: http://www.raywenderlich.com/3443/apple-push-notification-services-tutorial-part-12
This is my guess where things might have gone wrong because maybe there is a different way to do Production Push. I left my php code the same on my server as I had it before for Development Push (copied over the new ck.pem). Is this alright or do I need to make changes? I can post the code if someone thinks it is the code but as I said.. the php server code worked before.
Can someone please help me out? Thanks in advance!
I CANNOT ANSWER MY QUESTION BECAUSE I DO NOT HAVE ENOUGH REP. THE CORRECT ANSWER IS HERE
for my development I had:
gateway.push.apple.com:2195
but for production it needs to be:
gateway.apple.com:2195
Hope this helps someone in the future.
[Edited]
You can also try to check your token are correctly set, your devices are allowed to receive notifications.
If you have made many tests, you may also have been temporarily banned from APNS server, you mustn't make too many calls to the APNS server in a small time range.
Please also note that there may be some delays from the time you send the notification to the APNS server, and the time the APNS server sends it to your device.
LAst bu not least, make sure your devices have a correct Internet / SSL free access some proxies or firewalls may block notifications
Are you getting the devices token dynamically? Because when the app is in ad-hoc distribution it is generating a different device token for push notifications form when it is in debug (a.k.a developer) mode
I'm getting a "new" kind of error in the provisioning hell from iPhone. Does anyone have an idea what's going on .. because reinstalling , redownloading of the profile doesn't work.
I've uploaded a screenshot.
http://img94.imageshack.us/img94/1559/picture15f.png
So the part where it says cannot be installed on devices?
If that is your distribution certificate (as your title implies) then the error message is correct. Distribution certificates are only for submitting applications to Apple for review.
Instead you will want to install a development certificate on your phone. That will allow you to load your phone with your own code for testing before submitting to Apple.
I would absolutely call it hell. Signing my first app for Apple is taking 100 times longer than it took for Android. I'm not quite sure why such tight security is needed. I've been spending an entire day on this security stuff. I'm sure once I figure it out it won't be too horrible, but this is a real pain so far.
I have a problem after upgrading my iPhone SDK 3.0. Xcode does not get the developer certificate, but it's in the key chain.
Sometimes the certificates are added to the system as opposed to the login keychains. When that happens XCode doesn't see the certificates. If this is the case, you have to go into "Keychain Access" (/Applications/Utilities) and add the certificate to the correct keychain (and optionally remove it from the wrong keychain).
These certificates are the bane of a lot of iPhone developers lives. I've lost a lot of time wrestling with them.
All I can suggest - as there's too much to cover in detail - is that you read very carefully the help text that goes along with each section on the iPhone Developer Portal, paying more attention to the ones in red.
I remeber having to delete and recreate them. And if you've up graded to 3.0.1, read this very carefully