AutoTools Fingerprint task sporadic function

Discussion in 'AutoApps' started by tgo, Nov 25, 2017.

  1. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    Can anyone tell me why my autotools fingerprint unlocker sometimes works and sometimes fails.
    This is the profile, using a Mate 9 (android 7) with an instant acting fingerprint reader.
    It's using a profile from here I believe, it simply locks a chosen app (in this case Explorer FX) until you verify it with the fingerprint reader.
    Sometimes it works, sometimes it doesn't but not sure why it's like that.

    Code (Text):
    Profile: Fingerprint Authenticator (48)
    Application: FX
    Enter: Fingerprint (47)
    A1: AutoTools Dialog [ Configuration:Dialog Type: Fingerprint
    Title: Security Protocol
    Number Of Tries: 1
    Icon: android.resource://net.dinglisch.android.taskerm/hd_device_access_secure
    Text: Fingerprint authentication required
    Text Size: 20
    Dim Background: true
    Top Margin: 16
    Bottom Margin: 16
    Bottom Buttons Top Margin: 16
    Bottom Buttons Bottom Margin: 16
    Cancelable: true
    Turn Screen On: true Timeout (Seconds):60 Continue Task After Error:On ]
    A2: If [ %atbutton ~ 2 ]
    A3: Popup [ Title: Text:Successful App Unlocked Background Image: Layout:popup Timeout (Seconds):1 Show Over Keyguard:On ]
    A4: Else
    A5: Play Ringtone [ Type:Notification Sound:Hangouts Message Stream:3 ]
    A6: Wait [ MS:300 Seconds:2 Minutes:0 Hours:0 Days:0 ]
    A7: Popup [ Title: Text:Denied Closing App Background Image: Layout:popup Timeout (Seconds):2 Show Over Keyguard:On ]
    A8: Go Home [ Page:0 ]
    A9: End If
     
    Last edited by a moderator: Nov 28, 2017
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    What exactly is happening when it doesn't work? Can you clarify? thanks!
     
  3. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    Sure if it doesn't work the ELSE statement kicks in, so I get the 'access denied' popup and the app closes. No idea why though, it will work fine like 3, 4, 5 times then for no reason it'll 'access deny' then the next time it'll work again. only a small inconvenience but curious as to why it would fail at all
     
  4. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hmm, maybe it really doesn't recognize the fingerprint those times? Have you tried making the "Number of Tries" number higher?
     
  5. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    It's set at 1 currently, should I try 2? what will that do
     
  6. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    With 1, when it doesn't recognize the fingerprint it gives up right away. With 2 it gives you 2 tries :)
     
  7. tgo

    tgo Member

    Joined:
    May 29, 2017
    Messages:
    31
    Likes Received:
    1
    Ok I'll give that a shot thanks.
     

Share This Page