code: function (e) {
                  // Making all the details available as activationContext
                  platform.activationContext = utils.clone(e.detail);         /* CB-10653 to avoid losing detail properties for some activation kinds */
                  platform.activationContext.raw = e.detail;                  /* CB-11522 to preserve types */
                  platform.activationContext.args = e.detail.arguments;       /* for backwards compatibility */
  
                  function makePromise(fn) {
                      return new WinJS.Promise(function init(completeDispatch, errorDispatch) {
                          fn(function successCb(results) {
                              completeDispatch(results);
                          }, function errorCb(error) {
                              errorDispatch(error);
                          });
                      });
                  }
  
                  if (e.detail.previousExecutionState === Windows.ApplicationModel.Activation.ApplicationExecutionState.running
                          || e.detail.previousExecutionState === Windows.ApplicationModel.Activation.ApplicationExecutionState.suspended) {
                      cordova.fireDocumentEvent('activated', platform.activationContext, true);
                      return;
                  }
  
                  var manifest;
  
                  e.setPromise(makePromise(configHelper.readManifest).then(function (manifestTmp) {
                      manifest = manifestTmp;
                      return makePromise(configHelper.readConfig);
                  })
                  .then(function (config) {
                      splashscreen.firstShow(config, manifest, e);
                  }).then(function () {
                      // Avoids splashimage flicker on Windows Phone 8.1/10
                      return WinJS.Promise.timeout();
                  }).then(function () {
                      cordova.fireDocumentEvent('activated', platform.activationContext, true);
                  }));
              }
docs: activation args are available via the activated event OR cordova.require('cordova/platform').activationContext activationContext:{type: actType, args: args};