Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.

Commit

Permalink
Set the launch args correctly on windows (#1976)
Browse files Browse the repository at this point in the history
  • Loading branch information
giuseppelt authored and macdonst committed Sep 29, 2017
1 parent f936707 commit 18cf3f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/windows/PushPluginProxy.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ module.exports = {
onSuccess(result, { keepCallback: true });

var context = cordova.require('cordova/platform').activationContext;
var launchArgs = context ? context.args : null;
var launchArgs = context ? (context.argument || context.args) : null;
if (launchArgs) { //If present, app launched through push notification
var result = { message: '' }; //Added to identify callback as notification type in the API
result.launchArgs = launchArgs;
Expand Down

0 comments on commit 18cf3f4

Please # to comment.