User Authentication Pass by Home Button Issue

Chanuk Hwang's Avatar

Chanuk Hwang

10 Oct, 2017 06:58 AM

Hi,

I would like to ask you again about the User Authentication Pass.

I'm using Hockey App SDK. (Unity-Android v5.0.0)

On Hockey App Unity-Android, When authentication type is set to "Hockey App User",
User authentication views can be skipped by pressing the Home button and then back to the app.

Is there a way to prevent this issue?

Thanks!

  1. 1 Posted by Chanuk Hwang on 10 Oct, 2017 07:28 AM

    Chanuk Hwang's Avatar

    Hockey App Android SDK(v5.0.3) does not have this issue.

  2. Support Staff 2 Posted by Benjamin Scholt... on 11 Oct, 2017 11:44 PM

    Benjamin Scholtysik's Avatar

    Hi Chanuk,

    thx for getting in touch and apologies for any issue this causes you. We are looking at reproducing the issue and will be in touch shortly.

    Best,
    Benjamin

  3. Support Staff 3 Posted by Benjamin Scholt... on 12 Oct, 2017 06:31 PM

    Benjamin Scholtysik's Avatar

    Hey Chanuk,

    we're able to repro the issue for Unity and Android as well. The issue is that for Unity apps, they have launchMode==singleTask enabled.
    For authentication to work, you need to call LoginManager.verifyLogin(this, getIntent()); in onResume instead of in onCreate().

    Our documentation is lacking there. I'm adding the info right now. Sorry for the lack of documentation there.

    Thanks for alerting us to the issue and for using HockeyApp in the first place. You're awesome!

    Cheers!
    Benjamin

    PS: let me know if this worked!

  4. Benjamin Scholtysik closed this discussion on 18 Oct, 2017 06:04 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac