{"action":"opened","issue":{"url":"https://api.github.com/repos/flutter/flutter/issues/24901","repository_url":"https://api.github.com/repos/flutter/flutter","labels_url":"https://api.github.com/repos/flutter/flutter/issues/24901/labels{/name}","comments_url":"https://api.github.com/repos/flutter/flutter/issues/24901/comments","events_url":"https://api.github.com/repos/flutter/flutter/issues/24901/events","html_url":"https://github.com/flutter/flutter/issues/24901","id":386480503,"node_id":"MDU6SXNzdWUzODY0ODA1MDM=","number":24901,"title":"Additional settings periodically disappear in AndroidManifest.xml","user":{"login":"micrcx","id":1311649,"node_id":"MDQ6VXNlcjEzMTE2NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1311649?v=4","gravatar_id":"","url":"https://api.github.com/users/micrcx","html_url":"https://github.com/micrcx","followers_url":"https://api.github.com/users/micrcx/followers","following_url":"https://api.github.com/users/micrcx/following{/other_user}","gists_url":"https://api.github.com/users/micrcx/gists{/gist_id}","starred_url":"https://api.github.com/users/micrcx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/micrcx/subscriptions","organizations_url":"https://api.github.com/users/micrcx/orgs","repos_url":"https://api.github.com/users/micrcx/repos","events_url":"https://api.github.com/users/micrcx/events{/privacy}","received_events_url":"https://api.github.com/users/micrcx/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-01T17:50:06Z","updated_at":"2018-12-01T17:50:06Z","closed_at":null,"author_association":"NONE","body":"The latest updates of the flutter or plugin of flutter are accompanied by a strange effect: in Android Studio, additional settings periodically disappear in AndroidManifest.xml. They are replaced by the standard ones:\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<manifest xmlns:android=\"http://schemas.android.com/apk/res/android\"\r\n          package=\"com.michael.hsmxeditor.host\">\r\n\r\n    <!-- The INTERNET permission is required for development. Specifically,\r\n         flutter needs it to communicate with the running application\r\n         to allow setting breakpoints, to provide hot reload, etc.\r\n    -->\r\n    <uses-permission android:name=\"android.permission.INTERNET\"/>\r\n    <uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>\r\n    <uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\"/>\r\n\r\n    <!-- io.flutter.app.FlutterApplication is an android.app.Application that\r\n         calls FlutterMain.startInitialization(this); in its onCreate method.\r\n         In most cases you can leave this as-is, but you if you want to provide\r\n         additional functionality it is fine to subclass or reimplement\r\n         FlutterApplication and put your custom class here. -->\r\n    <application\r\n        android:name=\"io.flutter.app.FlutterApplication\"\r\n        android:label=\"hsm_x_editor\"\r\n        android:icon=\"@mipmap/flow\">\r\n        <activity\r\n            android:name=\".MainActivity\"\r\n            android:launchMode=\"singleTop\"\r\n            android:theme=\"@style/LaunchTheme\"\r\n            android:configChanges=\"orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density\"\r\n            android:hardwareAccelerated=\"true\"\r\n            android:windowSoftInputMode=\"adjustResize\">\r\n            <!-- This keeps the window background of the activity showing\r\n                 until Flutter renders its first frame. It can be removed if\r\n                 there is no splash screen (such as the default splash screen\r\n                 defined in @style/LaunchTheme). -->\r\n            <meta-data\r\n                android:name=\"io.flutter.app.android.SplashScreenUntilFirstFrame\"\r\n                android:value=\"true\" />\r\n            <intent-filter>\r\n                <action android:name=\"android.intent.action.MAIN\"/>\r\n                <category android:name=\"android.intent.category.LAUNCHER\"/>\r\n            </intent-filter>\r\n        </activity>\r\n    </application>\r\n</manifest>\r\n\r\n```\r\nLines disappear:\r\n```\r\n    <uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>\r\n    <uses-permission android:name=\"android.permission.READ_EXTERNAL_STORAGE\"/>\r\n\r\n```\r\nand string\r\n`android:icon=\"@mipmap/flow\">`\r\nreplaced by\r\n`android:icon=\"@mipmap/ic_launcher\">`\r\n\r\nJust in case:\r\n\r\n```\r\n/home/micrcx/flutter/bin/flutter --no-color doctor\r\nDoctor summary (to see all details, run flutter doctor -v):\r\n[✓] Flutter (Channel beta, v0.11.13, on Linux, locale en_US.UTF-8)\r\n[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)\r\n[✓] Android Studio (version 3.2)\r\n[✓] IntelliJ IDEA Community Edition (version 2018.3)\r\n[✓] VS Code (version 1.29.1)\r\n[✓] Connected device (1 available)\r\n\r\n• No issues found!\r\nProcess finished with exit code 0\r\n\r\n```"}}
{"actor":{"display_login":"micrcx"}}