Skip to content

Commit ed5ed16

Browse files
committed
build(android): update app configuration and naming
- Update namespace in build.gradle.kts - Update applicationId in build.gradle.kts - Update project_info in google-services.json - Update package name in AndroidManifest.xml - Update package name in MainActivity.kt - Adjust dynamic link domain in AndroidManifest.xml
1 parent 8bd68d8 commit ed5ed16

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

android/app/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ plugins {
99
}
1010

1111
android {
12-
namespace = "com.example.ht_main"
12+
namespace = "com.example.flutter_news_app_mobile_client_full_source_code"
1313
compileSdk = flutter.compileSdkVersion
1414
ndkVersion = "29.0.13113456"
1515

@@ -24,7 +24,7 @@ android {
2424

2525
defaultConfig {
2626
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
27-
applicationId = "com.example.ht_main"
27+
applicationId = "com.example.flutter_news_app_mobile_client_full_source_code"
2828
// You can update the following values to match your application needs.
2929
// For more information, see: https://flutter.dev/to/review-gradle-config.
3030
minSdk = 24

android/app/google-services.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"project_info": {
33
"project_number": "420644261437",
4-
"project_id": "headlines-toolkit",
5-
"storage_bucket": "headlines-toolkit.firebasestorage.app"
4+
"project_id": "flutter-news-app-full-source-code",
5+
"storage_bucket": "flutter-news-app-full-source-code.firebasestorage.app"
66
},
77
"client": [
88
{
99
"client_info": {
1010
"mobilesdk_app_id": "1:420644261437:android:3fa3052f883bf86958a454",
1111
"android_client_info": {
12-
"package_name": "com.example.ht_main"
12+
"package_name": "com.example.flutter_news_app_mobile_client_full_source_code"
1313
}
1414
},
1515
"oauth_client": [],

android/app/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
22
<application
3-
android:label="ht_main"
3+
android:label="flutter_news_app_mobile_client_full_source_code"
44
android:name="${applicationName}"
55
android:icon="@mipmap/launcher_icon">
66
<activity
@@ -30,7 +30,7 @@
3030
<category android:name="android.intent.category.DEFAULT"/>
3131
<category android:name="android.intent.category.BROWSABLE"/>
3232
<!-- Accepts URIs that begin with your dynamic link domain -->
33-
<data android:scheme="https" android:host="htmain.page.link" />
33+
<data android:scheme="https" android:host="flutter-news-app-full-source-code.page.link" />
3434
</intent-filter>
3535
</activity>
3636
<!-- Don't delete the meta-data below.

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

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

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

0 commit comments

Comments
 (0)