# Android Diff ```git= diff --git a/app/build.gradle b/app/build.gradle index 8433254f..780d78a7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -49,7 +49,7 @@ android { } defaultConfig { minSdkVersion 26 - targetSdkVersion 30 + targetSdkVersion 31 // multiDexEnabled true testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner' testInstrumentationRunner "tw.com.skywatch.view.CustomTestRunner" @@ -80,7 +80,7 @@ android { productFlavors { skywatch { applicationId = "tw.com.skywatch.view" - manifestPlaceholders = [APP_NAME: "Skywatch", VERSION_NAME: "6.3.13", VERSION_CODE: "315", APP_ICON: "@drawable/icon", APP_LINK_SCHEMA: "skywatch"] + manifestPlaceholders = [APP_NAME: "Skywatch", VERSION_NAME: "6.3.13", VERSION_CODE: "317", APP_ICON: "@drawable/icon", APP_LINK_SCHEMA: "skywatch"] buildConfigField "boolean", "IS_SKS", "false" buildConfigField 'String', 'SERVICE_ROOT', '"https://service.skywatch24.com"' buildConfigField 'String', 'BETA_ROOT', '"https://beta.skywatch24.com"' @@ -92,7 +92,7 @@ android { } skywatch_beta { applicationId = "tw.com.skywatch.view.beta" - manifestPlaceholders = [APP_NAME: "SkywatchBeta", VERSION_NAME: "6.3.13", VERSION_CODE: "315", APP_ICON: "@drawable/ic_beta", APP_LINK_SCHEMA: "skywatch"] + manifestPlaceholders = [APP_NAME: "SkywatchBeta", VERSION_NAME: "6.3.13", VERSION_CODE: "317", APP_ICON: "@drawable/ic_beta", APP_LINK_SCHEMA: "skywatch"] buildConfigField "boolean", "IS_SKS", "false" buildConfigField 'String', 'SERVICE_ROOT', '"https://service.skywatch24.com"' buildConfigField 'String', 'BETA_ROOT', '"https://beta.skywatch24.com"' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index d6671a9c..b1dd629e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -74,7 +74,8 @@ <activity android:name=".LoginActivity" android:screenOrientation="portrait" - android:theme="@style/AppTheme.NoActionBar"> + android:theme="@style/AppTheme.NoActionBar" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.MAIN" /> @@ -151,12 +152,14 @@ <receiver android:name=".ConnectionChangeReceiver" - android:label="NetworkConnection"> + android:label="NetworkConnection" + android:exported="true"> <intent-filter> <action android:name="android.net.conn.CONNECTIVITY_CHANGE" /> </intent-filter> </receiver> - <receiver android:name=".BootReceiver"> + <receiver android:name=".BootReceiver" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.BOOT_COMPLETED" /> </intent-filter> @@ -171,7 +174,8 @@ android:screenOrientation="portrait" /> <activity android:name=".SmartDailyActivity" - android:screenOrientation="landscape"> + android:screenOrientation="landscape" + android:exported="true"> <intent-filter> <action android:name="android.intent.action.VIEW" /> ```