Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 53 additions & 0 deletions app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
plugins {
id "com.android.application"
id "org.jetbrains.kotlin.android"
}

android {
namespace "com.nerosovereign.vision"
compileSdk 34

defaultConfig {
applicationId "com.nerosovereign.vision"
minSdk 24
targetSdk 34
versionCode 1
versionName "1.0.0"
}

buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
}
debug {
minifyEnabled false
}
}

compileOptions {
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}

kotlinOptions {
jvmTarget = "17"
}

packaging {
resources {
excludes += ["/META-INF/{AL2.0,LGPL2.1}"]
}
}
}

dependencies {
implementation "androidx.core:core-ktx:1.12.0"
implementation "androidx.appcompat:appcompat:1.6.1"
implementation "com.google.android.material:material:1.11.0"
implementation "org.msgpack:msgpack-core:0.9.8"
implementation "com.squareup.okhttp3:okhttp:4.12.0"
implementation "com.squareup.okhttp3:okhttp-ws:4.12.0"
implementation "androidx.security:security-crypto:1.1.0-alpha06"
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3"
}
1 change: 1 addition & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Intentionally minimal for initial production baseline.
65 changes: 65 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.SYSTEM_ALERT_WINDOW" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_SPECIAL_USE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PROJECTION" />

<queries>
<package android:name="com.termux" />
</queries>

<application
android:allowBackup="false"
android:icon="@drawable/ic_notification"
android:label="@string/app_name"
android:roundIcon="@drawable/ic_notification"
android:supportsRtl="true"
android:theme="@style/Theme.AppCompat.DayNight.NoActionBar">

<activity
android:name=".MainActivity"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<service
android:name=".NeroOverlayService"
android:enabled="true"
android:exported="false"
android:foregroundServiceType="specialUse">
<property
android:name="android.app.PROPERTY_SPECIAL_USE_FGS_SUBTYPE"
android:value="nero_overlay_assistant" />
</service>

<service
android:name=".ScreenCaptureService"
android:enabled="true"
android:exported="false"
android:foregroundServiceType="mediaProjection" />

<service
android:name=".NeroHealthJobService"
android:enabled="true"
android:exported="false"
android:permission="android.permission.BIND_JOB_SERVICE" />

<receiver
android:name=".TermuxRelayReceiver"
android:enabled="true"
android:exported="true">
<intent-filter>
<action android:name="com.termux.hermes.RELAY" />
</intent-filter>
</receiver>
</application>

</manifest>
Loading