Can the h5 page embedded with Mini Program evoke Mini Program's sharing function?

made an h5 page, embedded in Mini Program, and made a button at the bottom of the H5 page to share to Wechat, how to finally evoke Mini Program"s sharing function

Dec.04,2021

cannot wake up directly.
you can first jump to Mini Program via webview's share button, that is,

wx.miniProgram.navigateTo({
            url: `../share?shareMessage=${JSON.stringify(shareMessage)}`
        })
        

share the operation again in Mini Program


No, not


clipboard.png

from this, you can see that your button is unrecognizable.

one way is to guide the user to click on the sharing in the upper right corner (of course, this requires the configuration of onShareAppMessage in Mini Program)

Menu