mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-26 06:11:19 +00:00
c7ff674a11
App was rejected because of banner not filling the full page. I already pushed these changes to the play store (via the release branch) to iterate on play reviews. This was likely accepted, as the tv banner rejection went away and now we are back to all file permission rejection. "Likely" because it's not unimaginable that they are just randomly ping-ponging between the two rejections. Looks like our previous banner is not compliant with any standards that ever existed. Ok maybe it did, definitely not now. Also it looks weird - what's that background? Use the adaptive icon guideline, created from the horizontal logo in the main repo assets. Sizing is hopefully right, it took a bunch of trial and error and ugly hacks to get there. Worst case the TV app launcher thing will look off. https://developer.android.com/design/ui/tv/guides/system/tv-app-icon-guidelines#adaptive-banner
178 lines
8.8 KiB
XML
178 lines
8.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
package="com.nutomic.syncthingandroid">
|
|
|
|
<uses-feature android:name="android.software.leanback" android:required="false" />
|
|
<uses-feature android:name="android.hardware.touchscreen" android:required="false" />
|
|
<uses-feature android:name="android.hardware.location.gps" android:required="false" />
|
|
|
|
<uses-permission android:name="android.permission.POST_NOTIFICATIONS"/>
|
|
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
|
|
<uses-permission android:name="android.permission.INTERNET" />
|
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
|
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
|
|
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
|
|
<uses-permission android:name="android.permission.WAKE_LOCK" />
|
|
<uses-permission android:name="android.permission.READ_SYNC_SETTINGS" />
|
|
<uses-permission android:name="android.permission.REQUEST_IGNORE_BATTERY_OPTIMIZATIONS"/>
|
|
<!-- ACCESS_COARSE_LOCATION is required to get WiFi's SSID on 8.1 -->
|
|
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
|
|
<!-- FOREGROUND_SERVICE is required to create a foreground service on 9 -->
|
|
<uses-permission android:name="android.permission.FOREGROUND_SERVICE"/>
|
|
<!-- ACCESS_FINE_LOCATION is required to get WiFi's SSID on 10 "Q" -->
|
|
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
|
|
<!-- ACCESS_BACKGROUND_LOCATION is required to get WiFi's SSID on 10 "Q" -->
|
|
<uses-permission android:name="android.permission.ACCESS_BACKGROUND_LOCATION" />
|
|
<!-- CAMERA is required for the QR Code Scanner -->
|
|
<uses-permission android:name="android.permission.CAMERA" />
|
|
<!-- MANAGE_EXTERNAL_STORAGE is required on Android 11 "R" -->
|
|
<uses-permission android:name="android.permission.MANAGE_EXTERNAL_STORAGE" />
|
|
|
|
<uses-sdk tools:overrideLibrary="com.google.zxing.client.android" />
|
|
|
|
<application
|
|
android:allowBackup="false"
|
|
android:fullBackupContent="false"
|
|
android:icon="@mipmap/ic_launcher"
|
|
android:banner="@mipmap/ic_banner"
|
|
android:label="@string/app_name"
|
|
android:theme="@style/Theme.Syncthing"
|
|
android:description="@string/app_description"
|
|
android:supportsRtl="true"
|
|
android:installLocation="internalOnly"
|
|
android:requestLegacyExternalStorage="true"
|
|
android:name=".SyncthingApp">
|
|
<activity
|
|
android:name=".activities.FirstStartActivity"
|
|
android:label="@string/app_name"
|
|
android:launchMode="singleTask"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LAUNCHER" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.MAIN" />
|
|
<category android:name="android.intent.category.LEANBACK_LAUNCHER" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.MainActivity"
|
|
android:label="@string/app_name"
|
|
android:launchMode="singleTask">
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.WebGuiActivity"
|
|
android:label="@string/web_gui_title"
|
|
android:parentActivityName=".activities.MainActivity"
|
|
android:configChanges="keyboardHidden|orientation|screenSize">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.MainActivity" />
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.ShareActivity"
|
|
android:label="@string/share_activity_title"
|
|
android:excludeFromRecents="true"
|
|
android:taskAffinity=""
|
|
android:windowSoftInputMode="adjustResize"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.SEND_MULTIPLE" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
<data android:mimeType="*/*" />
|
|
</intent-filter>
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.LogActivity"
|
|
android:parentActivityName=".activities.SettingsActivity"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name=".activities.LogActivity" />
|
|
<category android:name="android.intent.category.DEFAULT" />
|
|
</intent-filter>
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.SettingsActivity" />
|
|
</activity>
|
|
<activity
|
|
android:name=".activities.FolderPickerActivity"
|
|
android:label="@string/folder_picker_title">
|
|
<meta-data
|
|
android:name="android.support.UI_OPTIONS"
|
|
android:value="splitActionBarWhenNarrow" />
|
|
</activity>
|
|
<activity android:name=".activities.DeviceActivity"
|
|
android:parentActivityName=".activities.MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.MainActivity" />
|
|
</activity>
|
|
<activity android:name=".activities.FolderActivity"
|
|
android:parentActivityName=".activities.MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.MainActivity" />
|
|
</activity>
|
|
<activity android:name=".activities.SettingsActivity"
|
|
android:parentActivityName=".activities.MainActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value=".activities.MainActivity" />
|
|
</activity>
|
|
<service android:name=".service.SyncthingService" />
|
|
<receiver android:name=".receiver.BootReceiver"
|
|
android:exported="false">
|
|
<intent-filter>
|
|
<action android:name="android.intent.action.BOOT_COMPLETED" />
|
|
<action android:name="android.intent.action.MY_PACKAGE_REPLACED" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<receiver android:name=".receiver.AppConfigReceiver"
|
|
tools:ignore="ExportedReceiver"
|
|
android:exported="true">
|
|
<intent-filter>
|
|
<action android:name="com.nutomic.syncthingandroid.action.START" />
|
|
<action android:name="com.nutomic.syncthingandroid.action.STOP" />
|
|
</intent-filter>
|
|
</receiver>
|
|
<activity android:name=".activities.FolderTypeDialogActivity"
|
|
android:label="@string/folder_type"
|
|
android:theme="@style/Theme.Syncthing.Dialog"
|
|
android:parentActivityName=".activities.FolderActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="com.nutomic.syncthingandroid.activities.FolderActivity" />
|
|
</activity>
|
|
<activity android:name=".activities.PullOrderDialogActivity"
|
|
android:label="@string/pull_order"
|
|
android:theme="@style/Theme.Syncthing.Dialog"
|
|
android:parentActivityName=".activities.FolderActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="com.nutomic.syncthingandroid.activities.FolderActivity" />
|
|
</activity>
|
|
<activity android:name=".activities.VersioningDialogActivity"
|
|
android:label="@string/file_versioning"
|
|
android:theme="@style/Theme.Syncthing.Dialog"
|
|
android:parentActivityName=".activities.FolderActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="com.nutomic.syncthingandroid.activities.FolderActivity" />
|
|
</activity>
|
|
<activity android:name=".activities.QRScannerActivity"
|
|
android:label="QR Code Scanner"
|
|
android:parentActivityName=".activities.DeviceActivity">
|
|
<meta-data
|
|
android:name="android.support.PARENT_ACTIVITY"
|
|
android:value="com.nutomic.syncthingandroid.activities.DeviceActivity" />
|
|
</activity>
|
|
</application>
|
|
|
|
</manifest>
|