I have the same app from my health care provider on both my Android
phone and my iPhone.
I wanted a screenshot of my ID card so I could put it on my home screen
so I would not have to open the app to get to it. No dice. When I try to
take a screenshot of the ID card in the app I get a message “Can’t take
screenshot due to security policy.” Interestingly, on my iPhone, in the
same app, there is no such restriction, so took a screenshot of the card
and e-mailed it to myself.
Also, on the iPhone, the app offers to add the ID card to my Apple
Wallet, but on Android there is no such capability.
I can understand that sometimes screenshots of sensitive information may
not be a good idea, but a warning, rather than a prohibition, would be
nice. Apparently there's a third party SDK that adds this capability to
iOS apps see <
https://screenshieldkit.com/> but the app developer either
didn't know about this or didn't want to license it. On Android, you
don't need to license anything, just add two lines of code, see
<
https://www.geeksforgeeks.org/how-to-prevent-screenshot-or-screen-recorder-in-android/>.
Since a picture ID is always required to get any care, and a password is
required to log into the provider's system, there's no real danger if
someone gets a hold of your medical ID number.