When sharing a link on Android, the browser adds the page title to the share intent. This is stored in the Intent.EXTRA_TITLE property. The library currently has no way of accessing this extra information. This PR adds a meta object to the share intent with a title property. This way consumers of the library can access the title property in their code. On iOS the meta object will be empty.
The code has been set up so it's easily extendible. It will be a small change to add another extra property.
Summary
When sharing a link on Android, the browser adds the page title to the share intent. This is stored in the
Intent.EXTRA_TITLE
property. The library currently has no way of accessing this extra information. This PR adds ameta
object to the share intent with atitle
property. This way consumers of the library can access thetitle
property in their code. On iOS the meta object will be empty.The code has been set up so it's easily extendible. It will be a small change to add another extra property.
Todo
Issue
fixes: #38