store-system | A Store System built with Electron React Material-UI | Frontend Framework library
kandi X-RAY | store-system Summary
kandi X-RAY | store-system Summary
This project is part of my personal portfolio, so, I'll be happy if you could provide me any feedback about the project, code, structure or anything that you can report that could make me a better developer!. Connect with me at LinkedIn.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of store-system
store-system Key Features
store-system Examples and Code Snippets
Community Discussions
Trending Discussions on store-system
QUESTION
I created android app(xamarin forms) with subscription. I process subscriptions on my own service. But there is one point, a quote from the documentation:
Keep in mind that users will want the ability to use your app at any time, including when there may be no network connection available. Make sure that your approach to purchase verification accounts for the offline use-case.
How to implement this check if the Internet connection is missing? My idea is to store a "local label" (in the database or file) about the current subscription on device. But this is not reliable, easy to break. I also found information about android keystore. But it looks complicated.
Any ideas and advice.
...ANSWER
Answered 2018-Feb-13 at 13:43Supposedly there is a plethora of ways of storing information about a subscription locally. One way would be, to encrypt the subscription information asymetrically
- Client sends log-in information, along with some sort of device code (IMEI or something), to server
- Server responds with some sort of license code, that is encrypted with a private key and the device code
- Client stores the license in a file
- The contents of the license are decrypted with a public key the client knows
It would be possible to read the license file by obtaining the public key from the client (it's public after all), hence if you really want to be sure, you should not store any sensitive information in it, but it should not be able to forge the license, since this would require the private key, which is not known. Due to the device code the client passed it's not possible to copy the license file to another device.
Furthermore you could give the license an expiry date, after which the client will be informed that xe will have to go online to renew the license.
Remarks: You can never trust code that is ran on a device you don't have full control over, hence possibly there might always be a way to bypass security measures.
QUESTION
Just want to know if Clear Data in App's Setting clears all Android Keystore stored in that certain app? Or it leaves certain bits of data?
Android Keystore I'm referring to is similar to this KeyStore. See Tutorials below.
From Android Developer
From Medium Tutorial
From Android Authority Tutorial
ANSWER
Answered 2017-Nov-17 at 05:13Clear Data in App's Setting will clear only the data, created / generated run-time by user. Like, preferences, database etc.
It will not clear data, stored at the time of app building
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install store-system
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page