diff --git a/Covid19Radar/Covid19Radar.Android/Covid19Radar.Android.csproj b/Covid19Radar/Covid19Radar.Android/Covid19Radar.Android.csproj index 214f1fa36..9563eb51c 100644 --- a/Covid19Radar/Covid19Radar.Android/Covid19Radar.Android.csproj +++ b/Covid19Radar/Covid19Radar.Android/Covid19Radar.Android.csproj @@ -49,6 +49,7 @@ true true d8 + default false @@ -72,6 +73,8 @@ d8 true true + Xamarin.Android.Net.AndroidClientHandler + default true @@ -80,7 +83,7 @@ full AnyCPU Off - 8.0 + default prompt MinimumRecommendedRules.ruleset apk @@ -94,8 +97,7 @@ false false CJK - - + Xamarin.Android.Net.AndroidClientHandler d8 true @@ -106,7 +108,7 @@ full AnyCPU Off - 8.0 + default prompt MinimumRecommendedRules.ruleset true @@ -115,6 +117,7 @@ apk true CJK + Xamarin.Android.Net.AndroidClientHandler @@ -176,7 +179,7 @@ 4.6.0.967 - 18.0.2-eap.6 + 19.7.1-eap.1 117.0.0-preview03 diff --git a/Covid19Radar/Covid19Radar.Android/Resources/xml/backup_settings.xml b/Covid19Radar/Covid19Radar.Android/Resources/xml/backup_settings.xml index ea5829fb1..b70ecc024 100644 --- a/Covid19Radar/Covid19Radar.Android/Resources/xml/backup_settings.xml +++ b/Covid19Radar/Covid19Radar.Android/Resources/xml/backup_settings.xml @@ -5,4 +5,4 @@ - \ No newline at end of file + diff --git a/Covid19Radar/Covid19Radar.Android/appcenter-pre-build.sh b/Covid19Radar/Covid19Radar.Android/appcenter-pre-build.sh index e120e9420..5ad9f680b 100644 --- a/Covid19Radar/Covid19Radar.Android/appcenter-pre-build.sh +++ b/Covid19Radar/Covid19Radar.Android/appcenter-pre-build.sh @@ -32,9 +32,3 @@ sed -i '' "s/LOG_STORAGE_ACCOUNT_NAME/$LOG_STORAGE_ACCOUNT_NAME/g" $APP_CONSTANT cat $APP_CONSTANT_FILE echo "Updated id!" - -# To avoid the following -# https://github.com/xamarin/xamarin-android/issues/5499 -${ANDROID_HOME}/tools/bin/sdkmanager --uninstall "ndk-bundle" -${ANDROID_HOME}/tools/bin/sdkmanager --install "ndk;21.3.6528147" -ln -s ${ANDROID_HOME}/ndk/21.3.6528147 ${ANDROID_HOME}/ndk-bundle \ No newline at end of file diff --git a/Covid19Radar/Covid19Radar.iOS/AppDelegate.cs b/Covid19Radar/Covid19Radar.iOS/AppDelegate.cs index 434a87efd..a0b642847 100644 --- a/Covid19Radar/Covid19Radar.iOS/AppDelegate.cs +++ b/Covid19Radar/Covid19Radar.iOS/AppDelegate.cs @@ -2,6 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ +using Covid19Radar.Common; using Covid19Radar.iOS.Services; using Covid19Radar.iOS.Services.Logs; using Covid19Radar.Services; @@ -9,11 +10,12 @@ using DryIoc; using Foundation; using UIKit; +using Xamarin.Forms; namespace Covid19Radar.iOS { - // The UIApplicationDelegate for the application. This class is responsible for launching the - // User Interface of the application, as well as listening (and optionally responding) to + // The UIApplicationDelegate for the application. This class is responsible for launching the + // User Interface of the application, as well as listening (and optionally responding) to // application events from iOS. [Register("AppDelegate")] public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsApplicationDelegate @@ -24,7 +26,7 @@ public AppDelegate() } // - // This method is invoked when the application has loaded and is ready to run. In this + // This method is invoked when the application has loaded and is ready to run. In this // method you should instantiate the window, load the UI into it and then make the window // visible. // @@ -56,6 +58,12 @@ public override bool FinishedLaunching(UIApplication app, NSDictionary options) return base.FinishedLaunching(app, options); } + public override void OnActivated(UIApplication uiApplication) + { + base.OnActivated(uiApplication); + MessagingCenter.Send((object)this, AppConstants.IosOnActivatedMessage); + } + //public override void WillEnterForeground(UIApplication uiApplication) //{ // Plugin.LocalNotification.NotificationCenter.ResetApplicationIconBadgeNumber(uiApplication); diff --git a/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj b/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj index 5b06b1724..30a4d35aa 100644 --- a/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj +++ b/Covid19Radar/Covid19Radar.iOS/Covid19Radar.iOS.csproj @@ -1175,8 +1175,6 @@ - - diff --git a/Covid19Radar/Covid19Radar.iOS/NotoSansCJKjp-Medium.otf b/Covid19Radar/Covid19Radar.iOS/NotoSansCJKjp-Medium.otf deleted file mode 100644 index 9b3358680..000000000 Binary files a/Covid19Radar/Covid19Radar.iOS/NotoSansCJKjp-Medium.otf and /dev/null differ diff --git a/Covid19Radar/Covid19Radar.iOS/NotoSansCJKjp-Regular.otf b/Covid19Radar/Covid19Radar.iOS/NotoSansCJKjp-Regular.otf deleted file mode 100644 index 296fbebd8..000000000 Binary files a/Covid19Radar/Covid19Radar.iOS/NotoSansCJKjp-Regular.otf and /dev/null differ diff --git a/Covid19Radar/Covid19Radar/App.xaml b/Covid19Radar/Covid19Radar/App.xaml index c3f7fbfb1..b14de6c32 100644 --- a/Covid19Radar/Covid19Radar/App.xaml +++ b/Covid19Radar/Covid19Radar/App.xaml @@ -128,7 +128,6 @@ @@ -222,7 +212,6 @@ - @@ -231,7 +220,6 @@ - @@ -359,7 +341,6 @@ - @@ -367,7 +348,6 @@ -