根据Face++ (旷视科技)库的再打包
implementation "com.stone.kuainiugroup:liveness-lib:1.0.0"
- Face++ 活体认证,需要绑定 applicationId 做鉴权
- 外部调用活体时,需要请求网络确认协议,需要在子线程中去发起
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<!--获取手机号码-->
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<!--调用摄像头-->
<uses-permission android:name="android.permission.CAMERA" />
<!--获取Mac地址-->
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />