Skip to content

Commit

Permalink
Merge pull request #6 from nmg196/master
Browse files Browse the repository at this point in the history
Add support for ChromeWebImage property required for the Windows brow…
  • Loading branch information
Alegrowin authored Dec 3, 2020
2 parents 4ad45be + e97ff61 commit f86f6fa
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
6 changes: 3 additions & 3 deletions OneSignal.RestAPIv3.Client/OneSignal.RestAPIv3.Client.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<IncludeSymbols>true</IncludeSymbols>
<IncludeSource>true</IncludeSource>
<Version>1.1.2</Version>
<Version>1.1.3</Version>
<PackageIcon>https://raw.githubusercontent.com/Alegrowin/OneSignal.RestAPIv3.Client/master/OneSignal.RestAPIv3.Client/onesignal_large_icon_default.png</PackageIcon>
<PackageProjectUrl>https://github.com/Alegrowin/OneSignal.RestAPIv3.Client</PackageProjectUrl>
<PackageLicense>https://github.com/Alegrowin/OneSignal.RestAPIv3.Client/blob/master/LICENSE</PackageLicense>
Expand All @@ -19,8 +19,8 @@ Feel Free to contribute! :)</Description>
</PackageReleaseNotes>
<ApplicationIcon />
<Win32Resource />
<AssemblyVersion>1.1.2.0</AssemblyVersion>
<FileVersion>1.1.2.0</FileVersion>
<AssemblyVersion>1.1.3.0</AssemblyVersion>
<FileVersion>1.1.3.0</FileVersion>
<PackageId>OneSignal.RestAPIv3.Client</PackageId>
</PropertyGroup>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,16 @@ public class NotificationCreateOptions
[JsonProperty("chrome_web_icon")]
public string ChromeWebIcon { get; set; }

/// <summary><br/>
/// Sets the web push notification's large image. <br/>
/// An image URL linking to a valid image. <br/>
/// Common image types are supported; GIF will not animate. <br/>
/// We recommend 2:1 aspect ratio and a minimum width of 512px to display well on high DPI devices. <br/>
/// Common sizes: 512x256px 1440x720px
/// </summary>
[JsonProperty("chrome_web_image")]
public string ChromeWebImage { get; set; }

/// <summary><br/>
/// The notification's subtitle, a map of language codes to text for each language.<br/>
/// Each hash must have a language code string for a key, mapped to the localized text you would like users to receive for that language. <br/>
Expand Down

0 comments on commit f86f6fa

Please sign in to comment.