News: Articles for #iOS

  • 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. We intend to publish a detailed list of differences soon, but you can already start your migration by reading Integrating LINE Login with your Android app.
    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/03/01

    LINE SDK 5.1.0 for iOS Swift released

    We released the LINE SDK 5.1.0 for iOS Swift. Get the SDK from our GitHub repository.

    Changes:

    • Some model types support the Encodable protocol for easier serialization.
    • JSON conversion for Objective-C model wrapper classes is supported for future features.
    • You can get the raw ID token value for server verification.
    • Swift 5.0 and Xcode 10.2 are supported.

    We won't stop looking for ways to make your coding life easier. Expect more improvements in future versions!

  • 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/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/04/13

    LINE SDK for iOS 4.1.1 released

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

    Changes:

    • Fixed an issue that the LineSDKLogin object has the access token in cache even after logout.

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

  • 2018/01/29

    LINE SDK for iOS 4.1.0 released

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

    Changes:

    • The web login process now uses a Safari View Controller instead of an external browser.

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

  • 2017/03/22

    LINE SDK for iOS CocoaPod released

    We have released the LINE SDK for iOS on CocoaPods. You can now download the LINE SDK for iOS using CocoaPods for your Objective-C and Swift projects.

    For information on how to download the SDK with CocoaPods, see the link below.

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

  • 2017/01/27

    LINE SDK for iOS 4.0.1 released

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

    Changes:
    • Fixed an issue which causes an authentication error when using Web Login.
    We will continue to provide improvements so that developers can code more easily.
  • 2017/01/24

    New versions of Web Login and the LINE SDK released

    New versions of Web Login, LINE SDK for Android, and LINE SDK for iOS have been released. Details of each release are outlined below.

    Web Login v2

    Key changes:

    • Endpoint URLs contain "v2" instead of "v1"
    • userId is returned in get user profile requests. mid is no longer returned in the response.
    • scope is returned with the default value of p for permission to get user profile information
    • error and state parameters are returned in error responses for authorization

    For more information, see the updated documentation below.

    You can also use the LINE Login starter application to help you get started with Web Login.

    Note: Web Login v1 will be discontinued in January 2018. If you are using Web Login v1, please migrate to the Web Login v2 before that time.

    LINE SDK for Android 4.0.0

    Key changes:

    • Implements the Auto Login feature using Chrome custom tabs, instead of app-to-app authorization
    • Automatically gets user profile information at login
    • Has a method to verify the access token
    • Has a method to refresh the access token
    • Has a method to log the user out

    For more detailed information on how to use the LINE SDK for Android, see the updated documentation below.

    Download the LINE SDK for Android

    LINE SDK for iOS 4.0.0

    Key changes:

    • Automatically gets user profile information at login
    • Has a method to verify the access token
    • Has a method to refresh the access token
    • Has a method to log the user out

    For more detailed information on how to use the LINE SDK for iOS, see the updated documentation below.

    Download the LINE SDK for iOS

    Note: The reference documentation for the LINE SDK for Android and iOS are currently only available in English.

    We will continue to provide improvements so that developers can code more easily.
  • 2017/01/10

    LINE SDK for iOS 3.2.2 released

    The LINE SDK for iOS has been updated to version 3.2.2. You can download it from the LINE SDK archives on the following page:

    Download LINE SDK

    Changes:

    • Fixed an issue with bitcode.

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