All Projects → SPIRIT-21 → cordova-plugin-1password

SPIRIT-21 / cordova-plugin-1password

Licence: MIT license
Plugin for adding 1Password App Extension into Cordova/PhoneGap Apps

Programming Languages

objective c
16641 projects - #2 most used programming language
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to cordova-plugin-1password

Cordova Ionic Phonegap Branch Deep Linking Attribution
The Branch Cordova Ionic Phonegap SDK for deep linking and attribution. Branch helps mobile apps grow with deep links / deeplinks that power paid acquisition and re-engagement campaigns, referral programs, content sharing, deep linked emails, smart banners, custom user onboarding, and more.
Stars: ✭ 228 (+1800%)
Mutual labels:  cordova, phonegap
Cordova Plugin Getuisdk
个推官方提供的推送SDK PhoneGap(Cordova) 插件(支持 Android & iOS)
Stars: ✭ 65 (+441.67%)
Mutual labels:  cordova, phonegap
Cordova Plugin Linkedin
Cordova plugin for LinkedIn
Stars: ✭ 17 (+41.67%)
Mutual labels:  cordova, phonegap
Cordova Template Framework7 Vue Webpack
Framework7 - Vue - Webpack Cordova Template with Webpack Dev Server and Hot Module Replacement
Stars: ✭ 630 (+5150%)
Mutual labels:  cordova, phonegap
Intercom Cordova
Cordova/PhoneGap plugin for Intercom
Stars: ✭ 88 (+633.33%)
Mutual labels:  cordova, phonegap
Cordova Admob Pro
🔥 Cordova Plugin for Google AdMob, DFP, ADX. Easy monetization using mobile Ad, with single line of JavaScript. Compatible with Cordova CLI, Inoic, PhoneGap Build, etc.
Stars: ✭ 690 (+5650%)
Mutual labels:  cordova, phonegap
Cordova Plugin Tensorflow
On-device image recognition via TensorFlow/Inception. For Cordova/PhoneGap.
Stars: ✭ 51 (+325%)
Mutual labels:  cordova, phonegap
Framework7
Full featured HTML framework for building iOS & Android apps
Stars: ✭ 16,560 (+137900%)
Mutual labels:  cordova, phonegap
Framework7 Template Vue Simple
Deprecated! Simple Framework7 Vue starter app template in a single HTML file
Stars: ✭ 81 (+575%)
Mutual labels:  cordova, phonegap
Framework7 Cli
Framework7 command line utility
Stars: ✭ 76 (+533.33%)
Mutual labels:  cordova, phonegap
Cordova Plugin Googleplus
➕ Cordova plugin to login with Google Sign-In on iOS and Android
Stars: ✭ 537 (+4375%)
Mutual labels:  cordova, phonegap
Cordova Plugin Googlemaps
Google Maps plugin for Cordova
Stars: ✭ 1,647 (+13625%)
Mutual labels:  cordova, phonegap
Toast Phonegap Plugin
🍻 A Toast popup plugin for your fancy Cordova app
Stars: ✭ 503 (+4091.67%)
Mutual labels:  cordova, phonegap
Hiapp
A simple and interesting hybrid app. React Native version: http://t.cn/R5LqqLz Demo:
Stars: ✭ 791 (+6491.67%)
Mutual labels:  cordova, phonegap
Corber
CLI for building hybrid apps with Ember/Vue/Glimmer/Cordova
Stars: ✭ 327 (+2625%)
Mutual labels:  cordova, phonegap
Blinkid Cordova
ID scanning for cross-platform apps built with Cordova and Phonegap.
Stars: ✭ 44 (+266.67%)
Mutual labels:  cordova, phonegap
Awesome Cordova
📱 A curated list of amazingly awesome Cordova libraries, resources and shiny things.
Stars: ✭ 269 (+2141.67%)
Mutual labels:  cordova, phonegap
Cordova Plugin Native Keyboard
🎹 Add a Slack / WhatsApp - style chat keyboard to your Cordova app!
Stars: ✭ 271 (+2158.33%)
Mutual labels:  cordova, phonegap
Cordovue
A sample Apache Cordova application using VueJS.
Stars: ✭ 66 (+450%)
Mutual labels:  cordova, phonegap
Involt
Inject hardware interactions directly into HTML layout.
Stars: ✭ 128 (+966.67%)
Mutual labels:  cordova, phonegap

SPIRIT/21 cordova-plugin-1password

Plugin for adding 1Password App Extension into Cordova/PhoneGap Apps.

Installation

cordova plugin add cordova-plugin-1password

Supported Platforms

  • iOS 9.0
  • No support for iPad!!

Properties

  • OnePassword.findLoginForUrl(succesCallback, errorCallback, url)
  • OnePassword.storeLoginForUrl(succesCallback, errorCallback, username, password, url, title, sectionTitle)

Usage

You do not need to reference any JavaScript, the Cordova plugin architecture will add a OnePassword object to your root automatically when you build.

Ensure you use the plugin after your deviceready event has been fired.

Find login for url

Pass the following arguments to the findLoginForUrl() function, to prompt the user to authenticate via 1Password:

  1. Success callback (called when a user has selected a login)
  2. Failure callback (called when a user cancels the 1Password prompt or an error occurs.)
  3. URL (String)*
OnePassword.findLoginForUrl(succesCallback, errorCallback, url)

Store login for url

Pass the following arguments to the storeLoginForUrl() function, to prompt the user to authenticate via 1Password:

  1. Success callback (called when a user has selected a login)
  2. Failure callback (called when a user cancels the 1Password prompt or an error occurs)
  3. Username (String)
  4. Password (String)
  5. URL (String)*
  6. Title (String)
  7. Section title (String)
OnePassword.storeLoginForUrl(succesCallback, errorCallback, username, password, url, title, sectionTitle)

*Best Practices (see also)

  • Use the same URL during Registration and Login.
  • Ensure your URL is set to your actual service so your users can easily find their logins within the main 1Password app.
  • You should only ask for the login information of your own service or one specific to your app. Giving a URL for a service which you do not own or support may seriously break the customer's trust in your service/app.
  • If you don't have a website for your app you should specify your bundle identifier as the URL, like so: app://bundleIdentifier (e.g. app://com.acme.awesome-app).

The MIT License (MIT)

Copyright (c) 2016 SPIRIT/21

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].