fixed push register error message

- added Entitlements.plist
- clear Application.cs
This commit is contained in:
Mykyta Bondarenko 2018-04-16 12:02:21 +03:00
Родитель cc5646d950
Коммит 32a2c2513b
3 изменённых файлов: 15 добавлений и 13 удалений

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

@ -1,20 +1,12 @@
using System;
using UIKit;
namespace Example_Notifications
{
public class Application// : UIApplication
public class Application
{
public static void Main (string[] args)
public static void Main(string[] args)
{
try
{
UIApplication.Main (args, null, "AppDelegate");
}
catch (Exception e)
{
Console.WriteLine (e.ToString ());
}
UIApplication.Main(args, null, "AppDelegate");
}
}
}
}

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

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>aps-environment</key>
<string>development</string>
</dict>
</plist>

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

@ -57,6 +57,7 @@
</MtouchI18n>
<MtouchUseArmv7>false</MtouchUseArmv7>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>
@ -70,6 +71,7 @@
</MtouchI18n>
<MtouchUseArmv7>false</MtouchUseArmv7>
<MtouchArch>ARMv7, ARM64</MtouchArch>
<CodesignEntitlements>Entitlements.plist</CodesignEntitlements>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
@ -94,7 +96,6 @@
</Compile>
</ItemGroup>
<ItemGroup>
<Folder Include="Code\" />
<Folder Include="Screens\" />
<Folder Include="Screens\iPhone\" />
<Folder Include="Screens\iPhone\Home\" />
@ -103,6 +104,7 @@
</ItemGroup>
<ItemGroup>
<None Include="Info.plist" />
<None Include="Entitlements.plist" />
</ItemGroup>
<ItemGroup>
<InterfaceDefinition Include="Screens\iPhone\Home\Home_iPhone.xib" />