Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Testing a fix for #85

  • Loading branch information...
commit efb665b99823a8f6abf109ccb3af2078820a23c1 1 parent e855e6a
@Redth authored
View
4 ...Sample.MonoTouch/PushSharp.ClientSample.MonoTouch/PushSharp.ClientSample.MonoTouch.csproj
@@ -42,14 +42,14 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>False</ConsolePause>
- <CodesignKey>iPhone Developer</CodesignKey>
+ <CodesignKey>iPhone Developer: Jonathan Dick (FJL7285DY2)</CodesignKey>
<MtouchDebug>True</MtouchDebug>
<MtouchProfiling>True</MtouchProfiling>
- <CodesignProvision>1B48597C-6525-4F00-85CB-6C6DCF165EE9</CodesignProvision>
<IpaPackageName />
<CrashReportingApiKey />
<MtouchI18n />
<MtouchArch>ARMv7</MtouchArch>
+ <CodesignProvision>8C0047A8-CD79-4FB8-B447-8C3A904C551A</CodesignProvision>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
<DebugType>none</DebugType>
View
2  PushSharp.Apple/ApplePushChannel.cs
@@ -272,7 +272,7 @@ void Cleanup()
if (sentNotifications.Count > 0)
{
//Don't expire any notifications while we are in a connecting state
- if (connected || CancelToken.IsCancellationRequested)
+ if ((connected || CancelToken.IsCancellationRequested) || (!connected && QueuedNotificationCount <= 0))
{
//Get the oldest sent message
var n = sentNotifications[0];
View
BIN  Resources/PushSharp.Apns.Sandbox.p12
Binary file not shown
Please sign in to comment.
Something went wrong with that request. Please try again.