Posts

Showing posts from February, 2016

Push Notifications to iOS not received from Amazon SNS

Took us 3 days to figure the problem. I jot down here for someone's benefit

Short answer: The problem was with Apple Certificate and Private Key. A new certificate generated, and Voila!!

For people who savor the Journey, more than the Result, Read on...

Our app (both iOS & Android) receives notifications for User actions. We have used Amazon SNS to deliver notifications.

Recently, one fine day, Notifications stopped. Naturally, knowing there is nothing wrong with Apple Notifications, we debugged our PHP code. Didn't find anything wrong. A day is spent.

Next day, we decided to eliminate application layer (PHP) from this testing, and test on Amazon SNS console. Amazon Console says, Delivered, but no Notification on the device. We tweak our application JSON payload, to no avail. We went ahead, tried example payload from http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushAPNSAPI.html in Step 7. That didn't work either. Tried delivering  RAW data, but no Notifiction on …

App Cabs woes in Bangalore

While we talk about, how App Cabs have made our life easier, there are 2 sides to this coin. For instance, today it took me more than 75 minutes of wait time (from first booking confirmation), 3 bookings,and almost 2 kms. of walking, to get into a cab. Today, after seeing a traffic jam outside my apartment, I decided to hail a cab, instead of driving. Booked first cab through TFS. As he was taking time, to help save it for both of us, started walking to meet him on the way. Decided to check on status before our rendezvous point. To my surprise, he has taken some other route, and is now further away from me. On being called, our language skills aren't a good match, and I am better off cancelling it. Tried Ola, as in my mind TFS sucks now. It showed cab 2 minutes away, which I happily booked, only to be confirmed that my cab is now 7 minutes away. Looking at cab's location, I know it can't reach me in less than 15 minutes. Cancelled it. Being stranded away from my house, and…