build: generate_template script + workflow (#11)

This commit is contained in:
Felix Angelov
2022-04-08 17:05:06 -05:00
committed by GitHub
parent 6791e7e613
commit b6e0a6e7c9
15 changed files with 435 additions and 9 deletions

View File

@@ -43,7 +43,7 @@ android {
defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "dev.flutter.plugins.example"
applicationId "com.example.my_plugin.example"
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.flutter.plugins.example">
package="com.example.my_plugin.example">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.flutter.plugins.example">
package="com.example.my_plugin.example">
<application
android:label="example"
android:name="${applicationName}"

View File

@@ -1,4 +1,4 @@
package dev.flutter.plugins.example
package com.example.my_plugin.example
import io.flutter.embedding.android.FlutterActivity

View File

@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="dev.flutter.plugins.example">
package="com.example.my_plugin">
<!-- Flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->

View File

@@ -363,7 +363,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.example;
PRODUCT_BUNDLE_IDENTIFIER = com.example.my_plugin;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;
@@ -492,7 +492,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.example;
PRODUCT_BUNDLE_IDENTIFIER = com.example.my_plugin;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@@ -515,7 +515,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.example;
PRODUCT_BUNDLE_IDENTIFIER = com.example.my_plugin;
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
SWIFT_VERSION = 5.0;

View File

@@ -8,7 +8,7 @@
PRODUCT_NAME = example
// The application's bundle identifier
PRODUCT_BUNDLE_IDENTIFIER = dev.flutter.plugins.example
PRODUCT_BUNDLE_IDENTIFIER = com.example.my_plugin
// The copyright displayed in application information
PRODUCT_COPYRIGHT = Copyright © 2022 dev.flutter.plugins. All rights reserved.