False push notification is sent to Production environment
User sends push notifications in lower environments. However, the mobile application receives the push notifications in both lower and Production environment. This occurs when the user (email) is present in both the environments.
Steps to Reproduce
Configure push notifications in the lower environment to send to the user.
The APNs require Application ID, Device ID and Apple ID to send the push notifications. When a push notification is triggered on Quality Assurance (where the AppleID is specified), the message is sent to the device (PROD) as all the three parameters are the same.
Perform the following local-change:
Use two different Apple BundleIDs in non-production and production environments such that push registration is with different BundleIDs and conflict never occurs.
0% found this useful