line / line-liff-v2-starter

This is a small web application that demonstrates the basic functionality of the LINE Front-end Framework (LIFF).
Apache License 2.0
336 stars 374 forks source link

Unable to do "Open Share Target Picker" #20

Closed jerryFromAjltc closed 3 years ago

jerryFromAjltc commented 4 years ago

Hi there,

I've already put LIFF Starter on my site "https://gurunets.ddns.net/line/aw/line-liff-v2-starter-master/public/"

Everything works fine but the function "share target picker".

When I try pressing the button "Open Share Target Picker" inside a LINE chat on my android phone, the error message "Failed to launch share target picker" shows. Then I try to display the error message returned, its content is "Failed to have a connection from TargetPicker to SDK".

Can anyone help? Thanks.

smwilk commented 3 years ago

Hi @jerryFromAjltc. Thank you for your question, and sorry for the delayed response. The liff.shareTargetPicker() method is supported by v10.3.0 or later for both LINE for iOS and LINE for Android. Could you check if your LINE app satisfies this requirement? See the description about liff.shareTargetPicker() for more information. You can also catch the error returned by the liff.isApiAvailable() method. See the documentation for more details.

I hope this helps!

smwilk commented 3 years ago

Closing this issue due to inaction.