Hello
During the installation of “deeplinks” with the command
ionic cordova plugin add ionic-plugin-deeplinks
fails:
Variable(s) missing (use: --variable URL_SCHEME=value --variable DEEPLINK_HOST=value).
bad fetch.json
"ionic-plugin-deeplinks": {
"source": {
"type": "registry",
"id": "ionic-plugin-deeplinks"
},
"is_top_level": true,
"variables": {
}
}
Ionic:
Ionic CLI : 5.0.1 (C:\Users\coco\AppData\Roaming\npm\node_modules\ionic)
Ionic Framework : @ionic/angular 4.4.2
@angular-devkit/build-angular : 0.8.9
@angular-devkit/schematics : 7.3.9
@angular/cli : 7.3.9
@ionic/angular-toolkit : 1.5.1Cordova:
Cordova CLI : 9.0.0 (cordova-lib@9.0.1)
Cordova Platforms : android 8.0.0, ios 5.0.1
Cordova Plugins : cordova-plugin-ionic-webview 2.2.3, (and 10 other plugins)Utility:
cordova-res : 0.3.0
native-run : 0.2.2System:
NodeJS : v10.0.0 (C:\Program Files\nodejs\node.exe)
npm : 6.9.0
OS : Windows 10
I can run
ionic cordova plugin add ionic-plugin-deeplinks --variable URL_SCHEME=example --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=midomain.com
and it works, but before I could run it without the variables and add them later in the “config.xml” file
good fetch.json
"ionic-plugin-deeplinks": {
"source": {
"type": "registry",
"id": "ionic-plugin-deeplinks"
},
"is_top_level": true,
"variables": {
"URL_SCHEME": "gpsapp",
"DEEPLINK_SCHEME": "https",
"DEEPLINK_HOST": "gps.divisiongps.com.ar"
}
}