Misc template var fixes for 0.27.0
This commit is contained in:
parent
a49c9f3d86
commit
9043b531ab
|
|
@ -5,20 +5,21 @@
|
|||
"project_name_slug": "",
|
||||
"project_description": "",
|
||||
"product_name": "{{ cookiecutter.project_name }}",
|
||||
"org_name": "{{ cookiecutter.org_name if 'org_name' in cookiecutter else cookiecutter.bundle_id.rsplit('.', 1)[0] if 'bundle_id' in cookiecutter else 'com.flet' }}",
|
||||
"org_name": "{{ cookiecutter.org_name if 'org_name' in cookiecutter else 'com.flet' }}",
|
||||
"company_name": "Your Company",
|
||||
"copyright": "Copyright (c) 2023 Your Company",
|
||||
"flutter": null,
|
||||
"sep": "/",
|
||||
"hide_loading_animation": true,
|
||||
"bundle_id": "{{ cookiecutter.bundle_id if 'bundle_id' in cookiecutter else cookiecutter.org_name + '.' + cookiecutter.project_name }}",
|
||||
"bundle_id": "{{ cookiecutter.bundle_id if 'bundle_id' in cookiecutter else cookiecutter.org_name + '.' + cookiecutter.project_name_slug }}",
|
||||
"org_name_2": "{{ cookiecutter.bundle_id.rsplit('.', 1)[0] if 'bundle_id' in cookiecutter else cookiecutter.org_name if 'org_name' in cookiecutter else 'com.flet' }}",
|
||||
"ios_provisioning_profile": "",
|
||||
"ios_export_method": "",
|
||||
"ios_signing_certificate": "",
|
||||
"ios_export_options": {},
|
||||
"ios_team_id": "",
|
||||
"package_name": "{{ cookiecutter.bundle_id.rsplit('.', 1)[-1].replace('-', '_') if 'bundle_id' in cookiecutter else cookiecutter.project_name }}",
|
||||
"kotlin_dir": "{{ cookiecutter.org_name.replace('.', cookiecutter.sep) }}{{ cookiecutter.sep }}{{ cookiecutter.package_name }}{{ cookiecutter.sep }}",
|
||||
"kotlin_dir": "{{ cookiecutter.org_name_2.replace('.', cookiecutter.sep) }}{{ cookiecutter.sep }}{{ cookiecutter.package_name }}{{ cookiecutter.sep }}",
|
||||
"base_url": "/",
|
||||
"route_url_strategy": "path",
|
||||
"web_renderer": "canvaskit",
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ if (flutterVersionName == null) {
|
|||
}
|
||||
|
||||
android {
|
||||
namespace "{{ cookiecutter.org_name }}.{{ cookiecutter.project_name }}"
|
||||
namespace "{{ cookiecutter.org_name_2 }}.{{ cookiecutter.package_name }}"
|
||||
compileSdkVersion flutter.compileSdkVersion
|
||||
|
||||
packagingOptions {
|
||||
|
|
@ -50,7 +50,7 @@ android {
|
|||
}
|
||||
|
||||
defaultConfig {
|
||||
applicationId "{{ cookiecutter.bundle_id }}"
|
||||
applicationId "{{ cookiecutter.org_name_2 }}.{{ cookiecutter.package_name }}"
|
||||
minSdkVersion flutter.minSdkVersion
|
||||
targetSdkVersion flutter.targetSdkVersion
|
||||
versionCode flutterVersionCode.toInteger()
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package {{ cookiecutter.org_name }}.{{ cookiecutter.package_name }}
|
||||
package {{ cookiecutter.org_name_2 }}.{{ cookiecutter.package_name }}
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue