Skip to content

Commit e0e51b1

Browse files
rajveermalviyagnprice
authored andcommitted
android: Switch app ID to that of the main app
On Android, switch to using "com.zulipmobile" as the application ID. But keep using "com.zulip.flutter" as the JVM package name for Java/Kotlin code. Updates: #1582
1 parent a4a96a1 commit e0e51b1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ android {
3838
}
3939

4040
defaultConfig {
41-
applicationId "com.zulip.flutter"
41+
applicationId "com.zulipmobile"
4242
minSdkVersion 28
4343
targetSdkVersion flutter.targetSdkVersion
4444
// These are synced to local.properties from pubspec.yaml by the flutter tool.

lib/model/store.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@ class LiveGlobalStore extends GlobalStore {
10781078
// What directory should we use?
10791079
// path_provider's getApplicationSupportDirectory:
10801080
// on Android, -> Flutter's PathUtils.getFilesDir -> https://developer.android.com/reference/android/content/Context#getFilesDir()
1081-
// -> empirically /data/data/com.zulip.flutter/files/
1081+
// -> empirically /data/data/com.zulipmobile/files/
10821082
// on iOS, -> "Library/Application Support" via https://developer.apple.com/documentation/foundation/nssearchpathdirectory/nsapplicationsupportdirectory
10831083
// on Linux, -> "${XDG_DATA_HOME:-~/.local/share}/com.zulip.flutter/"
10841084
// All seem reasonable.

lib/notifications/display.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class NotificationChannelManager {
5959
/// For example, for a resource `@raw/chime3`, where `raw` would be the
6060
/// resource type and `chime3` would be the resource name it generates the
6161
/// following URL:
62-
/// `android.resource://com.zulip.flutter/raw/chime3`
62+
/// `android.resource://com.zulipmobile/raw/chime3`
6363
///
6464
/// Based on: https://stackoverflow.com/a/38340580
6565
static Future<String> _resourceUrlFromName({

0 commit comments

Comments
 (0)