ionic-team / ionic-plugin-deeplinks

Handle deeplinks into your Ionic/Cordova apps from Universal Links, App Links, and Custom URL schemes. For those using Ionic 2, there are some nice goodies that make life easier.
Other
333 stars 218 forks source link

AndroidManifest.xml has many empty data tags, even though only one host, scheme is specified on installation #67

Open ngyangjo opened 7 years ago

ngyangjo commented 7 years ago

I installed the plugin for a single host, scheme and path prefix, but in the AndroidManifest.xml file there seems to be multiple "data" tags with empty string in host, scheme and "/" in path prefix.

`

            <data android:host=" " android:pathPrefix="/" android:scheme=" " />
            <data android:host=" " android:pathPrefix="/" android:scheme=" " />`

My android prefix path is also not working and I think, it's because of these multiple data tags. http://stackoverflow.com/questions/34276617/android-deep-links-not-following-path-prefix

Woutwo commented 7 years ago

+1

Woutwo commented 7 years ago

@ngyangjo if you edit the "platforms/android/android.json" file and search for "xml": "<intent-filter android:autoVerify= you can see the generated mess. If you modify this line everything will build fine again.