react-native-linkedin-login icon indicating copy to clipboard operation
react-native-linkedin-login copied to clipboard

Waiting time before dialog "Download LinkedIn App" appears is too long.

Open dittmarconsulting opened this issue 8 years ago • 4 comments

Test app with the below packages has been installed on physical devices without Linkedin app installed.

"react": "16.0.0-alpha.12",
"react-native": "0.45.0",
"react-native-linkedin-login": "^1.44.1"

LinkedinLogin is initiated at componentDidMount and the LinkedinLogin.login is invoked on a button click

componentDidMount() {
    LinkedinLogin.init(['r_emailaddress', 'r_basicprofile'])
}

_btnClick() {
    LinkedinLogin.login()
        .then((user) => {
            console.log('User logged in: ', user)
        if(err) {
                console.log('ERROR login to Linkedin', err)
        })
}

The waiting time before the Install Linkedin app dialog appears is very arbitrary. It could be 6 seconds for the first time and up to 5 minutes for the consecutive times. That is a bad user experience.

I'm wondering whether the package could look up the url schema on the actual device to determine whether LinkedIn is installed or not to speed up the process.

dittmarconsulting avatar Jun 22 '17 03:06 dittmarconsulting

Can we have a feature as, When there is no app installed we can still login through an web and get what ever field required?

anmolmayank avatar Oct 06 '17 10:10 anmolmayank

Has anyone found a solution to this?

jacobbodkin avatar Oct 31 '17 17:10 jacobbodkin

Sorry for the super long delay, I'm looking into adding a web fallback

jodybrewster avatar Mar 28 '18 16:03 jodybrewster

@jodybrewster Did you find any solution ?

melihberberolu avatar May 13 '18 22:05 melihberberolu