Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't show image when share moments with WeChat #287

Closed
phanthinh opened this issue Mar 3, 2017 · 3 comments
Closed

I can't show image when share moments with WeChat #287

phanthinh opened this issue Mar 3, 2017 · 3 comments

Comments

@phanthinh
Copy link

Hi all

I have using code below but still can not show image when share moments with weChat

`// optional fields
var analytics = {}

                      // optional fields
                      var properties = {
                        $desktop_url: res.url,
                        $android_url: res.url,
                        $ios_url: res.url,
                        $ios_wechat_url: res.url,
                        $android_wechat_url: res.url,
                        $og_title: TITLE_POPUP,
                        $og_description: desc,
                        $og_image_url: image,
                        more_custom: params,
                        even_more_custom: true,
                        this_is_custom: 1,
                        custom_integer: Date.now(),
                        custom_boolean: true,
                        custom_array: [1, 2, 3, 4, 5],
                        custom_object: { 'random': 'dictionary' }
                      }
                     branchUniversalObj.showShareSheet(analytics, properties, message);`

img_2154 png

Who can help me for this?

Thanks

@ethanneff
Copy link
Contributor

Hello,

So long story short, the Branch Cordova SDK is actually a wrapper around our iOS and Android SDKs. I tested the share functionality from Branch to WeChat on our iOS SDK and it is broken there too.

I am reaching out to my iOS team to see if they know of the issue and know of a workaround/solution.

I will keep you updated.

Best,

@ethanneff
Copy link
Contributor

Hello again,

I wanted to let you know you have not been forgotten. This issue has been passed off to our iOS team and has been prioritized to be looked into.

After further testing, I can confirm the deep link preview image works with Facebook and Twitter. It does not work with WeChat. However, the deep link will still navigate into your app from WeChat (the image preview is just broken).

Thank you for your patience.

Best,

@ethanneff
Copy link
Contributor

Hello,

After further testing, this appears to be an issue with WeChat and not Branch. Images are broken whenever you share a link from Amazon to WeChat as well.

As mentioned in my last message, the deep link will still navigate into your app from WeChat (the image preview is just broken).

Thanks for finding this,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants