 <p>I'm one of the AeroGear JS devs. The JS OTP lib is just getting started, but we have both Android and iOS libs that are more mature and since you are using cordova/phonegap it's possible to create a plugin to access the native libs until the JS version is a bit more solid.</p> <p>-Luke</p>