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

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

Open
dittmarconsulting opened this issue Jun 22, 2017 · 4 comments

Comments

@dittmarconsulting
Copy link

dittmarconsulting commented Jun 22, 2017

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 dittmarconsulting changed the title Waiting time before "Download LinkedIn App" appears is too long. Waiting time before dialog "Download LinkedIn App" appears is too long. Jun 25, 2017
@anmolmayank
Copy link

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?

@jacobbodkin
Copy link

Has anyone found a solution to this?

@jodybrewster
Copy link
Owner

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

@melihberberolu
Copy link

@jodybrewster Did you find any solution ?

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

No branches or pull requests

5 participants