Skip to content
This repository was archived by the owner on Mar 26, 2025. It is now read-only.

Commit 1211672

Browse files
committed
update xf sample
1 parent 15449a0 commit 1211672

File tree

6 files changed

+24
-19
lines changed

6 files changed

+24
-19
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,3 +309,7 @@ Icon
309309
Network Trash Folder
310310
Temporary Items
311311
.apdisk
312+
313+
314+
315+
.mfractor

samples/Xamarin.Forms-sample/TestNugetDeviceOrientationPlugin/TestNugetDeviceOrientationPlugin.Android/TestNugetDeviceOrientationPlugin.Android.csproj

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,6 @@
5353
</Reference>
5454
<Reference Include="Mono.Android" />
5555
<Reference Include="mscorlib" />
56-
<Reference Include="Plugin.CurrentActivity, Version=1.0.1.0, Culture=neutral, processorArchitecture=MSIL">
57-
<HintPath>..\..\packages\Plugin.CurrentActivity.1.0.1\lib\MonoAndroid10\Plugin.CurrentActivity.dll</HintPath>
58-
</Reference>
59-
<Reference Include="Plugin.DeviceOrientation, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
60-
<HintPath>..\..\packages\Plugin.DeviceOrientation.1.0.4\lib\MonoAndroid10\Plugin.DeviceOrientation.dll</HintPath>
61-
</Reference>
62-
<Reference Include="Plugin.DeviceOrientation.Abstractions, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
63-
<HintPath>..\..\packages\Plugin.DeviceOrientation.1.0.4\lib\MonoAndroid10\Plugin.DeviceOrientation.Abstractions.dll</HintPath>
64-
</Reference>
6556
<Reference Include="System" />
6657
<Reference Include="System.Core" />
6758
<Reference Include="System.ObjectModel" />
@@ -103,6 +94,16 @@
10394
<Reference Include="Xamarin.Forms.Xaml, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
10495
<HintPath>..\..\packages\Xamarin.Forms.2.3.5.256-pre6\lib\MonoAndroid10\Xamarin.Forms.Xaml.dll</HintPath>
10596
</Reference>
97+
<Reference Include="Plugin.CurrentActivity">
98+
<HintPath>..\..\packages\Plugin.CurrentActivity.2.1.0.4\lib\monoandroid44\Plugin.CurrentActivity.dll</HintPath>
99+
</Reference>
100+
<Reference Include="Java.Interop" />
101+
<Reference Include="Plugin.DeviceOrientation.Abstractions">
102+
<HintPath>..\..\packages\Plugin.DeviceOrientation.1.0.7\lib\MonoAndroid10\Plugin.DeviceOrientation.Abstractions.dll</HintPath>
103+
</Reference>
104+
<Reference Include="Plugin.DeviceOrientation">
105+
<HintPath>..\..\packages\Plugin.DeviceOrientation.1.0.7\lib\MonoAndroid10\Plugin.DeviceOrientation.dll</HintPath>
106+
</Reference>
106107
</ItemGroup>
107108
<ItemGroup>
108109
<Compile Include="MainActivity.cs" />

samples/Xamarin.Forms-sample/TestNugetDeviceOrientationPlugin/TestNugetDeviceOrientationPlugin.Android/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Plugin.CurrentActivity" version="1.0.1" targetFramework="monoandroid71" />
4-
<package id="Plugin.DeviceOrientation" version="1.0.4" targetFramework="monoandroid60" />
3+
<package id="Plugin.CurrentActivity" version="2.1.0.4" targetFramework="monoandroid60" />
4+
<package id="Plugin.DeviceOrientation" version="1.0.7" targetFramework="monoandroid60" />
55
<package id="Xamarin.Android.Support.Animated.Vector.Drawable" version="23.3.0" targetFramework="monoandroid71" />
66
<package id="Xamarin.Android.Support.Design" version="23.3.0" targetFramework="monoandroid71" />
77
<package id="Xamarin.Android.Support.v4" version="23.3.0" targetFramework="monoandroid71" />

samples/Xamarin.Forms-sample/TestNugetDeviceOrientationPlugin/TestNugetDeviceOrientationPlugin.iOS/TestNugetDeviceOrientationPlugin.iOS.csproj

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,6 @@
116116
<InterfaceDefinition Include="Resources\LaunchScreen.storyboard" />
117117
</ItemGroup>
118118
<ItemGroup>
119-
<Reference Include="Plugin.DeviceOrientation, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
120-
<HintPath>..\..\packages\Plugin.DeviceOrientation.1.0.4\lib\Xamarin.iOS10\Plugin.DeviceOrientation.dll</HintPath>
121-
</Reference>
122-
<Reference Include="Plugin.DeviceOrientation.Abstractions, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
123-
<HintPath>..\..\packages\Plugin.DeviceOrientation.1.0.4\lib\Xamarin.iOS10\Plugin.DeviceOrientation.Abstractions.dll</HintPath>
124-
</Reference>
125119
<Reference Include="System" />
126120
<Reference Include="System.IO.Compression" />
127121
<Reference Include="System.Net.Http" />
@@ -140,6 +134,12 @@
140134
<HintPath>..\..\packages\Xamarin.Forms.2.3.5.256-pre6\lib\Xamarin.iOS10\Xamarin.Forms.Xaml.dll</HintPath>
141135
</Reference>
142136
<Reference Include="Xamarin.iOS" />
137+
<Reference Include="Plugin.DeviceOrientation.Abstractions">
138+
<HintPath>..\..\packages\Plugin.DeviceOrientation.1.0.7\lib\Xamarin.iOS10\Plugin.DeviceOrientation.Abstractions.dll</HintPath>
139+
</Reference>
140+
<Reference Include="Plugin.DeviceOrientation">
141+
<HintPath>..\..\packages\Plugin.DeviceOrientation.1.0.7\lib\Xamarin.iOS10\Plugin.DeviceOrientation.dll</HintPath>
142+
</Reference>
143143
</ItemGroup>
144144
<ItemGroup>
145145
<ProjectReference Include="..\TestNugetDeviceOrientationPlugin\TestNugetDeviceOrientationPlugin.csproj">

samples/Xamarin.Forms-sample/TestNugetDeviceOrientationPlugin/TestNugetDeviceOrientationPlugin.iOS/packages.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<package id="Microsoft.NETCore.Platforms" version="1.1.0" targetFramework="xamarinios10" />
44
<package id="Microsoft.Win32.Primitives" version="4.3.0" targetFramework="xamarinios10" />
55
<package id="NETStandard.Library" version="1.6.1" targetFramework="xamarinios10" />
6-
<package id="Plugin.DeviceOrientation" version="1.0.4" targetFramework="xamarinios10" />
6+
<package id="Plugin.DeviceOrientation" version="1.0.7" targetFramework="xamarinios10" />
77
<package id="System.AppContext" version="4.3.0" targetFramework="xamarinios10" />
88
<package id="System.Collections" version="4.3.0" targetFramework="xamarinios10" />
99
<package id="System.Collections.Concurrent" version="4.3.0" targetFramework="xamarinios10" />

samples/Xamarin.Forms-sample/TestNugetDeviceOrientationPlugin/TestNugetDeviceOrientationPlugin/project.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"dependencies": {
44
"Microsoft.NETCore.Portable.Compatibility": "1.0.1",
55
"NETStandard.Library": "1.6.0",
6-
"Plugin.DeviceOrientation": "1.0.4",
6+
"Plugin.DeviceOrientation": "1.0.7",
77
"Xamarin.Forms": "2.3.5.256-pre6"
88
},
99
"frameworks": {

0 commit comments

Comments
 (0)