Make iPhone permanently trust computer? Is there anyway to have an iPhone remember which computers it trusts?

Everything I plug mine into any computer that I've already allowed it to trust, it asks me again, "Allow this device to access photos and videos?"

It is expected to ask once when I connect it:


  to a computer or other device for the first time, .. 


and


  These computers remain trusted unless you change which computers you trust
  [reset location and privacy] or erase your device.


None of these resetting has been done to make the iPhone forget the computer.

https://support.apple.com/en-in/HT202778
[ this solution is assuming an Apple Computer ]

Make sure your Personal Hotspot is turned off. If your personal Hotspot is turned on every time your plug the device into the Macbook it will ask for permission and make you enter your PIN password.


  “When the personal hotspot is turned on, it will ask every time you
  connect your iPhone to a computer because it’s requesting access to
  the hotspot network over cable.”
  
  - Dan VanWinkle
  
  Source: https://www.igeeksblog.com/how-to-stop-trust-this-computer-message-on-iphone-ipad/