This is module responsible for biometric authorization.
- Copy module folder to your project and add module to gradle dependency like this:
implementation project(':biometric')
- Module requires next modules to work
implementation project(':core')
implementation project(':ui_base')
implementation project(':diia_storage')
- Add next nav graphs to main navigation graph
<include app:graph="@navigation/nav_biometric" />
- The following action should be added into the root navigation graph
<action
android:id="@+id/action_global_to_setupBiometric"
app:destination="@id/nav_biometric">
<argument
android:name="resultDestinationId"
app:argType="integer" />
<argument
android:name="resultKey"
app:argType="string" />
<argument
android:name="pin"
app:argType="string" />
</action>