react-native-share / react-native-share

Social share, sending simple data to other apps.

Home Page:https://react-native-share.github.io/react-native-share

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Android] Sharing via LinkedIn opens play store link instead of application

badalsaibo opened this issue · comments

Steps to reproduce

Share.shareSingle({
      title: 'TITLE',
      message: 'MESSAGE',
      url: 'https://google.com',
      social: Share.Social.Linkedin,
      type: 'url',
    })
      .then((res) => {
        console.log(res);
      })
      .catch((err) => {
        err && console.log(err);
      });

Expected behavior

LinkedIn application should open

Actual behavior

Playstore link gets open

Environment

  • "react-native": "0.72.5"
  • platform - Android v12.0

react-native-share

"react-native-share": "^10.0.2"