Line Login


The function login, logs out, acquires, verifies, and refreshes the access token. The version of LineSDK you are using is as follows.

Ionic Line Login插件的安装(Installation)

ionic cordova plugin add cordova-line-login-plugin npm install @ionic-native/line-login

Ionic Line Login插件支持的平台(Supported Platforms)

  • Android
  • iOS

Ionic Line Login插件的用法(Usage)

import { LineLogin } from '@ionic-native/line-login';

constructor(private lineLogin: LineLogin) { }


this.lineLogin.initialize({ channel_id: "xxxxxxxxxx" })

  .then(result => console.log(result))
  .catch(error => console.log(error))