Updated the Android sample for uploading to Google Play

This commit is contained in:
Matthew Leibowitz 2016-09-04 04:26:01 +02:00
Родитель 0b3acca896
Коммит b11ad2a55b
6 изменённых файлов: 16 добавлений и 7 удалений

Просмотреть файл

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<KeyStore>
<CreationDate>2016-09-03T00:00:00</CreationDate>
<ValidityInfo>Sat Sep 03 23:32:51 SAST 2016 until: Mon Aug 10 23:32:51 SAST 2116</ValidityInfo>
</KeyStore>

Двоичные данные
samples/AppStoreCertificates/SkiaSharp.keystore Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -6,7 +6,7 @@ using System.IO;
namespace Skia.Forms.Demo.Droid
{
[Activity (Label = "SkiaSharp for Xamarin.Forms", Icon = "@drawable/ic_launcher", Theme = "@style/MyTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
[Activity (MainLauncher = true, ConfigurationChanges = ConfigChanges.ScreenSize | ConfigChanges.Orientation)]
public class MainActivity : global::Xamarin.Forms.Platform.Android.FormsAppCompatActivity
{
protected override void OnCreate (Bundle bundle)

Просмотреть файл

@ -1,5 +1,5 @@
<?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.xamarin.skia_forms_demo" android:installLocation="auto">
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:versionCode="3" android:versionName="1.54.0" package="com.xamarin.skia_forms_demo" android:installLocation="auto">
<uses-sdk android:minSdkVersion="15" />
<application android:label="SkiaSharp for Xamarin.Forms" android:icon="@drawable/ic_launcher"></application>
<application android:label="SkiaSharp for Xamarin.Forms" android:icon="@drawable/ic_launcher" android:theme="@style/MyTheme"></application>
</manifest>

Просмотреть файл

@ -31,10 +31,7 @@
<ConsolePause>false</ConsolePause>
<AndroidUseSharedRuntime>True</AndroidUseSharedRuntime>
<EmbedAssembliesIntoApk>True</EmbedAssembliesIntoApk>
<BundleAssemblies>False</BundleAssemblies>
<AndroidCreatePackagePerAbi>False</AndroidCreatePackagePerAbi>
<Debugger>Xamarin</Debugger>
<AndroidEnableMultiDex>False</AndroidEnableMultiDex>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
@ -45,6 +42,8 @@
<AndroidUseSharedRuntime>false</AndroidUseSharedRuntime>
<ConsolePause>false</ConsolePause>
<AndroidSupportedAbis>armeabi-v7a;x86;arm64-v8a;x86_64</AndroidSupportedAbis>
<AndroidLinkMode>Full</AndroidLinkMode>
<EnableProguard>true</EnableProguard>
</PropertyGroup>
<ItemGroup>
<Reference Include="FormsViewGroup, Version=2.0.0.0, Culture=neutral, processorArchitecture=MSIL">
@ -147,6 +146,9 @@
<ItemGroup>
<AndroidResource Include="Resources\values\styles.xml" />
</ItemGroup>
<ItemGroup>
<ProguardConfiguration Include="proguard.cfg" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
<Import Project="..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets" Condition="Exists('..\packages\Xamarin.Android.Support.Vector.Drawable.23.3.0\build\Xamarin.Android.Support.Vector.Drawable.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">

Просмотреть файл

@ -0,0 +1,2 @@
-keep class android.support.v7.widget.FitWindowsFrameLayout { *; }