I am using this plugin : https://github.com/salesforce-marketingcloud/MC-Cordova-Plugin and I want to send push notification to both iOS and Android devices.
The scenario is this :
I open the app and connect to an account, if the connection works I enable push : I can receive a notification on both iOS and Android.
exact target status : OPT_IN
for both
I then disconnect and disable push : I cannot receive push notifications, which is expected.
exact target status : OPT_OUT
for both
Now I connect again to the same account : I can send notifications to Android but not iOS.
exact target status : OPT_IN
for Android but still OPT_OUT
for iOS.
What am I missing, does the iOS platform works differently ?
EDIT to answer these questions :
When you say you disconnect and connect what do you mean by that and how are you doing that?
I am integrating the plugin in an already existing app, I use the connect and disconnect method from that app, I added the enable/disable push method from the plugin into those methods.
How are you reading the flags OPT_IN and OPT_OUT? From where and when?
I go to the MobilePush menu / mobile push contact list / Membership :