Skip to content

Commit

Permalink
1.0.7.1 sample update
Browse files Browse the repository at this point in the history
  • Loading branch information
masonyc committed Apr 8, 2019
1 parent 492ecb6 commit ec78990
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 42 deletions.
2 changes: 2 additions & 0 deletions Sample/Nuget/Sample.Android/MainActivity.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Android.App;
using Android.Content.PM;
using Android.OS;
using Xamarin.Forms;

namespace Sample.Droid
{
Expand All @@ -14,6 +15,7 @@ protected override void OnCreate(Bundle savedInstanceState)

base.OnCreate(savedInstanceState);
global::Xamarin.Forms.Forms.Init(this, savedInstanceState);
FormsMaterial.Init(this,savedInstanceState);
Xamarin.EnableKeyboardEffect.Platform.Droid.Effects.Init(this);
LoadApplication(new App());
}
Expand Down
8 changes: 4 additions & 4 deletions Sample/Nuget/Sample.Android/Properties/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="1" android:versionName="1.0" package="com.companyname">
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="27" />
<application android:label="Sample.Android"></application>
</manifest>
<uses-sdk android:minSdkVersion="21" android:targetSdkVersion="28" />
<application android:label="Sample.Android"></application>
</manifest>
9 changes: 6 additions & 3 deletions Sample/Nuget/Sample.Android/Sample.Android.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<MonoAndroidResourcePrefix>Resources</MonoAndroidResourcePrefix>
<MonoAndroidAssetsPrefix>Assets</MonoAndroidAssetsPrefix>
<AndroidUseLatestPlatformSdk>false</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v8.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v9.0</TargetFrameworkVersion>
<AndroidHttpClientHandlerType>Xamarin.Android.Net.AndroidClientHandler</AndroidHttpClientHandlerType>
<NuGetPackageImportStamp>
</NuGetPackageImportStamp>
Expand Down Expand Up @@ -50,14 +50,17 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.EnableKeyboardEffect">
<Version>1.0.7</Version>
<Version>1.0.7.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms" Version="3.6.0.264807" />
<PackageReference Include="Xamarin.Forms" Version="3.6.0.293080" />
<PackageReference Include="Xamarin.Android.Support.Design" Version="28.0.0.1" />
<PackageReference Include="Xamarin.Android.Support.v7.AppCompat" Version="28.0.0.1" />
<PackageReference Include="Xamarin.Android.Support.v4" Version="28.0.0.1" />
<PackageReference Include="Xamarin.Android.Support.v7.CardView" Version="28.0.0.1" />
<PackageReference Include="Xamarin.Android.Support.v7.MediaRouter" Version="28.0.0.1" />
<PackageReference Include="Xamarin.Forms.Visual.Material">
<Version>3.6.0.293080</Version>
</PackageReference>
</ItemGroup>
<ItemGroup>
<Compile Include="MainActivity.cs" />
Expand Down
2 changes: 2 additions & 0 deletions Sample/Nuget/Sample.iOS/AppDelegate.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Foundation;
using UIKit;
using Xamarin.Forms;

namespace Sample.iOS
{
Expand All @@ -19,6 +20,7 @@ public partial class AppDelegate : global::Xamarin.Forms.Platform.iOS.FormsAppli
public override bool FinishedLaunching(UIApplication app, NSDictionary options)
{
global::Xamarin.Forms.Forms.Init();
FormsMaterial.Init();
Xamarin.EnableKeyboardEffect.Platform.iOS.Effects.Init();
LoadApplication(new App());

Expand Down
64 changes: 32 additions & 32 deletions Sample/Nuget/Sample.iOS/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -2,37 +2,37 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>8.0</string>
<key>CFBundleDisplayName</key>
<string>Sample.iOS</string>
<key>CFBundleIdentifier</key>
<string>com.companyname.Sample.iOS</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>CFBundleName</key>
<string>Sample.iOS</string>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
<integer>2</integer>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UISupportedInterfaceOrientations~ipad</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationPortraitUpsideDown</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>MinimumOSVersion</key>
<string>12.0</string>
<key>CFBundleDisplayName</key>
<string>Sample.iOS</string>
<key>CFBundleIdentifier</key>
<string>com.companyname.Sample.iOS</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>CFBundleName</key>
<string>Sample.iOS</string>
<key>XSAppIconAssets</key>
<string>Assets.xcassets/AppIcon.appiconset</string>
</dict>
</plist>
7 changes: 5 additions & 2 deletions Sample/Nuget/Sample.iOS/Sample.iOS.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,12 @@
</ItemGroup>
<ItemGroup>
<PackageReference Include="Xamarin.EnableKeyboardEffect">
<Version>1.0.7</Version>
<Version>1.0.7.1</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms" Version="3.6.0.293080" />
<PackageReference Include="Xamarin.Forms.Visual.Material">
<Version>3.6.0.293080</Version>
</PackageReference>
<PackageReference Include="Xamarin.Forms" Version="3.6.0.264807" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Sample\Sample.csproj">
Expand Down
1 change: 1 addition & 0 deletions Sample/Nuget/Sample/MainPage.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:effects="clr-namespace:Xamarin.EnableKeyboardEffect;assembly=Xamarin.EnableKeyboardEffect"
Visual="Material"
x:Class="Sample.MainPage">

<StackLayout VerticalOptions="CenterAndExpand" HorizontalOptions="FillAndExpand">
Expand Down
2 changes: 1 addition & 1 deletion Sample/Nuget/Sample/Sample.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
Expand Down

0 comments on commit ec78990

Please sign in to comment.