Skip to content

Commit 601cba2

Browse files
chore: update package name
1 parent 1485f4a commit 601cba2

File tree

8 files changed

+30
-45
lines changed

8 files changed

+30
-45
lines changed

.github/workflows/deployment.yaml

Lines changed: 14 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -54,17 +54,11 @@ jobs:
5454
id: deployment
5555
uses: actions/deploy-pages@v4
5656

57-
- name: Build Android APK
57+
- name: Build Android
5858
if: matrix.os == 'ubuntu-latest'
59-
run: flutter build apk --release
60-
61-
# - name: Build Linux
62-
# if: matrix.os == 'ubuntu-latest'
63-
# run: |
64-
# flutter config --enable-linux-desktop
65-
# flutter build linux --release
66-
# cd build/linux/x64/release/bundle
67-
# tar -czf ../../../../../linux-release.tar.gz .
59+
run: |
60+
flutter build apk --release
61+
flutter build appbundle --release
6862
6963
# - name: Build Windows
7064
# if: matrix.os == 'windows-latest'
@@ -102,7 +96,16 @@ jobs:
10296
asset_path: build/app/outputs/flutter-apk/app-release.apk
10397
asset_name: passbag-${{ steps.version.outputs.version }}.apk
10498
asset_content_type: application/vnd.android.package-archive
105-
99+
- name: Upload Android App Bundle
100+
if: matrix.os == 'ubuntu-latest'
101+
uses: actions/upload-release-asset@v1
102+
env:
103+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
104+
with:
105+
upload_url: ${{ steps.create_release.outputs.upload_url }}
106+
asset_path: build/app/outputs/bundle/release/app-release.aab
107+
asset_name: passbag-${{ steps.version.outputs.version }}.aab
108+
asset_content_type: application/octet-stream
106109
# - name: Upload Linux Build
107110
# if: matrix.os == 'ubuntu-latest'
108111
# uses: actions/upload-release-asset@v1
@@ -135,9 +138,3 @@ jobs:
135138
# asset_path: macos-release.zip
136139
# asset_name: app-${{ steps.version.outputs.version }}-macos.zip
137140
# asset_content_type: application/zip
138-
139-
- name: Deploy to Vercel
140-
if: matrix.os == 'ubuntu-latest'
141-
run: vercel --token ${{ secrets.VERCEL_TOKEN }}
142-
env:
143-
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}

android/app/build.gradle.kts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ plugins {
66
}
77

88
android {
9-
namespace = "com.example.passbag"
9+
namespace = "rw.ini.passbag"
1010
compileSdk = flutter.compileSdkVersion
1111
ndkVersion = flutter.ndkVersion
1212

@@ -21,7 +21,7 @@ android {
2121

2222
defaultConfig {
2323
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
24-
applicationId = "com.example.passbag"
24+
applicationId = "rw.ini.passbag"
2525
// You can update the following values to match your application needs.
2626
// For more information, see: https://flutter.dev/to/review-gradle-config.
2727
minSdk = flutter.minSdkVersion
@@ -34,7 +34,7 @@ android {
3434
release {
3535
// TODO: Add your own signing config for the release build.
3636
// Signing with the debug keys for now, so `flutter run --release` works.
37-
signingConfig = signingConfigs.getByName("debug")
37+
//signingConfig = signingConfigs.getByName("debug")
3838
}
3939
}
4040
}

android/app/src/main/kotlin/com/example/test/MainActivity.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.example.passbag
1+
package rw.ini.passbag
22

33
import io.flutter.embedding.android.FlutterActivity
44

ios/Runner.xcodeproj/project.pbxproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,7 @@
366366
"$(inherited)",
367367
"@executable_path/Frameworks",
368368
);
369-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag;
369+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag;
370370
PRODUCT_NAME = "$(TARGET_NAME)";
371371
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
372372
SWIFT_VERSION = 5.0;
@@ -383,7 +383,7 @@
383383
CURRENT_PROJECT_VERSION = 1;
384384
GENERATE_INFOPLIST_FILE = YES;
385385
MARKETING_VERSION = 1.0;
386-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag.RunnerTests;
386+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag.RunnerTests;
387387
PRODUCT_NAME = "$(TARGET_NAME)";
388388
SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
389389
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -401,7 +401,7 @@
401401
CURRENT_PROJECT_VERSION = 1;
402402
GENERATE_INFOPLIST_FILE = YES;
403403
MARKETING_VERSION = 1.0;
404-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag.RunnerTests;
404+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag.RunnerTests;
405405
PRODUCT_NAME = "$(TARGET_NAME)";
406406
SWIFT_VERSION = 5.0;
407407
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -417,7 +417,7 @@
417417
CURRENT_PROJECT_VERSION = 1;
418418
GENERATE_INFOPLIST_FILE = YES;
419419
MARKETING_VERSION = 1.0;
420-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag.RunnerTests;
420+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag.RunnerTests;
421421
PRODUCT_NAME = "$(TARGET_NAME)";
422422
SWIFT_VERSION = 5.0;
423423
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner";
@@ -544,7 +544,7 @@
544544
"$(inherited)",
545545
"@executable_path/Frameworks",
546546
);
547-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag;
547+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag;
548548
PRODUCT_NAME = "$(TARGET_NAME)";
549549
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
550550
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -566,7 +566,7 @@
566566
"$(inherited)",
567567
"@executable_path/Frameworks",
568568
);
569-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag;
569+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag;
570570
PRODUCT_NAME = "$(TARGET_NAME)";
571571
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
572572
SWIFT_VERSION = 5.0;

linux/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ project(runner LANGUAGES CXX)
77
set(BINARY_NAME "passbag")
88
# The unique GTK application identifier for this application. See:
99
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
10-
set(APPLICATION_ID "com.example.passbag")
10+
set(APPLICATION_ID "rw.ini.passbag")
1111

1212
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
1313
# versions of CMake.

macos/Runner.xcodeproj/project.pbxproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -478,7 +478,7 @@
478478
CURRENT_PROJECT_VERSION = 1;
479479
GENERATE_INFOPLIST_FILE = YES;
480480
MARKETING_VERSION = 1.0;
481-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag.RunnerTests;
481+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag.RunnerTests;
482482
PRODUCT_NAME = "$(TARGET_NAME)";
483483
SWIFT_VERSION = 5.0;
484484
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/passbag.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/passbag";
@@ -493,7 +493,7 @@
493493
CURRENT_PROJECT_VERSION = 1;
494494
GENERATE_INFOPLIST_FILE = YES;
495495
MARKETING_VERSION = 1.0;
496-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag.RunnerTests;
496+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag.RunnerTests;
497497
PRODUCT_NAME = "$(TARGET_NAME)";
498498
SWIFT_VERSION = 5.0;
499499
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/passbag.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/passbag";
@@ -508,7 +508,7 @@
508508
CURRENT_PROJECT_VERSION = 1;
509509
GENERATE_INFOPLIST_FILE = YES;
510510
MARKETING_VERSION = 1.0;
511-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag.RunnerTests;
511+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag.RunnerTests;
512512
PRODUCT_NAME = "$(TARGET_NAME)";
513513
SWIFT_VERSION = 5.0;
514514
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/passbag.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/passbag";

macos/Runner/Configs/AppInfo.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
PRODUCT_NAME = passbag
99

1010
// The application's bundle identifier
11-
PRODUCT_BUNDLE_IDENTIFIER = com.example.passbag
11+
PRODUCT_BUNDLE_IDENTIFIER = rw.ini.passbag
1212

1313
// The copyright displayed in application information
1414
PRODUCT_COPYRIGHT = Copyright © 2023 com.example. All rights reserved.

pubspec.yaml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,7 @@ description: An app that strengthen your password.
44
# pub.dev using `flutter pub publish`. This is preferred for private packages.
55
publish_to: "none" # Remove this line if you wish to publish to pub.dev
66

7-
# The following defines the version and build number for your application.
8-
# A version number is three numbers separated by dots, like 1.2.43
9-
# followed by an optional build number separated by a +.
10-
# Both the version and the builder number may be overridden in flutter
11-
# build by specifying --build-name and --build-number, respectively.
12-
# In Android, build-name is used as versionName while build-number used as versionCode.
13-
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
14-
# In iOS, build-name is used as CFBundleShortVersionString while build-number is used as CFBundleVersion.
15-
# Read more about iOS versioning at
16-
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
17-
# In Windows, build-name is used as the major, minor, and patch parts
18-
# of the product and file versions while build-number is used as the build suffix.
19-
version: 0.0.1+6
7+
version: 0.0.1+9
208

219
environment:
2210
sdk: ">=3.0.6 <4.0.0"

0 commit comments

Comments
 (0)