fix(app): use Pipelines as the installed display name

This commit is contained in:
2026-10-24 09:33:34 +01:00
parent 372af80b7b
commit f9dda00634
5 changed files with 44 additions and 8 deletions
+1 -1
View File
@@ -7,7 +7,7 @@
<!-- Explicit ws:// LAN/VPN profiles are supported; no automatic TLS
downgrade or discovery is performed. Settings warns about cleartext. -->
<application
android:label="Pipelines Next"
android:label="Pipelines"
android:name="${applicationName}"
android:usesCleartextTraffic="true"
android:icon="@mipmap/ic_launcher">
+2 -2
View File
@@ -20,7 +20,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleDisplayName</key>
<string>Pipelines App</string>
<string>Pipelines</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
@@ -28,7 +28,7 @@
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>pipelines_app</string>
<string>Pipelines</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
@@ -0,0 +1,36 @@
import 'dart:convert';
import 'dart:io';
import 'package:flutter_test/flutter_test.dart';
void main() {
test('installed Android, iOS and web display names are Pipelines', () {
final android = File(
'android/app/src/main/AndroidManifest.xml',
).readAsStringSync();
expect(android, contains('android:label="Pipelines"'));
final ios = File('ios/Runner/Info.plist').readAsStringSync();
for (final key in ['CFBundleDisplayName', 'CFBundleName']) {
expect(
RegExp('<key>$key</key>\\s*<string>Pipelines</string>').hasMatch(ios),
isTrue,
);
}
final web =
jsonDecode(File('web/manifest.json').readAsStringSync())
as Map<String, dynamic>;
expect(web['name'], 'Pipelines');
expect(web['short_name'], 'Pipelines');
final html = File('web/index.html').readAsStringSync();
expect(html, contains('<title>Pipelines</title>'));
expect(
html,
contains('name="apple-mobile-web-app-title" content="Pipelines"'),
);
// Display branding must not change the installed Android app's identity.
expect(
File('android/app/build.gradle.kts').readAsStringSync(),
contains('applicationId = "net.awan.pipelines.next"'),
);
});
}
+2 -2
View File
@@ -23,14 +23,14 @@
<!-- iOS meta tags & icons -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="pipelines_app">
<meta name="apple-mobile-web-app-title" content="Pipelines">
<link rel="apple-touch-icon" href="icons/Icon-192.png">
<!-- Favicon -->
<link rel="icon" type="image/svg+xml" href="favicon.svg"/>
<link rel="icon" type="image/png" href="favicon.png"/>
<title>pipelines_app</title>
<title>Pipelines</title>
<!-- The preview sits behind a login cookie; a manifest request carries no
cookies unless asked to, and is then refused with 401. -->
<link rel="manifest" href="manifest.json" crossorigin="use-credentials">
+3 -3
View File
@@ -1,11 +1,11 @@
{
"name": "pipelines_app",
"short_name": "pipelines_app",
"name": "Pipelines",
"short_name": "Pipelines",
"start_url": ".",
"display": "standalone",
"background_color": "#101013",
"theme_color": "#101013",
"description": "A new Flutter project.",
"description": "Pipelines workflows, runs, and chats.",
"orientation": "portrait-primary",
"prefer_related_applications": false,
"icons": [