fix version in AndroidManifest.xml

This commit is contained in:
Marco 2024-12-07 16:25:58 +01:00
parent c357fd3c91
commit c369ee7ae1

View File

@ -1,47 +1,51 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"> <manifest
<uses-permission android:name="android.permission.INTERNET"/> xmlns:android="http://schemas.android.com/apk/res/android"
<uses-permission android:name="android.permission.CAMERA" /> package="de.swgross.calorimeter"
<application android:versionCode="2001"
android:label="Calorimeter" android:versionName="1.0.0">
android:name="${applicationName}" <uses-permission android:name="android.permission.INTERNET"/>
android:icon="@mipmap/launcher_icon"> <uses-permission android:name="android.permission.CAMERA" />
<activity <application
android:name=".MainActivity" android:label="Calorimeter"
android:exported="true" android:name="${applicationName}"
android:launchMode="singleTop" android:icon="@mipmap/launcher_icon">
android:taskAffinity="" <activity
android:theme="@style/LaunchTheme" android:name=".MainActivity"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode" android:exported="true"
android:hardwareAccelerated="true" android:launchMode="singleTop"
android:windowSoftInputMode="adjustResize"> android:taskAffinity=""
<!-- Specifies an Android theme to apply to this Activity as soon as android:theme="@style/LaunchTheme"
the Android process has started. This theme is visible to the user android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
while the Flutter UI initializes. After that, this theme continues android:hardwareAccelerated="true"
to determine the Window background behind the Flutter UI. --> android:windowSoftInputMode="adjustResize">
<meta-data <!-- Specifies an Android theme to apply to this Activity as soon as
android:name="io.flutter.embedding.android.NormalTheme" the Android process has started. This theme is visible to the user
android:resource="@style/NormalTheme" while the Flutter UI initializes. After that, this theme continues
/> to determine the Window background behind the Flutter UI. -->
<intent-filter> <meta-data
<action android:name="android.intent.action.MAIN"/> android:name="io.flutter.embedding.android.NormalTheme"
<category android:name="android.intent.category.LAUNCHER"/> android:resource="@style/NormalTheme"
</intent-filter> />
</activity> <intent-filter>
<!-- Don't delete the meta-data below. <action android:name="android.intent.action.MAIN"/>
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java --> <category android:name="android.intent.category.LAUNCHER"/>
<meta-data </intent-filter>
android:name="flutterEmbedding" </activity>
android:value="2" /> <!-- Don't delete the meta-data below.
</application> This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<!-- Required to query activities that can process text, see: <meta-data
https://developer.android.com/training/package-visibility and android:name="flutterEmbedding"
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT. android:value="2" />
</application>
In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. --> <!-- Required to query activities that can process text, see:
<queries> https://developer.android.com/training/package-visibility and
<intent> https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/> In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
</intent> <queries>
</queries> <intent>
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/>
</intent>
</queries>
</manifest> </manifest>