move getSharingUri() to Utils for easier reuse