Ionic Docs Docs
Framework Appflow
Guide Components CLI Native
Support Community v3 GitHub
Ionic Docs Docs
  • Enterprise
    • Native Core
    • Active Directory
    • Identity Vault
    • Offline Support
  • Plugins
    • 3D Touch
    • ABBYY Real-Time Recognition
    • AES256
    • Action Sheet
    • AdMob Free
    • AdMob Plus
    • AdMob Pro
    • Adjust
    • Admob
    • Alipay
    • Analytics Firebase
    • Android ExoPlayer
    • Android Fingerprint Auth
    • Android Full Screen
    • Android Permissions
    • Answers
    • App Availability
    • App Center Analytics
    • App Center Crashes
    • App Center Push
    • App Minimize
    • App Preferences
    • App Rate
    • App Update
    • App Version
    • Apple Pay
    • Apple Wallet
    • Appodeal
    • Appsflyer
    • Audio Management
    • Autostart
    • BLE
    • Background Fetch
    • Background Geolocation
    • Background Mode
    • Backlight
    • Badge
    • Baidu Push
    • Barcode Scanner
    • Base64 To Gallery
    • Base64
    • Battery Status
    • BlinkId
    • BlinkUp
    • Bluetooth Serial
    • BluetoothLE
    • Braintree
    • BranchIo
    • Brightness
    • Broadcaster
    • Browser Tab
    • Calendar
    • Call Directory
    • Call Log
    • Call Number
    • Camera Preview
    • Camera
    • Card IO
    • Chooser
    • Class Kit
    • CleverTap
    • Clipboard
    • Cloud Settings
    • Code Push
    • Colored Browser Tabs
    • Contacts
    • Couchbase Lite
    • Crashlytics
    • Crop
    • DB Meter
    • DNS
    • Date Picker
    • Deeplinks
    • Device Accounts
    • Device Feedback
    • Device Motion
    • Device Orientation
    • Device
    • Diagnostic
    • Dialogs
    • Document Viewer
    • Downloader
    • Email Composer
    • Estimote Beacons
    • Extended Device Information
    • FCM
    • FTP
    • Facebook
    • File Chooser
    • File Encryption
    • File Opener
    • File Path
    • File Transfer
    • File
    • Fingerprint AIO
    • Firebase Analytics
    • Firebase Authentication
    • Firebase Config
    • Firebase Dynamic Links
    • Firebase Messaging
    • Firebase
    • Flashlight
    • Flurry Analytics
    • Gao De Location
    • Geofence
    • Geolocation
    • Globalization
    • Google Analytics
    • Google Maps
    • Google Nearby
    • Google Play Games Services
    • Google Plus
    • Gyroscope
    • HTTP
    • Header Color
    • Health Kit
    • Health
    • Hot Code Push
    • Hotspot
    • Httpd
    • HyperTrack
    • IBeacon
    • Image Picker
    • Image Resizer
    • In App Browser
    • In App Purchase 2
    • In App Purchase
    • In App Review
    • Index App Content
    • Insomnia
    • Instagram
    • Intel Security
    • Intercom
    • Ionic Webview
    • Is Debug
    • Jins Meme
    • Keyboard
    • Keychain Touch Id
    • Keychain
    • LastCam
    • Launch Navigator
    • Launch Review
    • Line Login
    • LinkedIn
    • Local Notifications
    • Location Accuracy
    • Lottie Splash Screen
    • MS ADAL
    • Market
    • Media Capture
    • Media
    • Mixpanel
    • Mobile Accessibility
    • Music Controls
    • NFC
    • Native Audio
    • Native Geocoder
    • Native Keyboard
    • Native Page Transitions
    • Native Ringtones
    • Native Storage
    • Navigation Bar
    • Network Interface
    • Network
    • OneSignal
    • Open Native Settings
    • OpenALPR
    • PayPal
    • Pedometer
    • Phonegap Local Notification
    • Photo Library
    • Photo Viewer
    • Pin Check
    • Pin Dialog
    • Pinterest
    • Power Management
    • Printer
    • Pro
    • Push
    • QQSDK
    • QR Scanner
    • Regula Document Reader
    • Rollbar
    • SMS
    • SQLite Porter
    • SQLite
    • Safari View Controller
    • Screen Orientation
    • Screenshot
    • Secure Storage
    • Sensors
    • Serial
    • Shake
    • Sim
    • Siri Shortcuts
    • Social Sharing
    • Speech Recognition
    • SpeechKit
    • Spinner Dialog
    • Splash Screen
    • Sqlite Db Copy
    • StarPRNT
    • Status Bar
    • Stepcounter
    • Streaming Media
    • Stripe
    • Taptic Engine
    • Tealium
    • TealiumAdIdentifier
    • TealiumInstallReferrer
    • Text To Speech
    • Themeable Browser
    • Toast
    • Touch ID
    • Twitter Connect
    • Uid
    • Unique Device ID
    • Uptime
    • User Agent
    • Vibration
    • Video Capture Plus
    • Video Editor
    • Video Player
    • Web Intent
    • Web Server
    • Webengage
    • Wechat
    • WheelSelector Plugin
    • Youtube Video Player
    • ZBar
    • Zeroconf
    • Zip
    • hce
    • iOS DocumentPicker
    • iOS File Picker
    • jAnalytics

Line Login

Contents
Installation Supported Platforms Usage

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

https://github.com/nrikiji/cordova-line-login-plugin

Stuck on a Cordova issue?

Don't waste precious time on plugin issues.

If you're building a serious project, you can't afford to spend hours troubleshooting. Ionic's experts offer official maintenance, support, and integration help.

Contact Us Today!

Installation

Community Enterprise
ionic cordova plugin add cordova-line-login-plugin npm install @ionic-native/line-login
Ionic EE comes with fully supported and maintained plugins from the Ionic Team. Learn More   or   Contact Us
ionic activate-native-ee --key=YOURPRODUCTKEY ionic integrations add @ionic-native/line-login

Supported Platforms

  • Android
  • iOS

Usage

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


constructor(private lineLogin: LineLogin) { }

...


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

this.lineLogin.login()
  .then(result => console.log(result))
  .catch(error => console.log(error))