File tree 10 files changed +37
-12
lines changed
kotlin/com/example/fluttermint
10 files changed +37
-12
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,15 @@ flutter build ipa
44
44
45
45
Uploaded it using transport app.
46
46
47
+ # Play Store
48
+
49
+ ## App Bundle (recommended, but it seems more complex)
50
+
51
+ ```
52
+ flutter build appbundle
53
+ ```
54
+
55
+ Upload that to google play. [ Here] ( https://docs.flutter.dev/deployment/android#offline-using-the-bundle-tool ) are some docs about testing it locally.
47
56
48
57
# Contributing
49
58
Original file line number Diff line number Diff line change
1
+ // For Play Store uploads https://docs.flutter.dev/deployment/android#configure-signing-in-gradle
2
+ def keystoreProperties = new Properties ()
3
+ def keystorePropertiesFile = rootProject. file(' key.properties' )
4
+ if (keystorePropertiesFile. exists()) {
5
+ keystoreProperties. load(new FileInputStream (keystorePropertiesFile))
6
+ }
7
+
1
8
def localProperties = new Properties ()
2
9
def localPropertiesFile = rootProject. file(' local.properties' )
3
10
if (localPropertiesFile. exists()) {
@@ -45,19 +52,26 @@ android {
45
52
}
46
53
47
54
defaultConfig {
48
- applicationId " com.example .fluttermint"
55
+ applicationId " com.justinmoon .fluttermint"
49
56
// qr_code_scanner only works with v20
50
57
minSdkVersion 20
51
58
targetSdkVersion flutter. targetSdkVersion
52
59
versionCode flutterVersionCode. toInteger()
53
60
versionName flutterVersionName
54
61
}
55
62
63
+ signingConfigs {
64
+ release {
65
+ keyAlias keystoreProperties[' keyAlias' ]
66
+ keyPassword keystoreProperties[' keyPassword' ]
67
+ storeFile keystoreProperties[' storeFile' ] ? file(keystoreProperties[' storeFile' ]) : null
68
+ storePassword keystoreProperties[' storePassword' ]
69
+ }
70
+ }
71
+
56
72
buildTypes {
57
73
release {
58
- // TODO: Add your own signing config for the release build.
59
- // Signing with the debug keys for now, so `flutter run --release` works.
60
- signingConfig signingConfigs. debug
74
+ signingConfig signingConfigs. release
61
75
}
62
76
}
63
77
}
Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.example .fluttermint" >
2
+ package =" com.justinmoon .fluttermint" >
3
3
<!-- The INTERNET permission is required for development. Specifically,
4
4
the Flutter tool needs it to communicate with the running application
5
5
to allow setting breakpoints, to provide hot reload, etc.
Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.example .fluttermint" >
2
+ package =" com.justinmoon .fluttermint" >
3
3
<application
4
4
android : label =" fluttermint"
5
5
android : name =" ${applicationName}"
Original file line number Diff line number Diff line change 1
- package com.example .fluttermint
1
+ package com.justinmoon .fluttermint
2
2
3
3
import io.flutter.embedding.android.FlutterActivity
4
4
Original file line number Diff line number Diff line change 1
1
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
2
- package =" com.example .fluttermint" >
2
+ package =" com.justinmoon .fluttermint" >
3
3
<!-- The INTERNET permission is required for development. Specifically,
4
4
the Flutter tool needs it to communicate with the running application
5
5
to allow setting breakpoints, to provide hot reload, etc.
Original file line number Diff line number Diff line change 1
1
org.gradle.jvmargs =-Xmx1536M
2
2
android.useAndroidX =true
3
3
android.enableJetifier =true
4
+ # https://docs.flutter.dev/deployment/android#building-the-app-for-release
5
+ android.bundle.enableUncompressedNativeLibs =false
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ project(runner LANGUAGES CXX)
7
7
set (BINARY_NAME "fluttermint" )
8
8
# The unique GTK application identifier for this application. See:
9
9
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
10
- set (APPLICATION_ID "com.example .fluttermint" )
10
+ set (APPLICATION_ID "com.justinmoon .fluttermint" )
11
11
12
12
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
13
13
# versions of CMake.
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ pub fn init(path: String) -> Result<bool> {
43
43
#[ cfg( target_os = "android" ) ]
44
44
tracing_subscriber:: registry ( )
45
45
. with (
46
- paranoid_android:: layer ( "com.example.flutter_rust_bridge_template " )
46
+ paranoid_android:: layer ( "com.justinmoon.fluttermint " )
47
47
. with_filter ( tracing_subscriber:: filter:: LevelFilter :: INFO ) ,
48
48
)
49
49
. try_init ( )
@@ -55,7 +55,7 @@ pub fn init(path: String) -> Result<bool> {
55
55
tracing_subscriber:: registry ( )
56
56
. with (
57
57
tracing_oslog:: OsLogger :: new (
58
- "com.example.flutter_rust_bridge_template " ,
58
+ "com.justinmoon.fluttermint " ,
59
59
"INFO" , // I don't know what this does ...
60
60
)
61
61
. with_filter ( tracing_subscriber:: filter:: LevelFilter :: INFO ) ,
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev
15
15
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
16
16
# Read more about iOS versioning at
17
17
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
18
- version : 0.0.5
18
+ version : 0.0.5+2
19
19
20
20
environment :
21
21
sdk : " >=2.17.1 <3.0.0"
You can’t perform that action at this time.
0 commit comments