This repository was archived by the owner on Feb 10, 2023. It is now read-only.

Description
Using version 1.3.0 of nativescript-urlhandler
Just a PSA, for whatever reason the plugin did not seem to work with Android when android:host="__PACKAGE__" was included in the AndroidManifest along with the scheme. Removing that particular piece fixes the issue.
Copy of the working element
<application android:name="com.tns.NativeScriptApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:theme="@style/AppTheme">
<activity android:name="com.tns.NativeScriptActivity" ... android:launchMode="singleTask">
<meta-data android:name="SET_THEME_ON_LAUNCH" android:resource="@style/AppTheme" />
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!---- Here -----> <data android:scheme="myappscheme" />
</intent-filter>
</activity>
<activity android:name="com.tns.ErrorReportActivity" />
</application>