Testing Amazon SNS for iOS using the Mobile Hub but can't get it to work
<p>Per the title, I'm trying to get AWS SNS push notification to work on iOS device. For testing purpose I wanted try the Mobile Hub (<a href="https://console.aws.amazon.com/mobilehub" rel="nofollow">https://console.aws.amazon.com/mobilehub</a>) and work my way on top of the sample app that's given.</p>

<p>I just can't seem to make it work. I know it's difficult to ask for help when it involves a multi layered instructions, but I've spent all weekend wrestling this issue, and just couldn't seem to figure it out.
In AppDelegate, didReceiveRemoteNotification call should receive something when I trigger an SNS within Amazon SNS Mobile Console after selecting a Topic. But this protocol is not being called.</p>

<ol>
<li>In terms of Provisioning Profile, I've created both Development &amp; Distribution. Tested with both.</li>
<li><p>In terms of certificates I have tried with both Apple Push Notification service SSL (Sandbox) and Apple Push Notification service SSL (Sandbox &amp; Production). It's obvious you have to select the latter since with the former, the notification permission alert doesn't even show when you install the app. Only does it show when you've installed it with the latter.</p></li>
<li><p>I made sure the bundle IDs match.</p></li>
<li><p>I've turned on all my notifications on my iphone 6s.</p></li>
<li><p>On console I see this success message:</p></li>
</ol>

<p>2016-03-30 20:57:57.103 MySampleApp[284:47861] AWSiOSSDKv2 [Info] AWSPushManager.m line:186 | -[AWSPushManager interceptApplication:didRegisterForRemoteNotificationsWithDeviceToken:] | The device token: 435d5se354s38s9ddge2edcs2a3601e18ss9c83e47s629164ebced21s16abb39974sg3</p>

<ol start="6">
<li><p>"didFailToRegisterForRemoteNotificationsWithError" never gets called.</p></li>
<li><p>"didRegisterForRemoteNotificationsWithDeviceToken" successfully gets called.</p></li>
<li><p>I also get this success message on my console:</p></li>
</ol>

<p>2016-03-30 21:34:16.635 MySampleApp[321:57551] AWSiOSSDKv2 [Info] PushNotificationViewController.m line:112 |
-[PushNotificationViewController topicDidSubscribe:] | Successfully subscribed to a topic: AWSPushTopic: 0x14c6da770</p>

<p>I'm absolutely lost. Please let me know if there is more info for me to post to solve this issue.</p>

<p><strong>Update: Rohan Dubal, thanks for the comment. Here are the following things you asked me for.</strong></p>

<ol>
<li><p>Yes, I have always went from "My Sample App" navigationbar view -> "Push Notifications" row -> "Push Notifications" navigation bar view -> click Demo Push Notifications on the bottom -> the toggle is on (green) and the "topic" line is checkmarked and I have sent the APNS to that referring Topic.</p></li>
<li><p>Yes I've tried minimizing and also closing the app as well. The top bar notification or any notification doesn't show at all. </p></li>
</ol>

<p>Thanks for your feedback. Please do suggest any other tests I can run.</p>

<p>Also, I thought that maybe it has to do w/ my iphone 6s so i tried it w/ iphone 5s and it still doesn't work. 
iphone 6s is ios9.2 and iphone 5s is ios 8.3.</p>