Skip to content

Commit

Permalink
Update application ids + append debug
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Ray committed Dec 2, 2024
1 parent ffb9b1e commit 89fd4cb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 6 deletions.
9 changes: 7 additions & 2 deletions app/android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

android {
namespace = "com.gray.pikatorrent.pikatorrent"
namespace = "com.gray.pikatorrent"
compileSdk = flutter.compileSdkVersion
ndkVersion = "25.1.8937393" //flutter.ndkVersion

Expand All @@ -22,7 +22,7 @@ android {

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId = "com.gray.pikatorrent.pikatorrent"
applicationId = "com.gray.pikatorrent"
// You can update the following values to match your application needs.
// For more information, see: https://flutter.dev/to/review-gradle-config.
minSdk = 26
Expand All @@ -37,6 +37,11 @@ android {
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig = signingConfigs.debug
}

debug {
applicationIdSuffix ".debug"
debuggable true
}
}
}

Expand Down
9 changes: 7 additions & 2 deletions app/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.INTERNET" />

<application
android:label="PikaTorrent (Debug)"
tools:replace="label" />
</manifest>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.gray.pikatorrent.pikatorrent
package com.gray.pikatorrent

import android.os.Bundle
import io.flutter.embedding.android.FlutterActivity
Expand Down
2 changes: 1 addition & 1 deletion app/linux/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ project(runner LANGUAGES CXX)
set(BINARY_NAME "pikatorrent")
# The unique GTK application identifier for this application. See:
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
set(APPLICATION_ID "com.gray.pikatorrent.pikatorrent")
set(APPLICATION_ID "com.pikatorrent.PikaTorrent")

# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
# versions of CMake.
Expand Down

0 comments on commit 89fd4cb

Please sign in to comment.