For Android devices, physical access is needed for installation. For iOS devices, if you have the iCloud credentials and two-factor authentication is turned off, you may not need physical access.