Skip to content

Commit

Permalink
Message.TimeToLive should be an int #8
Browse files Browse the repository at this point in the history
  • Loading branch information
angelobelchior committed Aug 17, 2017
1 parent df7851d commit 6b5679a
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Code/Message.cs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public class Message
/// This parameter specifies how long (in seconds) the message should be kept in FCM storage if the device is offline. The maximum time to live supported is 4 weeks, and the default value is 4 weeks.
/// </summary>
[JsonProperty("time_to_live")]
public byte? TimeToLive { get; set; }
public int? TimeToLive { get; set; }

/// <summary>
/// This parameter specifies the package name of the application where the registration tokens must match in order to receive the message.
Expand Down
4 changes: 2 additions & 2 deletions FCM.Net.Core/FCM.Net.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
<PackageTags>.net google android fcm Firebase Cloud Messaging</PackageTags>
<PackageReleaseNotes>Essa biblioteca foi escrita seguindo a documentação do próprio Google (https://firebase.google.com/docs/cloud-messaging/) com o intuito de facilitar o envio de mensagens a partir de um server app / desktop app (Console Application, Asp.Net, Windows Forms, WPF, etc).</PackageReleaseNotes>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<AssemblyVersion>1.0.1.0</AssemblyVersion>
<FileVersion>1.0.1.0</FileVersion>
<AssemblyVersion>1.0.4.0</AssemblyVersion>
<FileVersion>1.0.4.0</FileVersion>
<Authors>Angelo Belchior</Authors>
<Copyright>Free</Copyright>
</PropertyGroup>
Expand Down
1 change: 0 additions & 1 deletion FCM.Net.Core/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
Expand Down
6 changes: 2 additions & 4 deletions FCM.Net.PCL/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using System.Resources;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;

// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
Expand All @@ -26,5 +24,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
[assembly: AssemblyVersion("1.0.4.0")]
[assembly: AssemblyFileVersion("1.0.4.0")]
2 changes: 1 addition & 1 deletion FCM.Net.Standard/FCM.Net.Standard.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<TargetFramework>netstandard1.6</TargetFramework>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>1.0.2.0</Version>
<Version>1.0.4.0</Version>
<Authors>Angelo Belchior</Authors>
<Company>Angelo Belchior</Company>
<Description>Biblioteca para facilitar envio de Push Notification usando o Firebase Cloud Messaging do Google</Description>
Expand Down
4 changes: 2 additions & 2 deletions FCM.Net/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.2.0")]
[assembly: AssemblyFileVersion("1.0.2.0")]
[assembly: AssemblyVersion("1.0.4.0")]
[assembly: AssemblyFileVersion("1.0.4.0")]

0 comments on commit 6b5679a

Please sign in to comment.