Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nativescript 7.x support #125

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
*.js
*.js.map
*.log
*.iml
src/*.d.ts
!src/index.d.ts
!src/pkce-util.d.ts
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

Library for interacting with OAuth 2.0 in NativeScript applications that provides simplified direct client access with a OAuth providers that support the OAuth 2.0 protocol such as Microsoft, Facebook, and Google, but not limited to any login providers, and even allows you to plug in your own. This library doesn't use any native libraries and relies only on what comes in the box - making it really lightweight.

**_NOTE:_** **This is the new version of the old [nativescript-oauth plugin](https://www.npmjs.com/package/nativescript-oauth)**
**_NOTE:_** **This is a fork of the original [nativescript-oauth2 plugin](https://www.npmjs.com/package/nativescript-oauth2)**

<img src="https://raw.githubusercontent.com/alexziskind1/nativescript-oauth2/master/docs/images/nativescript-oauth2-logo.png" alt="NativeScript OAuth 2"/>

Expand Down
4 changes: 2 additions & 2 deletions demo-angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,20 @@
"@angular/platform-browser": "8.0.0",
"@angular/platform-browser-dynamic": "8.0.0",
"@angular/router": "8.0.0",
"@nativescript/core": "7.0.0-rc.24",
"nativescript-angular": "8.0.2",
"nativescript-oauth2": "../src",
"nativescript-theme-core": "~1.0.4",
"reflect-metadata": "~0.1.12",
"rxjs": "~6.3.0",
"tns-core-modules": "6.0.1",
"zone.js": "0.9.1"
},
"devDependencies": {
"@angular/compiler-cli": "8.0.0",
"@nativescript/schematics": "~0.5.0",
"@ngtools/webpack": "8.0.0",
"nativescript-dev-webpack": "1.0.1",
"typescript": "3.4.5"
"typescript": "~3.9.7"
},
"gitHead": "59b6da006346fedb5bb201fcc9cd7d204a69a82f",
"readme": "NativeScript Application"
Expand Down
12 changes: 0 additions & 12 deletions demo-angular_bak/package-lock.json

This file was deleted.

6 changes: 3 additions & 3 deletions demo-custom-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"nativescript-theme-core": "^1.0.4",
"nativescript-unit-test-runner": "^0.3.4",
"nativescript-oauth2": "file:../src",
"tns-core-modules": "^5.1.1"
"@nativescript/core": "7.0.0-rc.24"
},
"devDependencies": {
"jasmine-core": "^2.5.2",
Expand All @@ -26,9 +26,9 @@
"nativescript-css-loader": "~0.26.1",
"nativescript-dev-typescript": "~0.7.2",
"nativescript-dev-webpack": "~0.17.0",
"tns-platform-declarations": "^4.2.0",
"tns-platform-declarations": "^6.5.10",
"tslint": "~5.4.3",
"typescript": "3.1.1"
"typescript": "~3.9.7"
},
"readme": "NativeScript Application"
}
4 changes: 2 additions & 2 deletions demo-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"nativescript-theme-core": "~1.0.6",
"nativescript-oauth2": "../src",
"nativescript-vue": "~2.4.0",
"tns-core-modules": "~6.0.0"
"@nativescript/core": "7.0.0-rc.24"
},
"devDependencies": {
"@babel/core": "~7.1.0",
Expand All @@ -22,7 +22,7 @@
"nativescript-dev-webpack": "~1.0.0",
"nativescript-vue-template-compiler": "~2.4.0",
"node-sass": "^4.7.1",
"typescript": "~3.4.5",
"typescript": "~3.9.7",
"vue-loader": "~15.4.0"
}
}
123 changes: 123 additions & 0 deletions demo/app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion demo/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,10 @@
"homepage": "https://github.com/NativeScript/template-hello-world-ts",
"android": {
"v8Flags": "--expose_gc",
"requireModules": ["nativescript-oauth"]
"requireModules": [
"nativescript-oauth"
],
"markingMode": "full"
},
"devDependencies": {
"nativescript-dev-typescript": "^0.3.0"
Expand Down
Loading