Swiftpack.co - line/line-sdk-ios-swift as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by line.
line/line-sdk-ios-swift 5.9.0
Provides a modern way of implementing LINE APIs.
⭐️ 775
🕓 2 weeks ago
iOS
.package(url: "https://github.com/line/line-sdk-ios-swift.git", from: "5.9.0")

Build Status CocoaPods Compatible Swift Package Manager Compatible Carthage Compatible

LINE SDK for iOS Swift

Overview

Developed in Swift, the LINE SDK for iOS Swift provides a modern way of implementing LINE APIs. The features included in this SDK will help you develop an iOS app with engaging and personalized user experience.

Features

The LINE SDK for iOS Swift provides the following features.

User authentication

This feature allows users to log in to your service with their LINE accounts. With the help of the LINE SDK for iOS Swift, it has never been easier to integrate LINE Login into your app. Your users will automatically log in to your app without entering their LINE credentials if they are already logged in to LINE on their iOS devices. This offers a great way for users to get started with your app without having to go through a registration process.

Utilizing user data with OpenID support

Once the user authorizes, you can get the user’s LINE profile. You can utilize the user's information registered in LINE without building your user system.

The LINE SDK supports the OpenID Connect 1.0 specification. You can get ID tokens that contain the user’s LINE profile when you retrieve the access token.

Using the SDK

Prerequisites

  • iOS 11.0 or later as the deployment target.
  • Xcode 10 or later.

To use the LINE SDK with your iOS app, follow the steps below.

  • Create a channel.
  • Integrate LINE Login into your iOS app using the SDK.
  • Make API calls from your app using the SDK or from server-side through the Social API.

For more information, refer to the LINE SDK for iOS Swift guide on the LINE Developers site.

Trying the starter app

To have a quick look at the features of the LINE SDK, try our starter app by following the steps below:

  1. Clone the repository.

    git clone https://github.com/line/line-sdk-ios-swift.git

  2. Open the LineSDK.xcworkspace file in Xcode.

  3. Build and run the LineSDKSample scheme.

The starter app should launch.

Contributing

If you believe you have discovered a vulnerability or have an issue related to security, please DO NOT open a public issue. Instead, send us a mail to [email protected].

For contributing to this project, please see CONTRIBUTING.md.

GitHub

link
Stars: 776
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

5.9.0
2 weeks ago

This version drops supports for iOS 10 since Xcode 14 is not supporting 32-bit devices anymore. For more information, please refer to 32-bit app support has been discontinued in Xcode 14.

Added

  • SwiftUI sample app. If you are using SwiftUI and want to integrate LINE SDK Swift into your SwiftUI project, please refer to the SwiftUI sample app to get started. #177
  • Support for Xcode 14 and iOS 16. #178

Fixed

  • Drops iOS 10 support. Now LINE SDK Swift requires iOS 11 or later. If you have to continue to support iOS 10, use LINE SDK Swift 5.8.2.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics