Commit c456f9c7 authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Support for Foreground-Callback (WP8)

parent 864d5d2e
Loading
Loading
Loading
Loading
+5 −0
Changes for src/wp8/LocalNotification.cs: 5 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -44,6 +44,11 @@ namespace Cordova.Extension.Commands

                // Update the Application Tile
                AppTile.Update(TileData);

                if (!string.IsNullOrEmpty(options.Foreground))
                {
                    DispatchCommandResult(new PluginResult(PluginResult.Status.OK, options.Foreground + "," + options.ID));
                }
            }

            DispatchCommandResult();