-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support biometric in Capacitor SDK #257
ref #256
- Loading branch information
Showing
33 changed files
with
2,351 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Ionic Capacitor Example App | ||
|
||
Example app of ionic app using capacitor. | ||
|
||
## Project config | ||
|
||
We need the following redirect uris to work: | ||
|
||
``` | ||
http://localhost:8100/reauth-redirect | ||
http://localhost:8100/oauth-redirect | ||
com.authgear.exampleapp.capacitor://host/path | ||
https://localhost | ||
capacitor://localhost | ||
``` | ||
|
||
## Run the app | ||
|
||
Before running the app, build the latest sdk at project root. | ||
|
||
```sh | ||
npm i | ||
npm run build | ||
``` | ||
|
||
Then, in this directory, run the exmaple app. | ||
|
||
```sh | ||
cd example/capacitor | ||
npm i | ||
# Run it in ios device | ||
npm run run-ios | ||
# OR, run it in android device | ||
npm run run-android | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.