Link to external maps application on ios and android

Hi! I’m trying to link an address in my app to an external maps application like apple or google maps.
I’ve tried creating the link with http://maps.apple.com and maps:// and others, but none of them work the way I want.

Linking to maps.apple.com launches the maps site in my app, but then the user can’t go back to my app, they’re stuck in the maps app. Is there a consistent way to launch an external maps app on both android and ios? Worst case scenario I’d be happy launching the browser in a new window.

Thanks for helping out!