Q&A

Android Line SDK crash when user login

Pre condition, Condition to reproduce

SDK version: 5.6.2 Reproduce: User trigger login with Line by using com.linecorp.linesdk.auth.LineLoginApi.getLoginIntent

Issue/ Error Message details

We got the crash when User login with Line by calling com.linecorp.linesdk.auth.LineLoginApi.getLoginIntent

Here is the error message: The scheme of the server url must be https.https://api.line.me/oauth2/v2.1/token com.linecorp.linesdk.internal.nwclient.core.ChannelServiceHttpClient.openHttpConnection (ChannelServiceHttpClient.java:303) com.linecorp.linesdk.internal.nwclient.core.ChannelServiceHttpClient.openPostConnection (ChannelServiceHttpClient.java:242) com.linecorp.linesdk.internal.nwclient.core.ChannelServiceHttpClient.post (ChannelServiceHttpClient.java:91) com.linecorp.linesdk.internal.nwclient.LineAuthenticationApiClient.issueAccessToken (LineAuthenticationApiClient.java:105) com.linecorp.linesdk.auth.internal.LineAuthenticationController$AccessTokenRequestTask.doInBackground (LineAuthenticationController.java:210) com.linecorp.linesdk.auth.internal.LineAuthenticationController$AccessTokenRequestTask.doInBackground (LineAuthenticationController.java:194)

Accompanying respective source code

Resolution Tried

Reference information (Version / Platform/ environment)

SDK version: 5.6.2 Platform: Android Environment: Any API and device all report this issue

Thanks in advance for any help and information for this crash!

  • 0
  • 0
  • 856
  • twitter facebook
Are you sure? question.vm