From a09a0312e7568bd602787b319c4c01e83f248ae9 Mon Sep 17 00:00:00 2001 From: James Montemagno Date: Thu, 21 Jun 2018 18:44:50 +0200 Subject: [PATCH 1/4] Merge master into main (#308) * GH-221: Add iOS SecAccessible properties (#223) * Address #221, use AfterFirstUnlockThisDeviceOnly to match other platforms. Although allow a platform specific override to set accessible state. * Add tests * Added iOS specific prop to set SecAccessible * Default to AfterFirstUnlock on iOS SecureStorage * A few fixes for the release. (#228) * Setting the correct flags for Chrome Tabs. Fixes #225 * Make sure that there is data to decrypt before starting. Fixes #226 * Fixes for TTS. Fixes #227 * A bit of the fixes for emails on iOS. Relates to #224 * Update the email bit for iOS #224 * Cleaning up the code #224 * Make sure to set the email properties. Fixes #229 * Update SDK Extras This fixes a lot of references that were required on android that aren't. * Update Readme with Installation information. (#237) * Update Readme with Installation information. * Update README.md * Update README.md * Adding the initial work to get Tizen started. #23 * Revert "Adding the initial work to get Tizen started. #23" This reverts commit 58b6041d5f2bf40f15356e2a4147d1181fa7f610. * Update the docs with the latest APIs (#233) Add docs for SecAccessible * GH-245: Add Orientation Sensor (#249) * Add Orientation Sensor * Add Orientation Sensor * Remove .csproj clutter * "orientationsensor" --> "orientation sensor" or just "orientation" * GH-192: Added DateTime to Preferences (#232) * Added DateTime to preferences. Fixes #192 - also properly using overloads * Added some unit tests * Added the docs for the new Preferences APIs * Update Readme with Device Display Information Added link to Current Features for Device Display Information * Fixes #258 and Fixes #255 (#259) * Fixes #258 * put vectors nuget everywhere. * NuGet is broken - https://developercommunity.visualstudio.com/content/problem/232996/warning-nu1603-runtimenativesystemiocompression-41.html * The NuGet doesn't add the assembly references from the GAC * We need to use a later version of the iOS SDK * Fix typo (#274) * Fix up null checks when getting lask known location. * Additional Null checks * GH-240 Add IsMainThread detection API (#277) * Add IsMainThread detection API * Add platform tests for main thread * Update docs and add more platform tests * iOS secure storage simulator tests (#247) (#278) * iOS secure storage simulator tests (#247) * Remove line that skips test on virtual devices * Adding keychain-access-groups in Entitlements.plist * Setting CodeSign entitlements for Debug configuration * Making same entitlement.plist changes for iOS sample * Removing specific code sign key * Removing physical device trait for iOS SecureStorageTests * Update DeviceTests.iOS.csproj * Update Samples.iOS.csproj * Add configs for codesign on release * Fixes #181 Allowing setting of calibration for heading. (#282) * GH-254 Update Support Packages, Forms, and Reference Vectors (#279) * Update Support Packages, Forms, and Reference Vectors * Bump targetsdk * Fix android build :) * Fix build --- .../DeviceTests.Android.csproj | 17 +-- .../Properties/AndroidManifest.xml | 2 +- .../DeviceTests.Shared.projitems | 1 + .../DeviceTests.Shared/Platform_Tests.cs | 27 ++++ .../DeviceTests.Shared/Preferences_Tests.cs | 32 ++++- .../DeviceTests.Shared/SecureStorage_Tests.cs | 13 +- .../DeviceTests.UWP/DeviceTests.UWP.csproj | 15 +- .../DeviceTests.iOS/DeviceTests.iOS.csproj | 11 +- .../DeviceTests.iOS/Entitlements.plist | 7 +- DeviceTests/build.cake | 2 +- README.md | 61 ++++---- .../Properties/AndroidManifest.xml | 2 +- .../Samples.Android/Samples.Android.csproj | 17 +-- Samples/Samples.UWP/Samples.UWP.csproj | 3 +- Samples/Samples.iOS/Entitlements.plist | 7 +- Samples/Samples.iOS/Samples.iOS.csproj | 8 +- Samples/Samples/Samples.csproj | 5 +- Samples/Samples/View/AllSensorsPage.xaml | 35 +++++ .../Samples/View/OrientationSensorPage.xaml | 50 +++++++ .../View/OrientationSensorPage.xaml.cs | 10 ++ Samples/Samples/ViewModel/HomeViewModel.cs | 10 +- .../ViewModel/OrientationSensorViewModel.cs | 130 ++++++++++++++++++ Xamarin.Essentials/Browser/Browser.android.cs | 4 +- Xamarin.Essentials/Compass/Compass.ios.cs | 6 + Xamarin.Essentials/Email/Email.ios.cs | 36 ++++- Xamarin.Essentials/Email/Email.shared.cs | 28 +++- .../Geolocation/Geolocation.android.cs | 5 +- .../Geolocation/Geolocation.ios.cs | 9 +- .../Geolocation/Geolocation.uwp.cs | 16 +-- .../OrientationSensor.android.cs | 65 +++++++++ .../OrientationSensor.ios.cs | 53 +++++++ .../OrientationSensor.netstandard.cs | 14 ++ .../OrientationSensor.shared.cs | 96 +++++++++++++ .../OrientationSensor.uwp.cs | 54 ++++++++ .../Platform/Platform.android.cs | 17 +++ Xamarin.Essentials/Platform/Platform.ios.cs | 5 +- .../Platform/Platform.netstandard.cs | 3 + .../Platform/Platform.shared.cs | 7 +- Xamarin.Essentials/Platform/Platform.uwp.cs | 3 + .../Preferences/Preferences.shared.cs | 70 ++++++---- .../SecureStorage/SecureStorage.android.cs | 11 +- .../SecureStorage/SecureStorage.ios.cs | 40 ++++-- .../TextToSpeech/TextToSpeech.android.cs | 73 +++++----- .../Types/LocationExtensions.uwp.cs | 17 ++- .../Vibration/Vibration.android.cs | 3 - Xamarin.Essentials/Xamarin.Essentials.csproj | 27 ++-- .../xamarin-essentials-android.xml | 20 ++- .../xamarin-essentials-ios.xml | 24 +++- .../xamarin-essentials-uwp.xml | 20 ++- .../en/FrameworksIndex/xamarin-essentials.xml | 20 ++- docs/en/Xamarin.Essentials/Compass.xml | 18 +++ docs/en/Xamarin.Essentials/Locale.xml | 34 ++--- .../Xamarin.Essentials/OrientationSensor.xml | 105 ++++++++++++++ .../OrientationSensorChangedEventArgs.xml | 41 ++++++ .../OrientationSensorChangedEventHandler.xml | 25 ++++ .../OrientationSensorData.xml | 41 ++++++ docs/en/Xamarin.Essentials/Platform.xml | 28 +++- docs/en/Xamarin.Essentials/Preferences.xml | 102 ++++++++++++++ docs/en/Xamarin.Essentials/SecureStorage.xml | 88 +++++++++++- docs/en/index.xml | 4 + 60 files changed, 1472 insertions(+), 225 deletions(-) create mode 100644 DeviceTests/DeviceTests.Shared/Platform_Tests.cs create mode 100644 Samples/Samples/View/OrientationSensorPage.xaml create mode 100644 Samples/Samples/View/OrientationSensorPage.xaml.cs create mode 100644 Samples/Samples/ViewModel/OrientationSensorViewModel.cs create mode 100644 Xamarin.Essentials/OrientationSensor/OrientationSensor.android.cs create mode 100644 Xamarin.Essentials/OrientationSensor/OrientationSensor.ios.cs create mode 100644 Xamarin.Essentials/OrientationSensor/OrientationSensor.netstandard.cs create mode 100644 Xamarin.Essentials/OrientationSensor/OrientationSensor.shared.cs create mode 100644 Xamarin.Essentials/OrientationSensor/OrientationSensor.uwp.cs create mode 100644 docs/en/Xamarin.Essentials/OrientationSensor.xml create mode 100644 docs/en/Xamarin.Essentials/OrientationSensorChangedEventArgs.xml create mode 100644 docs/en/Xamarin.Essentials/OrientationSensorChangedEventHandler.xml create mode 100644 docs/en/Xamarin.Essentials/OrientationSensorData.xml diff --git a/DeviceTests/DeviceTests.Android/DeviceTests.Android.csproj b/DeviceTests/DeviceTests.Android/DeviceTests.Android.csproj index 40caf1c56..cb6222263 100644 --- a/DeviceTests/DeviceTests.Android/DeviceTests.Android.csproj +++ b/DeviceTests/DeviceTests.Android/DeviceTests.Android.csproj @@ -8,7 +8,7 @@ Library DeviceTests.Droid DeviceTests.Android - v8.0 + v8.1 True Resources\Resource.designer.cs Resource @@ -53,13 +53,14 @@ - - - - - - - + + + + + + + + diff --git a/DeviceTests/DeviceTests.Android/Properties/AndroidManifest.xml b/DeviceTests/DeviceTests.Android/Properties/AndroidManifest.xml index dabc60e87..4bd8ad2f1 100644 --- a/DeviceTests/DeviceTests.Android/Properties/AndroidManifest.xml +++ b/DeviceTests/DeviceTests.Android/Properties/AndroidManifest.xml @@ -1,6 +1,6 @@  - + diff --git a/DeviceTests/DeviceTests.Shared/DeviceTests.Shared.projitems b/DeviceTests/DeviceTests.Shared/DeviceTests.Shared.projitems index c4db537bc..cd9deefd8 100644 --- a/DeviceTests/DeviceTests.Shared/DeviceTests.Shared.projitems +++ b/DeviceTests/DeviceTests.Shared/DeviceTests.Shared.projitems @@ -23,6 +23,7 @@ + diff --git a/DeviceTests/DeviceTests.Shared/Platform_Tests.cs b/DeviceTests/DeviceTests.Shared/Platform_Tests.cs new file mode 100644 index 000000000..965f0d28f --- /dev/null +++ b/DeviceTests/DeviceTests.Shared/Platform_Tests.cs @@ -0,0 +1,27 @@ +using System.Threading.Tasks; +using Xamarin.Essentials; +using Xunit; + +namespace DeviceTests +{ + public class Platform_Tests + { + [Fact] + public Task IsOnMainThread() + { + return Utils.OnMainThread(() => + { + Assert.True(Platform.IsMainThread); + }); + } + + [Fact] + public Task IsNotOnMainThread() + { + return Task.Run(() => + { + Assert.False(Platform.IsMainThread); + }); + } + } +} diff --git a/DeviceTests/DeviceTests.Shared/Preferences_Tests.cs b/DeviceTests/DeviceTests.Shared/Preferences_Tests.cs index 871377d42..59ace3c6e 100644 --- a/DeviceTests/DeviceTests.Shared/Preferences_Tests.cs +++ b/DeviceTests/DeviceTests.Shared/Preferences_Tests.cs @@ -1,4 +1,5 @@ -using Xamarin.Essentials; +using System; +using Xamarin.Essentials; using Xunit; namespace DeviceTests @@ -7,6 +8,18 @@ public class Preferences_Tests { const string sharedNameTestData = "Shared"; + static DateTime testDateTime = new DateTime(2018, 05, 07); + + [Theory] + [InlineData("datetime1", null)] + [InlineData("datetime1", sharedNameTestData)] + public void Set_Get_DateTime(string key, string sharedName) + { + Preferences.Set(key, testDateTime, sharedName); + + Assert.Equal(testDateTime, Preferences.Get(key, DateTime.MinValue, sharedName)); + } + [Theory] [InlineData("string1", "TEST", null)] [InlineData("string1", "TEST", sharedNameTestData)] @@ -130,5 +143,22 @@ public void Not_ContainsKey(string sharedName) Assert.False(Preferences.ContainsKey("NotContainsKey1", sharedName)); } + + [Theory] + [InlineData(null, DateTimeKind.Utc)] + [InlineData(sharedNameTestData, DateTimeKind.Utc)] + [InlineData(null, DateTimeKind.Local)] + [InlineData(sharedNameTestData, DateTimeKind.Local)] + public void DateTimePreservesKind(string sharedName, DateTimeKind kind) + { + var date = new DateTime(2018, 05, 07, 8, 30, 0, kind); + + Preferences.Set("datetime_utc", date, sharedName); + + var get = Preferences.Get("datetime_utc", DateTime.MinValue, sharedName); + + Assert.Equal(date, get); + Assert.Equal(kind, get.Kind); + } } } diff --git a/DeviceTests/DeviceTests.Shared/SecureStorage_Tests.cs b/DeviceTests/DeviceTests.Shared/SecureStorage_Tests.cs index 8ed7d618b..dd5383e98 100644 --- a/DeviceTests/DeviceTests.Shared/SecureStorage_Tests.cs +++ b/DeviceTests/DeviceTests.Shared/SecureStorage_Tests.cs @@ -13,16 +13,15 @@ public class SecureStorage_Tests [InlineData("test.txt2", "data2", false)] [InlineData("noextension2", "data22", false)] [InlineData("funny*&$%@!._/\\chars2", "data32", false)] -#if __IOS__ - // TODO: the iOS simulators have issues with the way we set up our tests... we need to fix that - [Trait(Traits.DeviceType, Traits.DeviceTypes.Physical)] -#endif public async Task Saves_And_Loads(string key, string data, bool emulatePreApi23) { #if __IOS__ - // TODO: we don't know how to write iOS apps, it appears, so just skip for now - if (DeviceInfo.DeviceType == DeviceType.Virtual) - return; + // Try the new platform specific api + await SecureStorage.SetAsync(key, data, Security.SecAccessible.AfterFirstUnlock); + + var b = await SecureStorage.GetAsync(key, Security.SecAccessible.AfterFirstUnlock); + + Assert.Equal(data, b); #endif #if __ANDROID__ diff --git a/DeviceTests/DeviceTests.UWP/DeviceTests.UWP.csproj b/DeviceTests/DeviceTests.UWP/DeviceTests.UWP.csproj index 3a74b09ee..670fff133 100644 --- a/DeviceTests/DeviceTests.UWP/DeviceTests.UWP.csproj +++ b/DeviceTests/DeviceTests.UWP/DeviceTests.UWP.csproj @@ -24,7 +24,7 @@ true bin\ARM\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 + ;2008;NU1603 full ARM false @@ -35,7 +35,7 @@ bin\ARM\Release\ TRACE;NETFX_CORE;WINDOWS_UWP true - ;2008 + ;2008;NU1603 pdbonly ARM false @@ -47,7 +47,7 @@ true bin\x64\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 + ;2008;NU1603 full x64 false @@ -58,7 +58,7 @@ bin\x64\Release\ TRACE;NETFX_CORE;WINDOWS_UWP true - ;2008 + ;2008;NU1603 pdbonly x64 false @@ -70,7 +70,7 @@ true bin\x86\Debug\ DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 + ;2008;NU1603 full x86 false @@ -81,7 +81,7 @@ bin\x86\Release\ TRACE;NETFX_CORE;WINDOWS_UWP true - ;2008 + ;2008;NU1603 pdbonly x86 false @@ -93,10 +93,11 @@ 2.0.0 - + + diff --git a/DeviceTests/DeviceTests.iOS/DeviceTests.iOS.csproj b/DeviceTests/DeviceTests.iOS/DeviceTests.iOS.csproj index d34e95d71..e8ecb3ec6 100644 --- a/DeviceTests/DeviceTests.iOS/DeviceTests.iOS.csproj +++ b/DeviceTests/DeviceTests.iOS/DeviceTests.iOS.csproj @@ -26,6 +26,9 @@ x86_64 None true + iPhone Developer + + Entitlements.plist true @@ -37,6 +40,9 @@ SdkOnly x86_64 false + iPhone Developer + + Entitlements.plist --linkskip=Xamarin.Forms.Platform.iOS --linkskip=Xamarin.Forms.Platform --linkskip=Xamarin.Forms.Core --linkskip=Xamarin.Forms.Xaml @@ -72,10 +78,11 @@ - + + @@ -121,4 +128,4 @@ - \ No newline at end of file + diff --git a/DeviceTests/DeviceTests.iOS/Entitlements.plist b/DeviceTests/DeviceTests.iOS/Entitlements.plist index 0c67376eb..404630c3c 100644 --- a/DeviceTests/DeviceTests.iOS/Entitlements.plist +++ b/DeviceTests/DeviceTests.iOS/Entitlements.plist @@ -1,5 +1,10 @@ - + + keychain-access-groups + + com.xamarin.essentials.devicetests + + diff --git a/DeviceTests/build.cake b/DeviceTests/build.cake index 90fc5faae..6d3dbb41b 100644 --- a/DeviceTests/build.cake +++ b/DeviceTests/build.cake @@ -6,7 +6,7 @@ var TARGET = Argument("target", "Default"); var IOS_SIM_NAME = EnvironmentVariable("IOS_SIM_NAME") ?? "iPhone X"; -var IOS_SIM_RUNTIME = EnvironmentVariable("IOS_SIM_RUNTIME") ?? "iOS 11.1"; +var IOS_SIM_RUNTIME = EnvironmentVariable("IOS_SIM_RUNTIME") ?? "iOS 11.3"; var IOS_PROJ = "./DeviceTests.iOS/DeviceTests.iOS.csproj"; var IOS_BUNDLE_ID = "com.xamarin.essentials.devicetests"; var IOS_IPA_PATH = "./DeviceTests.iOS/bin/iPhoneSimulator/Release/Xamarin.EssentialsDeviceTestsiOS.app"; diff --git a/README.md b/README.md index 17b20dc51..b30bbd779 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,8 @@ Xamarin.Essentials gives developers essential cross-platform APIs for their mobi iOS, Android, and UWP offer unique operating system and platform APIs that developers have access to all in C# leveraging Xamarin. It is great that developers have 100% API access in C# with Xamarin, but these APIs are different per platform. This means developers have to learn three different APIs to access platform specific features. With Xamarin.Essentials developers have a single cross-platform API that works with any iOS, Android, or UWP application that can be accessed from shared code no matter how the user interface is created. +[![Gitter chat](https://badges.gitter.im/gitterHQ/gitter.png)](https://gitter.im/xamarin/Essentials) + ## Build Status | Build Server | Type | Platform | Status | @@ -13,7 +15,15 @@ iOS, Android, and UWP offer unique operating system and platform APIs that devel | Jenkins | Device Tests | macOS | [![Build Status](https://jenkins.mono-project.com/buildStatus/icon?job=Components-Essentials-DeviceTests-Mac)](https://jenkins.mono-project.com/job/Components-Essentials-DeviceTests-Mac) | ## Installation -Coming soon... +Xamarin.Essentials is available via: +* NuGet Official Releases: [![NuGet](https://img.shields.io/nuget/vpre/Xamarin.Essentials.svg?label=NuGet)](https://www.nuget.org/packages/Xamarin.Essentials) +* MyGet Development Feed: https://www.myget.org/F/xamarin-essentials/api/v3/index.json + +Please read our [Getting Started with Xamarin.Essentials guide](https://docs.microsoft.com/xamarin/essentials/get-started) for full setup instructions. + +## Documentation + +Browse our [full documentation for Xamarin.Essentials](https://docs.microsoft.com/xamarin/essentials) including feature guides on how to use each feature. ## Supported Platforms Xamarin.Essentials is focused on the following platforms for our first release: @@ -23,30 +33,31 @@ Xamarin.Essentials is focused on the following platforms for our first release: ## Current Features: The following cross-platform APIs are planned for our first release: - - [x] Accelerometer - - [X] App Information - - [x] Battery - - [x] Clipboard - - [x] Compass - - [x] Connectivity - - [x] Data Transfer - - [x] Device Information - - [x] File System Helpers - - [x] Email - - [x] Flashlight - - [x] Geocoding - - [x] Geolocation - - [x] Gyroscope - - [x] Magnetometer - - [x] Open Browser - - [x] Phone Dialer - - [x] Preferences - - [x] Screen Lock - - [x] Secure Storage - - [x] SMS - - [x] Text-to-Speech - - [x] Version Tracking - - [x] Vibrate + - [x] [Accelerometer](https://docs.microsoft.com/xamarin/essentials/accelerometer) + - [X] [App Information](https://docs.microsoft.com/xamarin/essentials/app-information) + - [x] [Battery](https://docs.microsoft.com/xamarin/essentials/battery) + - [x] [Clipboard](https://docs.microsoft.com/xamarin/essentials/clipboard) + - [x] [Compass](https://docs.microsoft.com/xamarin/essentials/compass) + - [x] [Connectivity](https://docs.microsoft.com/xamarin/essentials/connectivity) + - [x] [Data Transfer](https://docs.microsoft.com/xamarin/essentials/data-transfer) + - [x] [Device Display Information](https://docs.microsoft.com/en-us/xamarin/essentials/device-display) + - [x] [Device Information](https://docs.microsoft.com/xamarin/essentials/device-information) + - [x] [Email](https://docs.microsoft.com/xamarin/essentials/email) + - [x] [File System Helpers](https://docs.microsoft.com/xamarin/essentials/file-system-helpers) + - [x] [Flashlight](https://docs.microsoft.com/xamarin/essentials/flashlight) + - [x] [Geocoding](https://docs.microsoft.com/xamarin/essentials/geocoding) + - [x] [Geolocation](https://docs.microsoft.com/xamarin/essentials/geolocation) + - [x] [Gyroscope](https://docs.microsoft.com/xamarin/essentials/gyroscope) + - [x] [Magnetometer](https://docs.microsoft.com/xamarin/essentials/magnetometer) + - [x] [Open Browser](https://docs.microsoft.com/xamarin/essentials/open-browser) + - [x] [Phone Dialer](https://docs.microsoft.com/xamarin/essentials/phone-dialer) + - [x] [Preferences](https://docs.microsoft.com/xamarin/essentials/preferences) + - [x] [Screen Lock](https://docs.microsoft.com/xamarin/essentials/screen-lock) + - [x] [Secure Storage](https://docs.microsoft.com/xamarin/essentials/secure-storage) + - [x] [SMS](https://docs.microsoft.com/xamarin/essentials/sms) + - [x] [Text-to-Speech](https://docs.microsoft.com/xamarin/essentials/text-to-speech) + - [x] [Version Tracking](https://docs.microsoft.com/xamarin/essentials/version-tracking) + - [x] [Vibrate](https://docs.microsoft.com/xamarin/essentials/vibrate) ## Contributing Please read through our [Contribution Guide](CONTRIBUTING.md). We are not accepting new PRs for full features, however any issue that is marked as `up for grabs` are open for community contributions. We encourage creating new issues for bugs found during usage that the team will triage. Additionally, we are open for code refactoring suggestions in PRs. diff --git a/Samples/Samples.Android/Properties/AndroidManifest.xml b/Samples/Samples.Android/Properties/AndroidManifest.xml index 9dbafbbbd..a6cae2b47 100644 --- a/Samples/Samples.Android/Properties/AndroidManifest.xml +++ b/Samples/Samples.Android/Properties/AndroidManifest.xml @@ -1,6 +1,6 @@  - + diff --git a/Samples/Samples.Android/Samples.Android.csproj b/Samples/Samples.Android/Samples.Android.csproj index 4e59da683..44ed28294 100644 --- a/Samples/Samples.Android/Samples.Android.csproj +++ b/Samples/Samples.Android/Samples.Android.csproj @@ -8,7 +8,7 @@ Library Samples.Droid Samples.Android - v8.0 + v8.1 True Resources\Resource.designer.cs Resource @@ -52,13 +52,14 @@ - - - - - - - + + + + + + + + diff --git a/Samples/Samples.UWP/Samples.UWP.csproj b/Samples/Samples.UWP/Samples.UWP.csproj index 941a334b7..3d67c12aa 100644 --- a/Samples/Samples.UWP/Samples.UWP.csproj +++ b/Samples/Samples.UWP/Samples.UWP.csproj @@ -90,8 +90,9 @@ true - + + diff --git a/Samples/Samples.iOS/Entitlements.plist b/Samples/Samples.iOS/Entitlements.plist index 0c67376eb..6512aef47 100644 --- a/Samples/Samples.iOS/Entitlements.plist +++ b/Samples/Samples.iOS/Entitlements.plist @@ -1,5 +1,10 @@ - + + keychain-access-groups + + com.xamarin.essentials + + diff --git a/Samples/Samples.iOS/Samples.iOS.csproj b/Samples/Samples.iOS/Samples.iOS.csproj index 01c0524e4..eafb04de8 100644 --- a/Samples/Samples.iOS/Samples.iOS.csproj +++ b/Samples/Samples.iOS/Samples.iOS.csproj @@ -27,6 +27,9 @@ Full true --linkskip=Xamarin.Forms.Platform.iOS --linkskip=Xamarin.Forms.Platform --linkskip=Xamarin.Forms.Core --linkskip=Xamarin.Forms.Xaml --linkskip=Samples + iPhone Developer + + Entitlements.plist true @@ -74,7 +77,8 @@ - + + @@ -116,4 +120,4 @@ - \ No newline at end of file + diff --git a/Samples/Samples/Samples.csproj b/Samples/Samples/Samples.csproj index 61b0a6a5c..68798b55e 100644 --- a/Samples/Samples/Samples.csproj +++ b/Samples/Samples/Samples.csproj @@ -14,13 +14,14 @@ - + + - + diff --git a/Samples/Samples/View/AllSensorsPage.xaml b/Samples/Samples/View/AllSensorsPage.xaml index 93db3fe83..5064198b3 100644 --- a/Samples/Samples/View/AllSensorsPage.xaml +++ b/Samples/Samples/View/AllSensorsPage.xaml @@ -141,6 +141,41 @@