'Android Notification when set to specific date/time is not appearing on my device when changing device date/time (unity game)

I'm waiting for the notification to appear on my device time for my game. But it takes a lot of waiting time for the notification to appear. But when I change my device's local date-time to the 2-5 min before the scheduled time it doesn't appear on scheduled time. It seems to be working on iOS devices. Can someone suggest me any explanation why is this happening only in Android device but not in iOS?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source