You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 29, 2025. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+28-3Lines changed: 28 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,25 @@
1
-
# Mobile-Passcode
1
+
# Mifos-Passcode
2
2
Library for passcode implementation along with an optional additional feature to ask for passcode when your app resumes from background. (Works with minSDK >= 21)
3
3
4
+
# Project Structure :
5
+
6
+
-**`androidApp` Module**:
7
+
- Contains the Android-specific application code.
8
+
- Depends on the `shared` module to utilize common code across platforms.
9
+
10
+
-**`iosApp` Module**:
11
+
- Holds the iOS-specific application code.
12
+
- Integrates the `shared` module, typically as a framework, to access shared logic.
13
+
14
+
-**`shared` Module**:
15
+
- The core module containing platform-agnostic code, including business logic and Compose Multiplatform UI components.
16
+
- Referenced by both `androidApp` and `iosApp` modules to promote code reuse.
17
+
18
+
-**`cmp-mifos-passcode` Module**:
19
+
- A specialized module designed to package and publish the `shared` module as a Compose Multiplatform (CMP) library.
20
+
- Facilitates the distribution and reuse of the shared codebase across different projects or teams.
- Inject the `PasscodeRepository` in your activity which is essentially abstracting the operations related to saving, retrieving, and validating the passcode
@@ -67,4 +92,4 @@ For a basic implementation of the PassCode Screen
0 commit comments