User Environment Matching (Sandbox) OneSignal Cordova

I want to send notifications via OneSignal, I follow all the steps in the document but always show this message’Apple returned BadDeviceToken error. Some users are bound to different environments with the sending environment In. Any ideas! !

(Production Certificate) Bundle ID: *****, Expiration Date: September 15, 2018

(Sandbox Certificate) Bundle ID: ** ***, Expiration date: September 15, 2018

User environment does not match (Sandbox) Apple returns BadDeviceToken error. Some users are bound to the sending environment in a different environment.

This warning occurred once, and the last time it occurred less than 10 seconds.

Affected user: 6414cbae-876a-4360-9783-eb51c0cc0e29

Help me solve this problem .

If you are running iOS 12 with xCode 10, you need to go to File -> Workspace Settings ……

Change the build system to the old build system.

Save and build

I want to use OneSignal To send notifications, I follow all the steps in the document but always show this message’Apple returned BadDeviceToken error. Some users are bound to the sending environment in a different environment. Any ideas! !

(Production Certificate) Bundle ID: *****, Expiration Date: September 15, 2018

(Sandbox Certificate) Bundle ID: ** ***, Expiration date: September 15, 2018

User environment does not match (Sandbox) Apple returns BadDeviceToken error. Some users are bound to the sending environment in a different environment.

This warning occurred once, and the last time it occurred less than 10 seconds.

Affected user: 6414cbae-876a-4360-9783-eb51c0cc0e29

Help me solve this problem .

If you use xCode 10 to run iOS 12, you need to go to File -> Workspace Settings…

Change the build system to the old build system.

Save and build

Leave a Comment

Your email address will not be published.