diff --git a/.gitignore b/.gitignore index 3c4efe2..5f6c6d0 100644 --- a/.gitignore +++ b/.gitignore @@ -6,6 +6,7 @@ *.user *.userosscache *.sln.docstates +*.DS_Store # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs diff --git a/SecureStorageSample/SecureStorageSample.sln b/SecureStorageSample/SecureStorageSample.sln index 4203939..0d04352 100644 --- a/SecureStorageSample/SecureStorageSample.sln +++ b/SecureStorageSample/SecureStorageSample.sln @@ -13,6 +13,10 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SecureStorageSample", "Secu EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SecureStorageSample.Mac", "SecureStorageSample\SecureStorageSample.Mac\SecureStorageSample.Mac.csproj", "{298F8069-522F-4EEC-A2BC-99D2568B2193}" EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SecureStorageSampleNUnitTests", "SecureStorageSampleNUnitTests\SecureStorageSampleNUnitTests.csproj", "{8EDF4429-251A-416D-BB68-93F227191BCF}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SecureStorageSampleUITest", "SecureStorageSampleUITest\SecureStorageSampleUITest.csproj", "{520AFC3A-9366-4350-BBB4-0EA47CA2D502}" +EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Ad-Hoc|Any CPU = Ad-Hoc|Any CPU @@ -189,6 +193,7 @@ Global {A323FAF1-F514-42E1-A70A-1EE5D0DE55F4}.Debug|ARM.Build.0 = Debug|ARM {A323FAF1-F514-42E1-A70A-1EE5D0DE55F4}.Debug|ARM.Deploy.0 = Debug|ARM {A323FAF1-F514-42E1-A70A-1EE5D0DE55F4}.Debug|iPhone.ActiveCfg = Debug|x86 + {A323FAF1-F514-42E1-A70A-1EE5D0DE55F4}.Debug|iPhone.Build.0 = Debug|x86 {A323FAF1-F514-42E1-A70A-1EE5D0DE55F4}.Debug|iPhoneSimulator.ActiveCfg = Debug|x86 {A323FAF1-F514-42E1-A70A-1EE5D0DE55F4}.Debug|x64.ActiveCfg = Debug|x64 {A323FAF1-F514-42E1-A70A-1EE5D0DE55F4}.Debug|x64.Build.0 = Debug|x64 @@ -304,6 +309,102 @@ Global {298F8069-522F-4EEC-A2BC-99D2568B2193}.Release|x64.Build.0 = Release|iPhone {298F8069-522F-4EEC-A2BC-99D2568B2193}.Release|x86.ActiveCfg = Release|iPhone {298F8069-522F-4EEC-A2BC-99D2568B2193}.Release|x86.Build.0 = Release|iPhone + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|ARM.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|x64.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Ad-Hoc|x86.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|Any CPU.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|Any CPU.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|ARM.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|ARM.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|iPhone.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|iPhone.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|x64.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|x64.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|x86.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.AppStore|x86.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|Any CPU.Build.0 = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|ARM.ActiveCfg = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|ARM.Build.0 = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|iPhone.Build.0 = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|x64.ActiveCfg = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|x64.Build.0 = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|x86.ActiveCfg = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Debug|x86.Build.0 = Debug|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|Any CPU.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|Any CPU.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|ARM.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|ARM.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|iPhone.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|iPhone.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|x64.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|x64.Build.0 = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|x86.ActiveCfg = Release|Any CPU + {8EDF4429-251A-416D-BB68-93F227191BCF}.Release|x86.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|Any CPU.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|Any CPU.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|ARM.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|ARM.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|iPhone.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|iPhone.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|iPhoneSimulator.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|iPhoneSimulator.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|x64.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|x64.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|x86.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Ad-Hoc|x86.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|Any CPU.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|Any CPU.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|ARM.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|ARM.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|iPhone.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|iPhone.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|iPhoneSimulator.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|iPhoneSimulator.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|x64.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|x64.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|x86.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.AppStore|x86.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|Any CPU.Build.0 = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|ARM.ActiveCfg = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|ARM.Build.0 = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|iPhone.ActiveCfg = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|iPhone.Build.0 = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|iPhoneSimulator.ActiveCfg = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|iPhoneSimulator.Build.0 = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|x64.ActiveCfg = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|x64.Build.0 = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|x86.ActiveCfg = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Debug|x86.Build.0 = Debug|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|Any CPU.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|Any CPU.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|ARM.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|ARM.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|iPhone.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|iPhone.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|iPhoneSimulator.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|iPhoneSimulator.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|x64.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|x64.Build.0 = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|x86.ActiveCfg = Release|Any CPU + {520AFC3A-9366-4350-BBB4-0EA47CA2D502}.Release|x86.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample.Android/Properties/AndroidManifest.xml b/SecureStorageSample/SecureStorageSample/SecureStorageSample.Android/Properties/AndroidManifest.xml index 24fd6c1..72b5433 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample.Android/Properties/AndroidManifest.xml +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample.Android/Properties/AndroidManifest.xml @@ -1,5 +1,5 @@ - - - + + + - + \ No newline at end of file diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample.Android/SecureStorageSample.Android.csproj b/SecureStorageSample/SecureStorageSample/SecureStorageSample.Android/SecureStorageSample.Android.csproj index 96aa77f..4f58180 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample.Android/SecureStorageSample.Android.csproj +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample.Android/SecureStorageSample.Android.csproj @@ -18,6 +18,7 @@ true + false true @@ -28,6 +29,7 @@ prompt 4 None + true true @@ -37,7 +39,6 @@ prompt 4 true - false @@ -56,7 +57,7 @@ - 2.5.0.122203 + 2.5.1.444934 diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample.Mac/SecureStorageSample.Mac.csproj b/SecureStorageSample/SecureStorageSample/SecureStorageSample.Mac/SecureStorageSample.Mac.csproj index e2339dd..ffaa54f 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample.Mac/SecureStorageSample.Mac.csproj +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample.Mac/SecureStorageSample.Mac.csproj @@ -1,6 +1,6 @@  - + Debug iPhone @@ -59,24 +59,24 @@ - ..\..\packages\sameerIOTApps.Plugin.SecureStorage.2.0.1\lib\Xamarin.Mac\Plugin.SecureStorage.dll + ..\..\packages\sameerIOTApps.Plugin.SecureStorage.2.0.0\lib\Xamarin.Mac\Plugin.SecureStorage.dll - ..\..\packages\sameerIOTApps.Plugin.SecureStorage.2.0.1\lib\Xamarin.Mac\Plugin.SecureStorage.Abstractions.dll + ..\..\packages\sameerIOTApps.Plugin.SecureStorage.2.0.0\lib\Xamarin.Mac\Plugin.SecureStorage.Abstractions.dll - ..\..\packages\Xamarin.Forms.2.5.0.122203\lib\Xamarin.Mac\Xamarin.Forms.Core.dll + ..\..\packages\Xamarin.Forms.2.4.0.91020\lib\Xamarin.Mac\Xamarin.Forms.Core.dll - ..\..\packages\Xamarin.Forms.2.5.0.122203\lib\Xamarin.Mac\Xamarin.Forms.Platform.dll + ..\..\packages\Xamarin.Forms.2.4.0.91020\lib\Xamarin.Mac\Xamarin.Forms.Platform.dll - ..\..\packages\Xamarin.Forms.2.5.0.122203\lib\Xamarin.Mac\Xamarin.Forms.Platform.macOS.dll + ..\..\packages\Xamarin.Forms.2.4.0.91020\lib\Xamarin.Mac\Xamarin.Forms.Platform.macOS.dll - ..\..\packages\Xamarin.Forms.2.5.0.122203\lib\Xamarin.Mac\Xamarin.Forms.Xaml.dll + ..\..\packages\Xamarin.Forms.2.4.0.91020\lib\Xamarin.Mac\Xamarin.Forms.Xaml.dll @@ -124,8 +124,8 @@ This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}. - - + + - + \ No newline at end of file diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample.Mac/packages.config b/SecureStorageSample/SecureStorageSample/SecureStorageSample.Mac/packages.config index 8c30cf3..38c25b6 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample.Mac/packages.config +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample.Mac/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample.UWP/SecureStorageSample.UWP.csproj b/SecureStorageSample/SecureStorageSample/SecureStorageSample.UWP/SecureStorageSample.UWP.csproj index 35f1804..9682d6e 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample.UWP/SecureStorageSample.UWP.csproj +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample.UWP/SecureStorageSample.UWP.csproj @@ -151,9 +151,9 @@ 2.0.1 - + - 2.5.0.122203 + 2.5.0.280555 diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/AppDelegate.cs b/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/AppDelegate.cs index d9fee3c..885da7c 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/AppDelegate.cs +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/AppDelegate.cs @@ -25,6 +25,12 @@ public override bool FinishedLaunching(UIApplication app, NSDictionary options) global::Xamarin.Forms.Forms.Init(); LoadApplication(new App()); + // Newer version of Visual Studio for Mac and Visual Studio provide the + // ENABLE_TEST_CLOUD compiler directive in the Debug configuration, + // but not the Release configuration. +#if ENABLE_TEST_CLOUD + Xamarin.Calabash.Start(); +#endif return base.FinishedLaunching(app, options); } } diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/Entitlements.plist b/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/Entitlements.plist index b804308..0c67376 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/Entitlements.plist +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/Entitlements.plist @@ -1,10 +1,5 @@ - - keychain-access-groups - - com.sameer.SecureStorageSample - - + diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/SecureStorageSample.iOS.csproj b/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/SecureStorageSample.iOS.csproj index 54bf563..0496db1 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/SecureStorageSample.iOS.csproj +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample.iOS/SecureStorageSample.iOS.csproj @@ -19,7 +19,7 @@ full false bin\iPhoneSimulator\Debug - DEBUG + __IOS__;__MOBILE__;__UNIFIED__;DEBUG;ENABLE_TEST_CLOUD prompt 4 false @@ -44,14 +44,15 @@ full false bin\iPhone\Debug - DEBUG + __IOS__;__MOBILE__;__UNIFIED__;DEBUG;ENABLE_TEST_CLOUD prompt 4 false ARM64 - iPhone Developer + iPhone Developer: sxk@hotmail.com (TUC5CDN8PH) true Entitlements.plist + iOS Team Provisioning Profile: com.sameer.SecureStorageSample none @@ -122,10 +123,13 @@ - 2.0.1 + 2.0.0 + + + 0.21.5 - 2.5.0.122203 + 2.5.1.444934 diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample/App.xaml.cs b/SecureStorageSample/SecureStorageSample/SecureStorageSample/App.xaml.cs index d2e627d..2218784 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample/App.xaml.cs +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample/App.xaml.cs @@ -5,6 +5,7 @@ using Xamarin.Forms; using SecureStorageSample.ViewModels; +using SecureStorageSample.PlugInServices; namespace SecureStorageSample { @@ -13,11 +14,12 @@ public partial class App : Application public App() { InitializeComponent(); + RegisterImplementations(); var vm = new MainPageViewModel(); MainPage = new SecureStorageSample.MainPage() { BindingContext = vm }; } - protected override void OnStart () + protected override void OnStart () { // Handle when your app starts } @@ -31,5 +33,10 @@ protected override void OnResume () { // Handle when your app resumes } - } + + private void RegisterImplementations() + { + DependencyService.Register(); + } + } } diff --git a/SecureStorageSample/SecureStorageSample/SecureStorageSample/MainPage.xaml b/SecureStorageSample/SecureStorageSample/SecureStorageSample/MainPage.xaml index d8101aa..1535a87 100644 --- a/SecureStorageSample/SecureStorageSample/SecureStorageSample/MainPage.xaml +++ b/SecureStorageSample/SecureStorageSample/SecureStorageSample/MainPage.xaml @@ -20,63 +20,72 @@