LibAuthentication will simplify your code when if you want to use FaceID/TouchID in your tweaks.
make package
- Copy layout/usr/local/lib/Authenticate.dylib to $THEOS/lib
- Copy Authenticate.h in $THEOS/Authenticate/Authenticate.h
#import <Authenticate/Authenticate.h>
[Authenticate alloc] authenticate:@"reason" completed:^(BOOL success) {
if (success) {
//Authentification success
}
}];