Commit 0ae17bc3 authored by Adam Barth's avatar Adam Barth

Add versionCode and versionName to default Android manifest

These are required to upload to the store.

Fixes #1006
parent cd96855e
......@@ -251,7 +251,9 @@ class FlutterDemoState extends State {
final String _apkManifest = '''
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.{{projectName}}">
package="com.example.{{projectName}}"
android:versionCode="1"
android:versionName="0.0.1">
<uses-sdk android:minSdkVersion="${android.minApiLevel}" android:targetSdkVersion="21" />
<uses-permission android:name="android.permission.INTERNET"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment