Giter Club home page Giter Club logo

Comments (7)

iamMehedi avatar iamMehedi commented on May 31, 2024

Looks like the KeyStore instance was null when creating the EncryptionManager instance. May be the device doesn't have a AndroidKeyStore implementation. I'll try and see why is it throwing a NullPointerException when the expected would be a KeyStoreException or NoSuchProviderException.

from secured-preference-store.

texnedo avatar texnedo commented on May 31, 2024

Hello. I am facing the same stack trace from my apps. Did you get a clue how to make a workaround for it?

from secured-preference-store.

iamMehedi avatar iamMehedi commented on May 31, 2024

@texnedo I could not actually reproduce it on any devices that I have. Are you using the latest version of the library with the recovery handler? And the recovery handler is not getting invoked?

from secured-preference-store.

texnedo avatar texnedo commented on May 31, 2024

I don't use this library, but work with AndroidKeyStore directly. I was just googling to find any solution for my issue. What does this recovery handler do? Could you navigate me in your repo the place where I can find it?

from secured-preference-store.

iamMehedi avatar iamMehedi commented on May 31, 2024

@texnedo In that case the recovery handler wouldn't be very useful for you I guess as it doesn't solve the issue; just provides the library a way to start over.

from secured-preference-store.

iamMehedi avatar iamMehedi commented on May 31, 2024

@skhugh were you trying to access the secured preferences from a remote service? This error seems to be related to this:
https://android.googlesource.com/platform/external/sepolicy/+/0e30164b17af20f680635c7c6c522e670ecc3df3

from secured-preference-store.

waylon-edmodo avatar waylon-edmodo commented on May 31, 2024

Is there any better way to solve this problem. From firebase's crashlytics, we found a large number of crash logs of this type of problem.

from secured-preference-store.

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.