Why does the Settings app close automatically when I access it on a real-mobile device?

For security reasons we have restricted access to the Settings app on some real-devices. The list of devices where access to Settings is restricted are as follows: 

  1. All iOS devices
  2. Xiaomi devices
  3. Vivo devices
  4. Huawei devices