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

Login failed #12

Open
kmzhao opened this issue Aug 4, 2017 · 4 comments
Open

Login failed #12

kmzhao opened this issue Aug 4, 2017 · 4 comments

Comments

@kmzhao
Copy link

kmzhao commented Aug 4, 2017

hi ,
First I use first phone to log in . Then I use second phone to log in the same id;
This time, I was in the first mobile phone, with my own app call line client login time, will report

 Error
 An unknown error occured

The dialog box.

@FrancescoJo
Copy link

FrancescoJo commented Aug 11, 2017

I bumped into a same error message and fixed the problem Googling about 2 hrs without any clues. I finally figured out that I misspelled my SHA1 fingerprint in app dashboard page.

FYI, The main reasons of this error are:

1. Channel ID mismatch 
2. Application package name mismatch
3. Android SHA1 Package Signature mismatch
4. Your app status in LINE business centre is DEVELOPING
   (Only the users with 'DEVELOPER' or 'CHANNEL_EDITOR' role can use login integration).

Here is my suggestion to LINE corporation.

Could you guys elaborate the reason why our integration with LINE is failed in LineApiError class, rather than this cryptic An unknown error occurred message? It would be our great timesaviour whilst the error message is more intuitive and concise.

For example, I could fix the problem in very short time if the hidden error cause was like this: An unknwon error occurred(Your SHA-1 fingerprint mismatches). Please consider this opinion. Thanks.

@erictjitra
Copy link

If your app is still set to "developing" mode in the Line developer console, then you might need to add the Line user you're using to login into the testers or admin list.

@jackzhp
Copy link

jackzhp commented Apr 18, 2021

"Android SHA1 Package Signature mismatch"?

I don't see where to set this up. And in this repository, there is no SHA1 related stuff, either.

sorry. I just did not pay attention. It was besides the package name.

@jerald-jacob
Copy link

If your app is still set to "developing" mode in the Line developer console, then you might need to add the Line user you're using to login into the testers or admin list.

It's solved my issue Thanks @kmzhao try this one

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

5 participants