Comments (12)
haha no worries i was refering to the backend package name.
Only really an issue if this package along with the old package are used at the same time.
But i figured you'd probably want to change the name as this is now your project.
Just seemed odd really :)
from react-native-mmkv-storage.
Hmm that makes sense now, I will change the names in the next release so that such a problem does not appear for someone. Good point π
from react-native-mmkv-storage.
An all inclusive setup would probably be a lot better but also means more maintenance.
Taking a few sections and implementing would be a nice solution.
Realm Database handles encryptions and they expect the developer to store the key themselves.
Making it that way is generally considered the norm and if you do that then you could just suggest what other modules people can use to store the encryption key if they care about security.
from react-native-mmkv-storage.
The package name is react-native-mmkv-storage.... On npm. Its not react-native-fast-storage. I have changed it. On the backend, similar naming is used but it does not matter i think. ..
And yes It will be a secure solution once encryption is added i think. MMKV is used by wechat app.. So its reliable and well mantained also.
from react-native-mmkv-storage.
Can you explain on the package name? I still dont understand where it appeard to be same?
from react-native-mmkv-storage.
The big question about encryption is whether to handle all the encryption from key creation to its storage etc in the library or give the users of this library a simple api to encrypt storage using a password, storage of which, "securely" would be their problem to solve. Like using something such as "react-native-keychain".
from react-native-mmkv-storage.
A lot of people might appreciate an all inclusive package that does everything.
But you could essentially do both, maybe allow the ability to store your own keys elsewhere and just feed that into your functions on demand.
So then if you don't hand over keys it would just generate, store and use its own maybe?
from react-native-mmkv-storage.
And what if we used react-native-keychain as a dependancy to this library and handle everything ourselves in the library? That would do the job.
Actually implementing the logic wont be a problem but mantaining it and addressing the bugs etc would be and since react-native-keychain is well mantained maybe it could be used or a part of code from it implemented here.
Because encryption will be a very crucial part of the library hence a robust and stable solution that does not break at some point is required.
Hence i think more detailed survey is needed to see the available options and what might fully fulfill the purpose...
from react-native-mmkv-storage.
It would be possible to go that route yes.
The only issue is that library expects a username and password.
Where as this one allows storing information by key + value.
from react-native-mmkv-storage.
So are you suggesting to use https://github.com/mCodex/react-native-sensitive-info instead? Or use part of code from it instead of the above mentioned library?
from react-native-mmkv-storage.
Thats good information. Well lets see what fits in best in the current scenario.
from react-native-mmkv-storage.
No worries, i hope to use this soon :)
from react-native-mmkv-storage.
Related Issues (20)
- [Bug] TypeScript types for synchronous getters do not include null or undefined HOT 1
- Detox android test failed
- [Android] issues running after installation HOT 4
- [Bug] Duplicate symbol for architecture x86_64 issue due to conflict of same method name as another library HOT 2
- Error: MMKVNative bindings not installed HOT 1
- [Bug] Old settings are read after app reinstall HOT 1
- [Bug] Any support on RN 0.70 with TypeScript 3.8?
- [Question] Migrating to an encypted instance HOT 3
- [Bug] "Value Lifecycle Control" page in documentation 404 not found
- [Bug]
- this package itself specifies a `main` module field that could not be resolved HOT 2
- [Doubt] - whatβs the difference between this library and react-native-mmkv
- Can we have removeItem returnType fix in version 0.8.x
- NSSecureCoding support
- [Bug] ERROR Error: Failed to create a new MMKV instance, the native initializer function does not exist. Are you trying to use MMKV from different JS Runtimes?
- `Rendered fewer hooks than expected` Error
- Build failed react-native 0.73 mmkv-storage android contains no files
- [Bug] Typings are missed for 0.9.0 HOT 1
- Upgrade MMKV 1.2.13 -> 1.3.3
- [Bug] Published version is different from `master` branch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-mmkv-storage.