Yes, then you could add "console.warn()" if expiration date is not set.
Having buggy shares is still better than having the share dialog not open at all in apps.

Maybe you can then send an email to the dev mailing list after this PR is merged to inform app devs of the change.