From 7145afa24f2db5c820c6d8272257b50659aa6863 Mon Sep 17 00:00:00 2001 From: nrikiji Date: Thu, 15 Nov 2018 15:36:49 +0900 Subject: [PATCH] feat(line-login): add loginWeb function (#2810) * add line-login * Update index.ts * add params and result type * Update index.ts * Update index.ts * feat(line-login)add method --- src/@ionic-native/plugins/line-login/index.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/@ionic-native/plugins/line-login/index.ts b/src/@ionic-native/plugins/line-login/index.ts index a41f10b0e..898c53e4c 100644 --- a/src/@ionic-native/plugins/line-login/index.ts +++ b/src/@ionic-native/plugins/line-login/index.ts @@ -99,6 +99,19 @@ export class LineLogin extends IonicNativePlugin { return; } + /** + * Login with Web + * (iOS only) + * @return {Promise} + */ + @Cordova({ + successIndex: 1, + errorIndex: 2 + }) + loginWeb(): Promise { + return; + } + /** * Logout * @return {Promise}