我正在尝试安装" https://github.com/florentvaldelievre/virtualartifacts-webintent"在我的cordova应用程序中从应用程序URL获取参数。
window.plugins.webintent.getUri(function(url) {
alert(url);
});
**But, the url will return 2 params as utm_source and utm_medium.**
I am using the referral link like: "TestApp://https://play.google.com/store/apps/details?id=test.product&referral_code=testrefer"
AndroidManifest.xml write the following:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="TestApp" />
</intent-filter>
I don't get the "referral_code" parameter from the URL.
Any one please help me....