You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 18, 2020. It is now read-only.
void(^dismissBlock)() = ^{
self.shown = NO;
callback(@[@"Lock was dismissed by the user", [NSNullnull], [NSNullnull]]);
};
you should receive a callback with first (error) argument set to "Lock was dismissed by the user", so you can use it like this:
lock.show(params,(err,profile,token)=>{if(err){if(err==="Lock was dismissed by the user"){// Do dismiss logic here}// Process other errorsreturn;}// Do normal auth flow});
I haven't actually tested this code, but I think it should do the trick :)
Hello,
Is it possible to make event fire when lock is closed or hides?
The text was updated successfully, but these errors were encountered: