You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cordova-plugin-userbase

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cordova-plugin-userbase

A Userbase plugin for cordova apps in iOS and Android.

0.0.1
Source
npmnpm
Version published
Weekly downloads
3
Maintainers
1
Weekly downloads
 
Created
Source

Create secure and private mobile apps using only static JavaScript, HTML, and CSS — and Cordova 🚀

What is Userbase?

Userbase is the easiest way to add user accounts and user data persistence to your static site Cordova mobile app. All Userbase features are accessible through a very simple JavaScript SDK. No backend necessary.

What is Cordova?

Cordova is a tool to create mobile apps with JavaScript, HTML, and CSS. Use it to turn your web app into a mobile app.

Installation

Follow the quick start instructions below, or check out this sample ugly to-do Cordova app. To create a Cordova app, follow these instructions, and then head back over here to install this plugin.

Create an admin account

First, you need to create a free Userbase admin account. No credit card required.

Install the plugin

The plugin can be installed via the Cordova command line interface:

cordova plugin add cordova-plugin-userbase

Userbase will then be available globally at window.userbase.

Set the App ID

In your admin account, you will find a Trial app. Get its App ID, and initialize the Userbase SDK with it.

userbase.init({ appId: 'YOUR_APP_ID' })

And you're all set. You can now proceed to the SDK section of the docs.

Why do I need a Cordova plugin to use Userbase with Cordova?

If you try to use Userbase in a Cordova app without the plugin, you'll notice that signing up and signing in are extraordinarily slow. This is because Userbase uses scrypt to hash passwords, and pure JS Scrypt implementations happen to be extraordinarily slow in Cordova apps. This plugin forked the cordova-plugin-scrypt, which uses native C to run Scrypt, thus enabling a more normal sign up/sign in time in Cordova apps.

License

This project is released under the MIT License.

Keywords

ecosystem:cordova

FAQs

Package last updated on 04 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.