Giter VIP home page Giter VIP logo

anypass-kmp's Introduction

AnyPass Banner

AnyPass

AnyPass is your one-stop solution for password management, password generation, and password health analysis.

Download

Architecture

The app architecture has three layers: a data layer, a domain layer and a UI layer. AnyPass uses Meteor KMP to create application using MVI architecture. It provides a unidirectional data flow (UDF), allowing you to handle state changes and propagate them to the UI efficiently.

Single source of truth

When a new data type is defined in your app, you should assign a Single Source of Truth (SSOT) to it. The SSOT is the owner of that data, and only the SSOT can modify or mutate it. To achieve this, the SSOT exposes the data using an immutable type, and to modify the data, the SSOT exposes functions or receive events that other types can call.

This pattern brings multiple benefits:

  • It centralizes all the changes to a particular type of data in one place.
  • It protects the data so that other types cannot tamper with it.
  • It makes changes to the data more traceable. Thus, bugs are easier to spot.

In an offline-first application, the source of truth for application data is typically a database. In some other cases, the source of truth can be a ViewModel or even the UI.

Screenshots

SignIn Screen SignUp Screen ConfirmKeyPassword Screen Home Screen Add new password Screen GeneratePassword Screen Account Screen Authenticator Screen PasswordHealth Screen Help Screen

Technology

Modularization

Modularization is the practice of breaking the concept of a monolithic, one-module codebase into loosely coupled, self contained modules.

A barebone module is simply a directory with a Gradle build script inside. Usually though, a module will consist of one or more source sets and possibly a collection of resources or assets. Modules can be built and tested independently. Due to Gradle's flexibility there are few constraints as to how you can organize your project. In general, you should strive for low coupling and high cohesion.

  • Low coupling - Modules should be as independent as possible from one another, so that changes to one module have zero or minimal impact on other modules. They should not possess knowledge of the inner workings of other modules.
  • High cohesion - A module should comprise a collection of code that acts as a system. It should have clearly defined responsibilities and stay within boundaries of certain domain knowledge.

Core Module:

graph TD;
    core-->common;
    core-->designsystem;
    core-->analytics;
    designsystem-->shared;
    common-->shared;
    analytics-->shared;

Manager Module:

graph TD;
    manager-->password;
    manager-->biometry;

    password-->features;
    biometry-->features;

    features-->generatepassword;
    features-->account;

Data Module:

graph TD;
    data-->local;
    data-->authManager;
    data-->prefs;

    features-->onboarding;
    features-->auth;
    features-->addnewpassword;
    features-->home;

    prefs--> features;
    local-->features;
    authManager-->features;

Feature Module:

graph TD;
    features-->onboarding;
    features-->auth;
    features-->addnewpassword;
    features-->home;
    features-->auth;
    features-->account;
    features-->generatepassword;

    onboarding-->shared;
    auth-->shared;
    home-->shared;
    addnewpassword-->shared;
    account-->shared;
    generatepassword-->shared;

Setup

  1. Check your Xcode version is 14.1 or newer. Additionally, check your Android Studio version is Flamingo or newer.

  2. Clone the repository using the following command:

    https://github.com/getspherelabs/anypass-kmp.git
    
  3. When building the iOS app, you may face common issues:

    • Issue: Unicode Normalization not appropriate for ASCII-8BIT

    • Solution: Try add your ~/.zprofile, ~/.zshrc files:

       LANG=en_US.UTF-8
       LANGUAGE=en_US.UFT-8
       LC_ALL=en_US.UFT-8
      
    • Issue: Sometimes you can not build your iOS app from Xcode

    • Solution: Follow these steps after executing the cleanup script:

      1. pod deintegrate
      2. pod init
      3. Copy the pod modules
      4. pod install
  4. Build and run the app on your Android / iOS device or simulator.

โš ๏ธ Make fake google-services.json for building properly.

  1. We recommend including linkers from Xcode. To include linkers from Xcode, follow these steps:

    1. Navigate to iosApp/Build Settings/Linking.
    2. Add the following linkers to your Other Linking Flags:
      • lsqlite3
      • ObjC

Screenshots

Contributers

Want to contribute? See CONTRIBUTING.md Fork AnyPass

Those are the list of contributors of this project, thanks for your contribution ๐Ÿง‘โ€๐Ÿ’ป:**

Behzod Halil
Behzod Halil
John Doe
Oybek Kholiqov
Jane Smith
Khurshid Usarov
Jane Smith
Sardor-M

Project Requirements

  • Java 17+
  • iOS: 14.0+

anypass-kmp's People

Contributors

alibardide5124 avatar behzodhalil avatar cloudchamb3r avatar khurshiddev avatar oybekjon94 avatar sardor-m avatar yokubovmukhammadali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

anypass-kmp's Issues

Add `password health` feature

Password Health typically refers to the overall security and strength of a password.

Therea are three types of password health:

  1. Strong
  2. Normal
  3. Weak

Add logout feature from firebase

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

Add validation check when add new passwords

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

Fix `FirebaseCore` issue

Describe the bug
When we initialize FirebaseCore in iosApp, this seems don't work properly.

Additional context
Add any other context about the problem here.

Add fetching password by category logic

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

Add `back button`s to navigate

Is your feature request related to a problem? Please describe.

  1. Add new password
  2. Generate password

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

Add remote Password saving capability

Is your feature request related to a problem? Please describe.
It would be great if we have save password online too. This would give password sharing capability across multiple devices.

Describe the solution you'd like
Initially we can start with firebase Db with added encryption.

Additional context
Add any other context or screenshots about the feature request here.

Add a `password reveal button` in the main card

Is your feature request related to a problem? Please describe.

  • @behzodhalil In the picture below, you can see the password is being shown in a large fonts where it may rise the privacy issue. After checking the app simulation, i thought adding new feature to hides the password would be a good idea.
Screenshot 2023-10-03 at 7 32 37 PM

Describe the solution you'd like

  • Instead the password string's being displayed in the center of the main card, adding an input box with a password hider button would be a really cool to hide the password and show it when the person needs to check it.
  • Below this message, i attached an example case scenario which
    might help you.

image_processing20210902-24398-1d5t2r2

Additional context

Add edit password screen

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Additional context
Add any other context or screenshots about the feature request here.

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.