In android, how to add deep link so that myapp:// can open my app?

I use deep link so I install plugin:

ionic cordova plugin add ionic-plugin-deeplinks --variable URL_SCHEME=myapp --variable DEEPLINK_SCHEME=https --variable DEEPLINK_HOST=example.com --variable ANDROID_PATH_PREFIX=/

which I can open my app when input myapp:// in browser in ios. However, in android it does not working, is my command wrong?