Answer the question
In order to leave comments, you need to log in
LocalStorage in Cordova. Shouldn't the data be different?
Good afternoon. I am currently developing two programs for Android. I store the necessary data in localStorage. But an unexpected problem arose. I use similar key names in some cases, as a result of which, in two completely different projects, both keys take on the value that I specified in only one project. I thought that for different domains, the key sets and their contents are different, even if the names of the keys are the same. Therefore, I thought that in different projects the values of the keys would be independent. I don't know if I explained clearly, but here is a simple example.
Two programs: A and B. Both there and there is a key with the same name key. I assign a value to a key in program A, and as a result, in program B, the key takes on that value. Is it really possible to use only one set of keys for the entire Internet and everyone should look for the original one, which no one has used yet?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question