Code Monkey home page Code Monkey logo

Comments (9)

ajalt avatar ajalt commented on May 25, 2024

Does this problem happen with the demo app, or your own? What phone are you using? What version of android?

from reprint.

manuelpaulo avatar manuelpaulo commented on May 25, 2024

My own. iPhone 6 Plus. Android 6. Thanks

from reprint.

ajalt avatar ajalt commented on May 25, 2024

iPhone 6 Plus

What? This is an android library, it doesn't work on iPhones. What device are you using to test this library with?

Try running the sample app. If it works, then the problem is with your code, not Reprint.

from reprint.

manuelpaulo avatar manuelpaulo commented on May 25, 2024

I am very sorry about the iPhone 6, I do apps for both iOS and Android and I have two main phones and made a mistake when replying. As my main Android phone does not have fingerprint, I test the fingerprint usage on the emulator. Thanks.

Yes, I know problem must be my code. By the way it behaves - working only after a previous fingerprint usage from the standby unlocking - do have any suggestion on here should I look for the problem?

from reprint.

ajalt avatar ajalt commented on May 25, 2024

Can you give me a stripped down example of how you're using the library? I've never heard of anyone else having this problem. Try taking a look at how the sample works to make sure you understand what you're doing.

from reprint.

manuelpaulo avatar manuelpaulo commented on May 25, 2024

I do Reprint.initialize and Reprint.authenticate on create and on resume. The thing is, I get onSuccess only when coming out of the standby. Can it be an emulator issue?

I am going to test your demo code now and post the result here.

from reprint.

manuelpaulo avatar manuelpaulo commented on May 25, 2024

Tested. Your code works real fine. :(

from reprint.

ajalt avatar ajalt commented on May 25, 2024

Reprint.initialize should only be called once in your app's onCreate method, not every time your activity starts.

from reprint.

manuelpaulo avatar manuelpaulo commented on May 25, 2024

Thanks. I have fixed it. It was indeed the double Reprint.initialize call. Now I only do Reprint.initialize and Reprint.authenticate on resume and it works.

from reprint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.