New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nativescript-oauth2

Package Overview
Dependencies
Maintainers
1
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nativescript-oauth2 - npm Package Compare versions

Comparing version 1.1.2 to 1.1.3

2

package.json
{
"name": "nativescript-oauth2",
"version": "1.1.2",
"version": "1.1.3",
"description": "OAuth 2 login for NativeScript.",

@@ -5,0 +5,0 @@ "main": "oauth",

@@ -103,3 +103,3 @@ # OAuth 2 Plugin for NativeScript

If you are using Angular, then open your `main.ts` file. You will need to explicitly use frames, so make sure to pass an options object to `platformNativeScriptDynamic` with the `createFrameOnBootstrap` flag set to `true`, like this.
If you are using Angular AND you are NOT using `<page-router-outlet`, you'll need to enable frames in order for the plugin to open up a new native page with a login screen. To do that open your `main.ts` file. You will need to explicitly use frames, so make sure to pass an options object to `platformNativeScriptDynamic` with the `createFrameOnBootstrap` flag set to `true`, like this.

@@ -113,2 +113,4 @@ ```typescript

You don't need to do this if you already have `<page-router-outlet>` in your component.
then add add the registration code below somewhere before you call login, most likely in your Auth service, as in the demo-angular project.

@@ -115,0 +117,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc