@capgo/capacitor-native-biometric 7.1.12 → 7.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -20
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -278,26 +278,6 @@ To use android's BiometricPrompt api you must add the following permission to yo
|
|
|
278
278
|
<uses-permission android:name="android.permission.USE_BIOMETRIC">
|
|
279
279
|
```
|
|
280
280
|
|
|
281
|
-
And register the plugin by adding it to you MainActivity's onCreate (Not needed for Capacitor 3):
|
|
282
|
-
|
|
283
|
-
```java
|
|
284
|
-
import ee.forgr.biometric.NativeBiometric;
|
|
285
|
-
|
|
286
|
-
public class MainActivity extends BridgeActivity {
|
|
287
|
-
@Override
|
|
288
|
-
public void onCreate(Bundle savedInstanceState) {
|
|
289
|
-
super.onCreate(savedInstanceState);
|
|
290
|
-
|
|
291
|
-
// Initializes the Bridge
|
|
292
|
-
this.init(savedInstanceState, new ArrayList<Class<? extends Plugin>>() {{
|
|
293
|
-
// Additional plugins you've installed go here
|
|
294
|
-
// Ex: add(TotallyAwesomePlugin.class);
|
|
295
|
-
add(NativeBiometric.class);
|
|
296
|
-
}});
|
|
297
|
-
}
|
|
298
|
-
}
|
|
299
|
-
```
|
|
300
|
-
|
|
301
281
|
## Contributors
|
|
302
282
|
|
|
303
283
|
[Jonthia](https://github.com/jonthia)
|
package/package.json
CHANGED