diff --git a/LastenradBayern/TINK.Android/Properties/AndroidManifest.xml b/LastenradBayern/TINK.Android/Properties/AndroidManifest.xml index 8c64efb..6ecb43c 100644 --- a/LastenradBayern/TINK.Android/Properties/AndroidManifest.xml +++ b/LastenradBayern/TINK.Android/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@  - + diff --git a/LastenradBayern/TINK.iOS/AppDelegate.cs b/LastenradBayern/TINK.iOS/AppDelegate.cs index a9018db..eccbce9 100644 --- a/LastenradBayern/TINK.iOS/AppDelegate.cs +++ b/LastenradBayern/TINK.iOS/AppDelegate.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -using Foundation; +using Foundation; using UIKit; using Xamarin.Forms; diff --git a/LastenradBayern/TINK.iOS/Info.plist b/LastenradBayern/TINK.iOS/Info.plist index ff4d181..a0faee4 100644 --- a/LastenradBayern/TINK.iOS/Info.plist +++ b/LastenradBayern/TINK.iOS/Info.plist @@ -48,9 +48,9 @@ com.TeilRad.LastenradBayern CFBundleDisplayName LastenradBayern - CFBundleVersion.? - 260 + CFBundleVersion + 261 CFBundleShortVersionString - 3.0.259 + 3.0.261 diff --git a/LastenradBayern/TINK.iOS/Resources/Icon-60@3x.png b/LastenradBayern/TINK.iOS/Resources/Icon-60@3x.png index 8ce0bba..1d650a4 100644 Binary files a/LastenradBayern/TINK.iOS/Resources/Icon-60@3x.png and b/LastenradBayern/TINK.iOS/Resources/Icon-60@3x.png differ diff --git a/LastenradBayern/TINK.iOS/Resources/LaunchScreen.storyboard b/LastenradBayern/TINK.iOS/Resources/LaunchScreen.storyboard index 60a5305..454fa2f 100644 --- a/LastenradBayern/TINK.iOS/Resources/LaunchScreen.storyboard +++ b/LastenradBayern/TINK.iOS/Resources/LaunchScreen.storyboard @@ -21,7 +21,8 @@ - + + diff --git a/LastenradBayern/TINK/App.xaml.cs b/LastenradBayern/TINK/App.xaml.cs index 5518f4b..c53dd3f 100644 --- a/LastenradBayern/TINK/App.xaml.cs +++ b/LastenradBayern/TINK/App.xaml.cs @@ -94,6 +94,7 @@ namespace TINK JsonSettingsDictionary.GetConnectTimeout(settingsJSON), JsonSettingsDictionary.GetActiveGeolocationService(settingsJSON), JsonSettingsDictionary.GetCenterMapToCurrentLocation(settingsJSON), + Xamarin.Forms.GoogleMaps.MapSpan.FromCenterAndRadius(new Xamarin.Forms.GoogleMaps.Position(49.30881083492271, 11.358449625922889), Xamarin.Forms.GoogleMaps.Distance.FromKilometers(2.9)), JsonSettingsDictionary.GetLogToExternalFolder(settingsJSON), JsonSettingsDictionary.GetIsSiteCachingOn(settingsJSON), JsonSettingsDictionary.GetActiveTheme(settingsJSON) ?? typeof(Themes.LastenradBayern).FullName); diff --git a/LastenradBayern/TINK/View/Map/MapPage.xaml.cs b/LastenradBayern/TINK/View/Map/MapPage.xaml.cs index f8907a1..5c336a3 100644 --- a/LastenradBayern/TINK/View/Map/MapPage.xaml.cs +++ b/LastenradBayern/TINK/View/Map/MapPage.xaml.cs @@ -204,8 +204,7 @@ namespace TINK.View.Map Log.ForContext().Verbose("Moving and scaling map."); MapPageViewModel.MoveAndScale( (mapSpan) => MyMap.MoveToRegion(mapSpan), - App.ModelRoot.Uris.ActiveUri, - App.ModelRoot.GroupFilterMapPage); + App.ModelRoot.MapSpan); } catch(Exception exception) { diff --git a/Meinkonrad/TINK.Android/Properties/AndroidManifest.xml b/Meinkonrad/TINK.Android/Properties/AndroidManifest.xml index cf166cc..87e0b19 100644 --- a/Meinkonrad/TINK.Android/Properties/AndroidManifest.xml +++ b/Meinkonrad/TINK.Android/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@  - + diff --git a/Meinkonrad/TINK.iOS/AppDelegate.cs b/Meinkonrad/TINK.iOS/AppDelegate.cs index a9018db..eccbce9 100644 --- a/Meinkonrad/TINK.iOS/AppDelegate.cs +++ b/Meinkonrad/TINK.iOS/AppDelegate.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -using Foundation; +using Foundation; using UIKit; using Xamarin.Forms; diff --git a/Meinkonrad/TINK.iOS/Info.plist b/Meinkonrad/TINK.iOS/Info.plist index b50f852..8146365 100644 --- a/Meinkonrad/TINK.iOS/Info.plist +++ b/Meinkonrad/TINK.iOS/Info.plist @@ -29,7 +29,7 @@ XSLaunchImageAssets Media.xcassets/LaunchImages.launchimage CFBundleName - TINK + Meinkonrad XSAppIconAssets Media.xcassets/AppIcons.appiconset NSBluetoothAlwaysUsageDescription @@ -48,9 +48,9 @@ com.TeilRad.Meinkonrad CFBundleDisplayName Mein konrad - CFBundleVersion.? - 260 + CFBundleVersion + 261 CFBundleShortVersionString - 3.0.259 + 3.0.261 diff --git a/Meinkonrad/TINK.iOS/Meinkonrad.iOS.csproj b/Meinkonrad/TINK.iOS/Meinkonrad.iOS.csproj index 526c69d..3538f04 100644 --- a/Meinkonrad/TINK.iOS/Meinkonrad.iOS.csproj +++ b/Meinkonrad/TINK.iOS/Meinkonrad.iOS.csproj @@ -232,8 +232,6 @@ Designer - - @@ -1603,6 +1601,10 @@ + + + + \ No newline at end of file diff --git a/Meinkonrad/TINK.iOS/Resources/Icon-60@3x.png b/Meinkonrad/TINK.iOS/Resources/Icon-60@3x.png index 8ce0bba..e44cc40 100644 Binary files a/Meinkonrad/TINK.iOS/Resources/Icon-60@3x.png and b/Meinkonrad/TINK.iOS/Resources/Icon-60@3x.png differ diff --git a/Meinkonrad/TINK.iOS/Resources/LaunchScreen.storyboard b/Meinkonrad/TINK.iOS/Resources/LaunchScreen.storyboard index 60a5305..fc416b5 100644 --- a/Meinkonrad/TINK.iOS/Resources/LaunchScreen.storyboard +++ b/Meinkonrad/TINK.iOS/Resources/LaunchScreen.storyboard @@ -21,7 +21,8 @@ - + + diff --git a/Meinkonrad/TINK.iOS/iTunesArtwork b/Meinkonrad/TINK.iOS/iTunesArtwork index f4b1c59..5cd01f7 100644 Binary files a/Meinkonrad/TINK.iOS/iTunesArtwork and b/Meinkonrad/TINK.iOS/iTunesArtwork differ diff --git a/Meinkonrad/TINK.iOS/iTunesArtwork@2x b/Meinkonrad/TINK.iOS/iTunesArtwork@2x index 53c917b..92a2d00 100644 Binary files a/Meinkonrad/TINK.iOS/iTunesArtwork@2x and b/Meinkonrad/TINK.iOS/iTunesArtwork@2x differ diff --git a/Meinkonrad/TINK/App.xaml.cs b/Meinkonrad/TINK/App.xaml.cs index 5b251d7..1c42034 100644 --- a/Meinkonrad/TINK/App.xaml.cs +++ b/Meinkonrad/TINK/App.xaml.cs @@ -93,6 +93,7 @@ namespace TINK JsonSettingsDictionary.GetConnectTimeout(settingsJSON), JsonSettingsDictionary.GetActiveGeolocationService(settingsJSON), JsonSettingsDictionary.GetCenterMapToCurrentLocation(settingsJSON), + Xamarin.Forms.GoogleMaps.MapSpan.FromCenterAndRadius(new Xamarin.Forms.GoogleMaps.Position(47.680, 9.180), Xamarin.Forms.GoogleMaps.Distance.FromKilometers(2.9)), JsonSettingsDictionary.GetLogToExternalFolder(settingsJSON), JsonSettingsDictionary.GetIsSiteCachingOn(settingsJSON), JsonSettingsDictionary.GetActiveTheme(settingsJSON) ?? typeof(Themes.Konrad).FullName); diff --git a/Meinkonrad/TINK/View/Map/MapPage.xaml.cs b/Meinkonrad/TINK/View/Map/MapPage.xaml.cs index f8907a1..5c336a3 100644 --- a/Meinkonrad/TINK/View/Map/MapPage.xaml.cs +++ b/Meinkonrad/TINK/View/Map/MapPage.xaml.cs @@ -204,8 +204,7 @@ namespace TINK.View.Map Log.ForContext().Verbose("Moving and scaling map."); MapPageViewModel.MoveAndScale( (mapSpan) => MyMap.MoveToRegion(mapSpan), - App.ModelRoot.Uris.ActiveUri, - App.ModelRoot.GroupFilterMapPage); + App.ModelRoot.MapSpan); } catch(Exception exception) { diff --git a/TINK.sln b/TINK.sln index 63d7bf3..db9e5f3 100644 --- a/TINK.sln +++ b/TINK.sln @@ -35,6 +35,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Meinkonrad.Android", "Meink EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Meinkonrad.iOS", "Meinkonrad\TINK.iOS\Meinkonrad.iOS.csproj", "{CF1B848A-D1DF-40AB-BA6F-B1E1746A1161}" EndProject +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TestFramework", "TestFramework\TestFramework.csproj", "{9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestSharee", "TestSharee\TestSharee.csproj", "{9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}" +EndProject Global GlobalSection(SharedMSBuildProjectFiles) = preSolution LastenradBayern\TINK\LastenradBayern.projitems*{0b1ad2f8-7ada-4c20-b0bd-58f32a224a71}*SharedItemsImports = 4 @@ -723,6 +727,102 @@ Global {CF1B848A-D1DF-40AB-BA6F-B1E1746A1161}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator {CF1B848A-D1DF-40AB-BA6F-B1E1746A1161}.Release|x64.ActiveCfg = Release|iPhoneSimulator {CF1B848A-D1DF-40AB-BA6F-B1E1746A1161}.Release|x86.ActiveCfg = Release|iPhoneSimulator + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|x64.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Ad-Hoc|x86.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|Any CPU.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|ARM.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|ARM.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|iPhone.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|iPhone.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|x64.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|x64.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|x86.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.AppStore|x86.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|ARM.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|ARM.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|iPhone.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|x64.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|x64.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|x86.ActiveCfg = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Debug|x86.Build.0 = Debug|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|Any CPU.Build.0 = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|ARM.ActiveCfg = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|ARM.Build.0 = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|iPhone.ActiveCfg = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|iPhone.Build.0 = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|x64.ActiveCfg = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|x64.Build.0 = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|x86.ActiveCfg = Release|Any CPU + {9EA4ED8C-C4C3-48DC-8CBE-9281E0A7CA8D}.Release|x86.Build.0 = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|Any CPU.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|Any CPU.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|ARM.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|ARM.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|iPhone.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|iPhone.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|iPhoneSimulator.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|x64.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|x64.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|x86.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Ad-Hoc|x86.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|Any CPU.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|Any CPU.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|ARM.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|ARM.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|iPhone.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|iPhone.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|iPhoneSimulator.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|x64.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|x64.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|x86.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.AppStore|x86.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|Any CPU.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|ARM.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|ARM.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|iPhone.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|x64.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|x64.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|x86.ActiveCfg = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Debug|x86.Build.0 = Debug|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|Any CPU.ActiveCfg = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|Any CPU.Build.0 = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|ARM.ActiveCfg = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|ARM.Build.0 = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|iPhone.ActiveCfg = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|iPhone.Build.0 = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|x64.ActiveCfg = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|x64.Build.0 = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|x86.ActiveCfg = Release|Any CPU + {9C80A989-4BBB-4F00-AB5D-45B1F99D5A08}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/TINK/TINK.Android/Properties/AndroidManifest.xml b/TINK/TINK.Android/Properties/AndroidManifest.xml index 6cfa4ec..7c729a5 100644 --- a/TINK/TINK.Android/Properties/AndroidManifest.xml +++ b/TINK/TINK.Android/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@  - + diff --git a/TINK/TINK.iOS/AppDelegate.cs b/TINK/TINK.iOS/AppDelegate.cs index 1098133..828427c 100644 --- a/TINK/TINK.iOS/AppDelegate.cs +++ b/TINK/TINK.iOS/AppDelegate.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -using Foundation; +using Foundation; using UIKit; using Xamarin.Forms; diff --git a/TINK/TINK.iOS/Info.plist b/TINK/TINK.iOS/Info.plist index ebf865e..224912f 100644 --- a/TINK/TINK.iOS/Info.plist +++ b/TINK/TINK.iOS/Info.plist @@ -48,9 +48,9 @@ Is required to show map at current position and pass position to server when returning bike. CFBundleDisplayName sharee.bike - CFBundleVersion.? - 260 + CFBundleVersion + 261 CFBundleShortVersionString - 3.0.259 + 3.0.261 diff --git a/TINK/TINK/App.xaml.cs b/TINK/TINK/App.xaml.cs index bcae1d1..30e0111 100644 --- a/TINK/TINK/App.xaml.cs +++ b/TINK/TINK/App.xaml.cs @@ -93,6 +93,7 @@ namespace TINK JsonSettingsDictionary.GetConnectTimeout(settingsJSON), JsonSettingsDictionary.GetActiveGeolocationService(settingsJSON), JsonSettingsDictionary.GetCenterMapToCurrentLocation(settingsJSON), + Xamarin.Forms.GoogleMaps.MapSpan.FromCenterAndRadius(new Xamarin.Forms.GoogleMaps.Position(47.995865, 7.815086), Xamarin.Forms.GoogleMaps.Distance.FromKilometers(2.9)), JsonSettingsDictionary.GetLogToExternalFolder(settingsJSON), JsonSettingsDictionary.GetIsSiteCachingOn(settingsJSON), JsonSettingsDictionary.GetActiveTheme(settingsJSON)); diff --git a/TINK/TINK/View/Map/MapPage.xaml.cs b/TINK/TINK/View/Map/MapPage.xaml.cs index f8907a1..5c336a3 100644 --- a/TINK/TINK/View/Map/MapPage.xaml.cs +++ b/TINK/TINK/View/Map/MapPage.xaml.cs @@ -204,8 +204,7 @@ namespace TINK.View.Map Log.ForContext().Verbose("Moving and scaling map."); MapPageViewModel.MoveAndScale( (mapSpan) => MyMap.MoveToRegion(mapSpan), - App.ModelRoot.Uris.ActiveUri, - App.ModelRoot.GroupFilterMapPage); + App.ModelRoot.MapSpan); } catch(Exception exception) { diff --git a/TINKLib/Model/Connector/Filter/IntersectGroupFilter.cs b/TINKLib/Model/Connector/Filter/IntersectGroupFilter.cs index eba3131..fc1a806 100644 --- a/TINKLib/Model/Connector/Filter/IntersectGroupFilter.cs +++ b/TINKLib/Model/Connector/Filter/IntersectGroupFilter.cs @@ -1,5 +1,4 @@ using System.Collections.Generic; -using System.Linq; namespace TINK.Model.Connector.Filter { diff --git a/TINKLib/Model/Connector/FilterHelper.cs b/TINKLib/Model/Connector/FilterHelper.cs index adf3b94..d2f001f 100644 --- a/TINKLib/Model/Connector/FilterHelper.cs +++ b/TINKLib/Model/Connector/FilterHelper.cs @@ -14,6 +14,6 @@ /// Was "TINK" up to version 3.0.258. /// Specified first: "KN300029" (RG). /// - public const string FILTERTINKGENERAL = "300102"; + public const string FILTERTINKGENERAL = "300103"; } } diff --git a/TINKLib/Model/ITinkApp.cs b/TINKLib/Model/ITinkApp.cs index a4866ae..431a06f 100644 --- a/TINKLib/Model/ITinkApp.cs +++ b/TINKLib/Model/ITinkApp.cs @@ -60,6 +60,9 @@ namespace TINK.Model /// Value indicating whether map is centerted to current position or not. bool CenterMapToCurrentLocation { get; set; } + /// Holds the map area to display. + Xamarin.Forms.GoogleMaps.MapSpan MapSpan { get; set; } + bool LogToExternalFolder { get; set; } bool IsSiteCachingOn { get; set; } diff --git a/TINKLib/Model/Settings/GroupFilterSettings.cs b/TINKLib/Model/Settings/GroupFilterSettings.cs index a209037..cf6041b 100644 --- a/TINKLib/Model/Settings/GroupFilterSettings.cs +++ b/TINKLib/Model/Settings/GroupFilterSettings.cs @@ -22,7 +22,7 @@ namespace TINK.ViewModel.Settings private IGroupFilter Filter { get; } - /// Performs filtering on response-group. + /// Performs filtering on response -group. public IEnumerable DoFilter(IEnumerable filter = null) => Filter.DoFilter(filter); public FilterState this[string key] { get => FilterDictionary[key]; set => FilterDictionary[key] = value; } diff --git a/TINKLib/Model/Settings/JsonSettingsDictionary.cs b/TINKLib/Model/Settings/JsonSettingsDictionary.cs index 76d80ef..cc13c40 100644 --- a/TINKLib/Model/Settings/JsonSettingsDictionary.cs +++ b/TINKLib/Model/Settings/JsonSettingsDictionary.cs @@ -495,11 +495,15 @@ namespace TINK.Model.Settings // Process legacy entries. var updatedFilterCollection = legacyFilterCollection.Where(x => x.Key.ToUpper() != "TINK.SMS" && x.Key.ToUpper() != "TINK.COPRI").ToDictionary(x => x.Key, x => x.Value); if (legacyFilterCollection.Count() <= updatedFilterCollection.Count()) + { + // No legacy entries "INK.SMS" or "TINK.COPRI" found. return legacyFilterCollection; + } + var list = updatedFilterCollection.ToList(); updatedFilterCollection.Add( - FilterHelper.FILTERTINKGENERAL, + "TINK", legacyFilterCollection.Any(x => x.Key.ToUpper() == "TINK.COPRI") ? legacyFilterCollection.FirstOrDefault(x => x.Key.ToUpper() == "TINK.COPRI").Value : FilterState.Off); return new GroupFilterSettings(updatedFilterCollection); diff --git a/TINKLib/Model/Settings/Settings.cs b/TINKLib/Model/Settings/Settings.cs index 3876376..81ea08b 100644 --- a/TINKLib/Model/Settings/Settings.cs +++ b/TINKLib/Model/Settings/Settings.cs @@ -46,6 +46,7 @@ namespace TINK.Model.Settings TimeSpan? connectTimeout = null, string activeGeolocationService = null, bool? centerMapToCurrentLocation = null, + Xamarin.Forms.GoogleMaps.MapSpan mapSpan = null, bool? logToExternalFolder = null, bool? isSiteCachingOn = null, string activeTheme = null) @@ -61,6 +62,7 @@ namespace TINK.Model.Settings ConnectTimeout = connectTimeout ?? new TimeSpan(0, 0, TimeOutProvider.DEFAULT_BLUETOOTHCONNECT_TIMEOUTSECONDS); // Try one sec. to connect. ActiveGeolocationService = activeGeolocationService ?? DefaultLocationService.Name; CenterMapToCurrentLocation = centerMapToCurrentLocation ?? GetCenterMapToCurrentLocation(activeUri); + MapSpan = mapSpan; LogToExternalFolder = logToExternalFolder ?? false; IsSiteCachingOn = isSiteCachingOn ?? true; ActiveTheme = activeTheme ?? typeof(Themes.ShareeBike).FullName; @@ -93,8 +95,12 @@ namespace TINK.Model.Settings /// Gets the geolocation service to use. public string ActiveGeolocationService { get; } + /// True if map is centered to current positon, false if not to center map. public bool CenterMapToCurrentLocation { get; } + /// Holds the map area to display. + public Xamarin.Forms.GoogleMaps.MapSpan MapSpan { get; } + public bool LogToExternalFolder { get; } public bool IsSiteCachingOn { get; } diff --git a/TINKLib/Model/TinkApp.cs b/TINKLib/Model/TinkApp.cs index 4f56b24..9ef2f73 100644 --- a/TINKLib/Model/TinkApp.cs +++ b/TINKLib/Model/TinkApp.cs @@ -65,6 +65,9 @@ namespace TINK.Model /// Value indicating whether map is centerted to current position or not. public bool CenterMapToCurrentLocation { get; set; } + /// Holds the map area to display. + public Xamarin.Forms.GoogleMaps.MapSpan MapSpan { get; set; } + /// Gets the minimum logging level. public LogEventLevel MinimumLogEventLevel { get; set; } @@ -208,6 +211,8 @@ namespace TINK.Model CenterMapToCurrentLocation = settings.CenterMapToCurrentLocation; + MapSpan = settings.MapSpan; + SmartDevice = device ?? throw new ArgumentException("Can not instantiate TinkApp- object. No device information provider available."); diff --git a/TINKLib/View/Themes/Konrad.xaml b/TINKLib/View/Themes/Konrad.xaml index f992bdb..6aabaaa 100644 --- a/TINKLib/View/Themes/Konrad.xaml +++ b/TINKLib/View/Themes/Konrad.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="TINK.Themes.Konrad"> + Red