Skip to content

Commit

Permalink
feat(line-login): add loginWeb function (#2810)
Browse files Browse the repository at this point in the history
* add line-login

* Update index.ts

* add params and result type

* Update index.ts

* Update index.ts

* feat(line-login)add method
  • Loading branch information
nrikiji authored and danielsogl committed Nov 15, 2018
1 parent 66316d2 commit 7145afa
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/@ionic-native/plugins/line-login/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,19 @@ export class LineLogin extends IonicNativePlugin {
return;
}

/**
* Login with Web
* (iOS only)
* @return {Promise<LineLoginProfile>}
*/
@Cordova({
successIndex: 1,
errorIndex: 2
})
loginWeb(): Promise<LineLoginProfile> {
return;
}

/**
* Logout
* @return {Promise<any>}
Expand Down

0 comments on commit 7145afa

Please sign in to comment.