Skip to content

Commit

Permalink
Merge pull request #131 from mraible/capacitor-4
Browse files Browse the repository at this point in the history
Add Capacitor 4 support
  • Loading branch information
Matt Raible authored Aug 25, 2022
2 parents 81269c3 + 057c85c commit d537691
Show file tree
Hide file tree
Showing 67 changed files with 72,351 additions and 87,900 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea
node_modules
/lib
/lib
*.tgz
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Ionic App Auth is a implementation of the [AppAuth-JS](https://github.com/openid
It includes code extensions for core cordova plugins to run the Ionic app such as [Advanced HTTP](https://github.com/silkimen/cordova-plugin-advanced-http) and [SafariViewController](https://github.com/EddyVerbruggen/cordova-plugin-safariviewcontroller).

The cordova plugins are optional and can be replaced with Angular/React/Vue http handlers and/or Capacitor Plugins.
This library is intended to be as flexible with compatiblity as Ionic V5 is attempting to be.
This library is intended to be as flexible with compatibility as Ionic v6 is attempting to be.

## Installation

Expand All @@ -24,7 +24,7 @@ Demos have been moved into the main repository to centralise issues.
- Vanilla: (To Be Completed)
- Ionic V3: (To Be Completed)

**NOTE**: You can use [OktaDev Schematics](https://github.com/oktadev/schematics#ionic) to install the code from the Angular examples above. Cordova and Capacitor are both supported. The installation isn't Okta-specific, it just prompts you for an `issuer` and `clientId`.
**NOTE**: You can use [OktaDev Schematics](https://github.com/oktadev/schematics#ionic) to install the code from the Angular examples above. Only Capacitor is supported. The installation isn't Okta-specific, it just prompts you for an `issuer` and `clientId` and works with Auth0 too!

## Contributing

Expand Down
3 changes: 3 additions & 0 deletions demos/angular-capacitor/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,15 @@
Thumbs.db
UserInterfaceState.xcuserstate
$RECYCLE.BIN/
.angular

*.log
log.txt
npm-debug.log*

/.idea
/ios
/android
/.ionic
/.sass-cache
/.sourcemaps
Expand Down
24 changes: 0 additions & 24 deletions demos/angular-capacitor/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -145,30 +145,6 @@
"devServerTarget": "app:serve:ci"
}
}
},
"ionic-cordova-build": {
"builder": "@ionic/angular-toolkit:cordova-build",
"options": {
"browserTarget": "app:build"
},
"configurations": {
"production": {
"browserTarget": "app:build:production"
}
}
},
"ionic-cordova-serve": {
"builder": "@ionic/angular-toolkit:cordova-serve",
"options": {
"cordovaBuildTarget": "app:ionic-cordova-build",
"devServerTarget": "app:serve"
},
"configurations": {
"production": {
"cordovaBuildTarget": "app:ionic-cordova-build:production",
"devServerTarget": "app:serve:production"
}
}
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion demos/angular-capacitor/capacitor.config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"appId": "com.appauth.demo",
"appName": "com.appauth.demo",
"appName": "Angular Demo",
"bundledWebRuntime": false,
"npmClient": "npm",
"webDir": "www",
Expand Down
Loading

0 comments on commit d537691

Please sign in to comment.