Skip to content
Merged
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
5 changes: 3 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,9 @@ android {
namespace "com.CodeBySonu.VoxSherpa"
minSdkVersion 30
targetSdkVersion 36
versionCode 12
versionName "3.0"
// Skipped version codes (13–21) due to technical restructuring.
versionCode 22
versionName "4.0"

// Single APK configuration supporting both 64-bit Mobile and 64-bit Emulator
ndk {
Expand Down
144 changes: 80 additions & 64 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,20 +1,25 @@
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.CodeBySonu.VoxSherpa">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE_MEDIA_PLAYBACK" />
<uses-permission android:name="android.permission.POST_NOTIFICATIONS" />
<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.FOREGROUND_SERVICE" />

<application
android:allowBackup="true" android:resizeableActivity="true"
android:allowBackup="true"
android:resizeableActivity="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:name=".SketchApplication"
android:requestLegacyExternalStorage="true"
android:theme="@style/AppTheme">

<activity
android:name=".MainActivity"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
Expand All @@ -23,34 +28,37 @@ android:allowBackup="true" android:resizeableActivity="true"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:label="VoxSherpa">
<action android:name="android.intent.action.PROCESS_TEXT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter android:label="VoxSherpa">
<action android:name="android.intent.action.PROCESS_TEXT" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android.intent.category.DEFAULT" />
<data android:mimeType="text/plain" />
</intent-filter>
</activity>

<activity
android:name=".TtssettingsActivity"
android:configChanges="orientation|screenSize|keyboardHidden|smallestScreenSize|screenLayout"
android:hardwareAccelerated="true"
android:supportsPictureInPicture="true"
android:exported="true">
<intent-filter>
<action android:name="android.speech.tts.engine.INSTALL_TTS_DATA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
android:supportsPictureInPicture="true"
android:exported="true">
<intent-filter>
<action android:name="android.speech.tts.engine.INSTALL_TTS_DATA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<activity
android:name=".DebugActivity"
android:screenOrientation="unspecified"
android:screenOrientation="unspecified"
android:theme="@style/AppTheme.DebugActivity" />

<provider
android:name="androidx.startup.InitializationProvider"
android:authorities="com.CodeBySonu.VoxSherpa.androidx-startup"
Expand All @@ -62,61 +70,69 @@ android:screenOrientation="unspecified"
android:name="androidx.emoji2.text.EmojiCompatInitializer"
android:value="androidx.startup" />
</provider>

<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />

<provider
android:name="com.google.firebase.provider.FirebaseInitProvider"
android:authorities="com.CodeBySonu.VoxSherpa.firebaseinitprovider"
android:exported="false"
android:initOrder="100" />

<service
android:name="com.google.firebase.components.ComponentDiscoveryService"
android:exported="false">
<meta-data
android:name="com.google.firebase.components:com.google.firebase.database.DatabaseRegistrar"
android:value="com.google.firebase.components.ComponentRegistrar" />
</service>
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.CodeBySonu.VoxSherpa.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>
<service
android:name=".system.VoxSherpaTtsService"
android:label="VoxSherpa TTS"
android:permission="android.permission.BIND_TEXT_TO_SPEECH_ENGINE"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.TTS_SERVICE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>

<meta-data
android:name="android.speech.tts"
android:resource="@xml/tts_engine" />
</service>
<property android:name="android.window.PROPERTY_COMPAT_ALLOW_ORIENTATION_OVERRIDE" android:value="true" />
<activity
android:name=".system.CheckTtsDataActivity"
android:exported="true"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
<action android:name="android.speech.tts.engine.CHECK_TTS_DATA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
<service
android:name=".system.VoxMediaService"
android:exported="false"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</service>
</application>
</manifest>

<provider
android:name="androidx.core.content.FileProvider"
android:authorities="com.CodeBySonu.VoxSherpa.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths" />
</provider>

<service
android:name=".system.VoxSherpaTtsService"
android:label="VoxSherpa TTS"
android:permission="android.permission.BIND_TEXT_TO_SPEECH_ENGINE"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.TTS_SERVICE" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
<meta-data
android:name="android.speech.tts"
android:resource="@xml/tts_engine" />
</service>

<property android:name="android.window.PROPERTY_COMPAT_ALLOW_ORIENTATION_OVERRIDE" android:value="true" />

<activity
android:name=".system.CheckTtsDataActivity"
android:exported="true"
android:theme="@android:style/Theme.NoDisplay">
<intent-filter>
<action android:name="android.speech.tts.engine.CHECK_TTS_DATA" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>

<service
android:name=".system.VoxMediaService"
android:exported="false"
android:foregroundServiceType="mediaPlayback">
<intent-filter>
<action android:name="android.intent.action.MEDIA_BUTTON" />
</intent-filter>
</service>

</application>
</manifest>
Loading
Loading