Giter Site home page Giter Site logo

Comments (12)

siwonia avatar siwonia commented on July 22, 2024

Same here. Android works like expected. iOS returns {username: null, password: "1"} whenever I call resetGenericPassword. No solution so far from my side.

from react-native-keychain.

levsero avatar levsero commented on July 22, 2024

Having the same issue, though it only happens on the initial install, if I resetGenericPassword it does not happen again. Still confirming but it appears our issue started after adding the firebase sdk (with https://github.com/evollu/react-native-fcm).

from react-native-keychain.

vonovak avatar vonovak commented on July 22, 2024

from react-native-keychain.

oblador avatar oblador commented on July 22, 2024

That's very odd, can you try specifying service and see if the issue persists?

from react-native-keychain.

NoFr1ends avatar NoFr1ends commented on July 22, 2024

Also happens for me when specifying a custom service.

from react-native-keychain.

404sand808s avatar 404sand808s commented on July 22, 2024

I also get it with a specified service.

from react-native-keychain.

nikoWah avatar nikoWah commented on July 22, 2024

Steps to reproduce

  • Install on a new simulator and you will hit this issue.
  • If you call resetGenericPassword on the same simulator, it will return the expected "false"

Please fix it. :D

from react-native-keychain.

nhnam avatar nhnam commented on July 22, 2024

Make sure you getGenericPassword with the same key with when you set it
Keychain.setGenericPassword('<serviceKey>','<serviceValue>');
--> Keychain.getGenericPassword('<serviceKey>');

Without serviceKey, Keychain will use app's bundleID as a service name which leads to an unexpected result.

from react-native-keychain.

krzysztofnowak avatar krzysztofnowak commented on July 22, 2024

Issue still exists in v3.1.3

After resetGenericPassword()

getGenericPassword() returns
Object {service: "my.package.name", username: null, password: "1"}

from react-native-keychain.

doruxan avatar doruxan commented on July 22, 2024

My app also stated to behave that way recently

from react-native-keychain.

voxspox avatar voxspox commented on July 22, 2024

any news on this?

from react-native-keychain.

vonovak avatar vonovak commented on July 22, 2024

hello folks, this issue is pretty old, it's not clear with what version this happens with and there are no specific steps to reproduce.

If you're experiencing the issue, try to create a runnable reproduction of it and open a new issue, or if the issue is device dependent or is hard to reproduce in some other way, please consider contributing a fix for it yourself. thanks!

from react-native-keychain.

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.