packages/auth/src/cordovahandler.js
function(eventData) {
    initialResolve = true;
    // Cancel no event timer.
    if (noEventTimer) {
      noEventTimer.cancel();
    }
    // Incoming link detected.
    // Check for any stored partial event.
    self.getPartialStoredEvent_().then(function(event) {
      // Initialize to an unknown event.
      var authEvent = noEvent;
      // Confirm OAuth response included.
      if (event && eventData && eventData['url']) {
        // Construct complete event. Default to unknown event if none found.
        authEvent = self.extractAuthEventFromUrl_(event, eventData['url']) ||
            noEvent;
      }
      // Dispatch Auth event.
      self.dispatchEvent_(authEvent);
    });
  }
function(eventData) {
    initialResolve = true;
    // Cancel no event timer.
    if (noEventTimer) {
      noEventTimer.cancel();
    }
    // Incoming link detected.
    // Check for any stored partial event.
    self.getPartialStoredEvent_().then(function(event) {
      // Initialize to an unknown event.
      var authEvent = noEvent;
      // Confirm OAuth response included.
      if (event && eventData && eventData['url']) {
        // Construct complete event. Default to unknown event if none found.
        authEvent = self.extractAuthEventFromUrl_(event, eventData['url']) ||
            noEvent;
      }
      // Dispatch Auth event.
      self.dispatchEvent_(authEvent);
    });
  }
function ( eventData ) { initialResolve = true ; // Cancel no event timer. if ( noEventTimer ) { noEventTimer . cancel ( ) ; } // Incoming link detected. // Check for any stored partial event. self . getPartialStoredEvent_ ( ) . then ( function ( event ) { // Initialize to an unknown event. var authEvent = noEvent ; // Confirm OAuth response included. if ( event && eventData && eventData [ 'url' ] ) { // Construct complete event. Default to unknown event if none found. authEvent = self . extractAuthEventFromUrl_ ( event , eventData [ 'url' ] ) || noEvent ; } // Dispatch Auth event. self . dispatchEvent_ ( authEvent ) ; } ) ; }
No event name needed, subscribe to all incoming universal links.
No event name needed subscribe to all incoming universal links .