Skip to main content

Native Modules Overview

This is your interactive launchpad for the apps/native/modules/ directory. CommitT utilizes 7 custom Kotlin native modules that communicate directly with the JavaScript layer via JSI (JavaScript Interface). This allows for synchronous execution and high-performance hardware access, entirely bypassing the legacy React Native serialization bridge.

The JSI Bridge Modules

Alarm Module

Direct interactions with the Android AlarmManager for high-priority sound and vibration events.

App Lister Module

High-speed JSI extraction of all installed packages via Android PackageManager.

Blocker Module

Accessibility-based anti-circumvention engine for app and website blocking.

Enforcement Module

Manages Device Administrator privileges and deep-links to system permission screens.

Logcat Module

Native in-memory buffer bridging Android logcat output to the JavaScript Logger.

Recovery Module

Process restart capabilities and self-healing connection recovery.

Scheduler Module

WakeLock orchestration and BootReceiver logic to re-hydrate state on device restart.