I am confused on how OneSignal deals with the Dev & Production certificates.
On the OneSignal Apple Certificate upload window you see a message:
(Certificate Environment will be automatically detected)
So I understand that I can upload both certificates (Dev & Production) that OneSignal will use the correct one, right?
But I am not seeing that happening here.
I created a brand new app on OneSignal and upload the Dev Certificates. Push worked fine.
Then I uploaded the Production certificate and the Push stopped working (App built under a Dev Provisioning Profile).
When I go to the AppSettings page, I see:
iOS (APNS) (Production Certificate) Bundle ID: com.my.app Warning! Mismatched push certificate error, check that your app's provisioning profile (type and bundle id) match that of your push certificate. PlayerID: b1708fea-4d2f-11e5-9ce7-affc72c972d5
Well, of course the Provisioning Profile does not match, I am using a Dev one and it appears that OneSignal is trying to use the Production certificate. So, where is the automatically certificate handling by OneSignal?
What am I missing?