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 219 forks source link

AndroidManifest cleaned on build #169

Open sertal70 opened 5 years ago

sertal70 commented 5 years ago

Hi, thanks for your work on this plugin, really useful!

After installation it configures all files as expected and I can build/run Android and iOS app without any problem.

After first build, if I make any changes to Cordova config.xml (even changes not related to deep links plugin settings) and then build again the project with ionic cordova build android the intent-filter directives in the AndroidManifest.xml file are removed so deeplinks don't work anymore.

How can I avoid this to happen? Thanks!

Here there are informations about my configuration:


cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.1.1 (cordova-lib@8.1.0)

local packages:

    @ionic/app-scripts : 3.2.0
    Cordova Platforms  : android 6.4.0 ios 4.5.5
    Ionic Framework    : ionic-angular 3.9.2

System:

    Android SDK Tools : 26.1.1
    ios-deploy        : 1.9.4
    ios-sim           : 5.0.13
    Node              : v8.9.3
    npm               : 5.10.0
    OS                : macOS High Sierra
    Xcode             : Xcode 10.1 Build version 10B61

Environment Variables:

    ANDROID_HOME : /Users/Sergio/Library/Android/sdk
jvaane commented 5 years ago

We are also experiencing trouble with this situation, any update on this issue?

Amaury-T commented 4 years ago

Any news on this?