News: Articles for #Android

  • 2019/10/25

    New ID token verification endpoint released

    When your back-end server receives an ID token originating from LINE Login v2.1 or the LINE SDK, you should verify that the ID token is authentic.

    Previously, you had to use a JWT library or write your own decoding and verification code.

    After this release, you merely have to send an HTTP request to the verification endpoint to determine if an ID token is authentic.

    For instructions on verifying ID tokens, read Transfer ID token to back-end server.

  • 2019/09/13

    LINE SDK v4.x end-of-life on December 12th, 2019

    December 12th, 2019 marks the end-of-life date for LINE SDK v4.0 for Android and LINE SDK v4.1 for iOS (from hereon collectively called LINE SDK v4.x). On that date, we'll remove from this site the following things:

    Why we're doing this

    To ensure a consistent, secure, up-to-date experience for LINE users, our partners' apps and services should use the latest version of our technology. We already marked LINE SDK v4.x as deprecated some time ago, but continued to offer documentation and download links as a courtesy to partners who couldn't upgrade on short notice. Now we're taking the next logical step: declaring LINE SDK v4.x end-of-life and removing all references from our site.

    Upgrading to a new SDK version

    What you need to do to upgrade depends on what version you're currently using.

    From To Notes
    LINE SDK v4.x for iOS Objective-C LINE SDK v5.2 for iOS Swift The old and new versions use different programming languages, which makes migrating a big task. We hope the migration instructions in Upgrading the SDK will make it easier.
    LINE SDK v4.x for Android LINE SDK v5.1 for Android There are minor differences between the old and new version, particularly with relation to how login works. The page Integrating LINE Login with your Android app explains how to integrate the latest version.
    LINE SDK v3.x for iOS Objective-C LINE SDK v5.2 for iOS Swift There are major differences between the old and new version, meaning you'll have to redo your integration from scratch. See Integrating LINE Login with your iOS app for instructions.
    LINE SDK v3.x for Android LINE SDK v5.1 for Android There are major differences between the old and new version, meaning you'll have to redo your integration from scratch. See Integrating LINE Login with your Android app for instructions.
  • 2019/02/26

    LINE SDK 1.0.0 for Unity released

    We released the LINE SDK 1.0.0 for Unity.

    The LINE SDK for Unity is a wrapper for our existing LINE SDKs for iOS and Android. This means you can now use the functionality offered by those SDKs in your Unity games.

    Read our guide to learn more. In addition to the guide, we'll soon release a full reference for the methods available in the SDK.

  • 2018/11/30

    LINE SDK 4.0.10 for Android released

    The LINE SDK 4.0.10 for Android has been released. You can download the SDK from the following page.

    Changes:

    • Fixed an issue where an activity is not found when authenticating with LINE Login after LINE is invalidated on the device.

    We will continue to provide improvements so that you can code more easily.

  • 2018/11/20

    LINE SDK 5.0.0 released

    The LINE SDKs 5.0.0 for Android, iOS Swift, and iOS Objective-C have been released. For installation and usage instructions, see the following guides:

    Changes

    LINE Login v2.1 and Social API v2.1 are supported

    You can set permissions to be granted to your app as scopes when users log in to your app with LINE Login. By setting scopes, you can get ID tokens when you get access tokens. Those tokens contain user information according to the scopes you set with the login request.

    You can display an option to add your bot as a friend to users logging in to your app. You can get the friendship status between users and your bot with login responses and the Social API.

    New SDK version in Swift

    Developed in Swift, the LINE SDK for iOS Swift provides a modern way of implementing LINE APIs. The LINE SDK 5.0.0 for iOS Objective-C is the last version of our Objective-C SDK.

    Open-source SDK

    The LINE SDK for Android and iOS Swift are open-sourced. Visit the following repositories to check the provided code and samples.

    Detailed reference

    Now you can access detailed reference based on the source code. For more information, see the following references:

  • 2018/03/12

    LINE SDK for Android 4.0.8 released

    The LINE SDK for Android version 4.0.8 has been released. You can download the SDK from the following page.

    Changes:

    • Fixed an infinite loading indicator problem that occurs if the user attempts to log in before LINE has been opened for the first time.

    We will continue to provide improvements so that you can code more easily.

  • 2018/02/06

    LINE SDK for Android 4.0.7 released

    The LINE SDK for Android version 4.0.7 has been released. You can download the SDK from the following page.

    Changes:

    • Fixed a crash that occurs if the user exits LINE using the home button and then opens the SDK app before LINE finishes the authentication process.

    We will continue to provide improvements so that you can code more easily.

  • 2017/09/29

    LINE SDK for Android 4.0.6 released

    The LINE SDK for Android version 4.0.6 has been released. For more information on downloading the LINE SDK, see below.

    Changes:

    • Fixed an infinite loading indicator problem that occurs when the user presses the back button while LINE's passcode prompt is on screen.

    We will continue to provide improvements so that you can code more easily.

  • 2017/06/02

    LINE SDK for Android 4.0.5 released

    The LINE SDK for Android version 4.0.5 has been released. For more information on downloading the LINE SDK, see below.

    Changes:

    • Fixed an issue where a runtime error occurs upon calling startActivityForActivity with a login intent when using appcompat version 25.0.0 or higher.

    We will continue to provide improvements so that you can code more easily.

  • 2017/04/26

    LINE SDK for Android 4.0.4 released

    The LINE SDK for Android version 4.0.4 has been released. For more information on download the LINE SDK, see below.

    Changes:

    • Made a minor change to the SDK's authentication logic to fix a problem where onActivityResult does not get executed during app-to-app login.
    • Fixed a known issue in 4.0.2 where onActivityResult returns a result of "CANCEL" on the first time that a user logs into an application using app-to-app login.

    We will continue to provide improvements so that you can code more easily.