Skip to content

Commit 6483036

Browse files
vasfvitordreyfus92
andauthored
fix: biometric and nfc js api and stubs (tauri-apps#2008)
* add nfc and biometric to js api generator * create stubs --------- Co-authored-by: Paul Valladares <[email protected]>
1 parent ad95485 commit 6483036

File tree

3 files changed

+32
-0
lines changed

3 files changed

+32
-0
lines changed

packages/js-api-generator/build.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ async function generator() {
8181
'authenticator',
8282
'autostart',
8383
'barcode-scanner',
84+
'biometric',
8485
'cli',
8586
'clipboard-manager',
8687
'deep-link',
@@ -89,6 +90,7 @@ async function generator() {
8990
'global-shortcut',
9091
'http',
9192
'log',
93+
'nfc',
9294
'notification',
9395
'os',
9496
'positioner',
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: Biometric
3+
description: Prompt the user for biometric authentication on Android and iOS.
4+
---
5+
6+
import Stub from '@components/Stub.astro';
7+
import PluginLinks from '@components/PluginLinks.astro';
8+
9+
<PluginLinks plugin="biometric" />
10+
11+
<Stub>
12+
13+
Based on https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/biometric
14+
15+
</Stub>

src/content/docs/features/nfc.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
title: NFC
3+
description: Read and write NFC tags on Android and iOS.
4+
---
5+
6+
import Stub from '@components/Stub.astro';
7+
import PluginLinks from '@components/PluginLinks.astro';
8+
9+
<PluginLinks plugin="nfc" />
10+
11+
<Stub>
12+
13+
Based on https://github.com/tauri-apps/plugins-workspace/tree/v2/plugins/nfc
14+
15+
</Stub>

0 commit comments

Comments
 (0)