If your stopped by a LEO and you only have your phone digital ID. Do you give the LEO your phone so they can run the information?

Or do they scan the information from your phone while your holding it?