1.0.31 • Published 1 year ago

@koodos/browser-capacitor-plugin v1.0.31

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

service-capacitor-plugin

The Browser plugin provides the ability to open an in-app browser and subscribe to browser events.

Prerequisites

Build plugin

  • Pull the plugin beside your capacitor project's root folder
  • Install dependencies:
npm install
  • Build plugin:
npm run build

Install/build plugin

  • In capacitor project's root folder
npm install ../service-capacitor-plugin
npm run build
npx cap sync

API

open(...)

open(params: BrowserParams) => Promise<ServiceData | null>

Open a page with the specified options.

ParamType
paramsBrowserParams

Returns: Promise<ServiceData | null>

Since: 1.0.0


Interfaces

ServiceData

Represents the options passed to open.

PropTypeDescriptionSince
emailstringEmail of the service user.1.0.0
passwordstringPassword of the service user.1.0.0
profileIdstringProfileId of the service user.1.0.0
authUrlstringauthUrl of the service user.1.0.0
serviceIdstringserviceId of the service user.1.0.0
profileNamestringprofileName of the service user.1.0.0
profileImgstringprofileImg of the service user.1.0.0
profileImgUrlstringprofileImgUrl of the service user.1.0.0
cookiesany

BrowserParams

Represents the params passed to open.

PropTypeDescriptionSince
firstUrlstringEmail of the service user.1.0.0
browseUrlstringPassword of the service user.1.0.0
browseUrl2stringPassword of the service user.1.0.0
profileUrlstringProfileId of the service user.1.0.0
switchProfilePrefixstringauthUrl of the service user.1.0.0
cookieKeystringCookieKey to get the serviceId cookie1.0.0
loginSelectorstringloginSelector to get login.1.0.0
passwordSelectorstringpasswordSelector to get password.1.0.0
authURLSelectorstringauthURLSelector to get authURL.1.0.0
liProfilestringliProfile to get profiles.1.0.0
profileLinkstringprofileLink to get profile-link element.1.0.0
dataTknstringdataTkn attribute to get profileId.1.0.0
profileImagestringprofileImage to get .profile-image element.1.0.0
profileNamestringprofileName to get .profile-name element.1.0.0
1.0.31

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.30

1 year ago

1.0.27

2 years ago

1.0.26

2 years ago

1.0.25

2 years ago

1.0.24

2 years ago

1.0.23

2 years ago

1.0.22

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago