From what I understand, if there are multiple apps with different App ID installed on a device, the tokens for push notification generated for each apps should be unique one to another.
In my case, I have several apps compiled with different provisioning profiles and each of them is based on different App IDs (though some of them has same Bundle Seed ID, some don't).
For each app I generated development push notification SSL and export the SSL to generate PEM. Next I download the provisioning profile and applied it to XCode.
When I tried to run it on my device, what I get from :
- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
on ALL apps are a single same device Token. I wonder why is that?
And when I tried to push a notification via my server, there was no error message received. But the notification never delivered to installed devices.
Please give me suggestions on the problem. Thanks in advance.