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
This commit is contained in:
nrikiji 2018-11-15 15:36:49 +09:00 committed by Daniel Sogl
parent 66316d29fe
commit 7145afa24f

View File

@ -99,6 +99,19 @@ export class LineLogin extends IonicNativePlugin {
return; return;
} }
/**
* Login with Web
* (iOS only)
* @return {Promise<LineLoginProfile>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2
})
loginWeb(): Promise<LineLoginProfile> {
return;
}
/** /**
* Logout * Logout
* @return {Promise<any>} * @return {Promise<any>}