Run the application through deep linking using the result of a QRCode

I have the following scenario:

The user scans a QRCode with an alternate application.

If it has the APP installed, it goes to the main screen.

I’m using the ionic-plugin-deeplinks plugin for this

My implementation:

$cordovaDeeplinks.route({
	      '/welcome': {
	        target: 'welcome',
	        parent: 'we'
	      }
	    }).subscribe(function(match) {
	      $timeout(function() {
	        $state.go(match.$route.parent, match.$args);
	        $timeout(function() {
	          $state.go(match.$route.target, match.$args);
	        }, 800);
	      }, 100);
	    }, function(nomatch) {
	      console.warn('No match', nomatch);
	    });

Installation:
ionic plugin add ionic-plugin-deeplinks --variable URL_SCHEME=test --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=test.com --save

My QRCode has the following url: test.com

But when scanning with this alternate app, nothing happens just goes to the test.com page

What am I missing?