I couldn't find any documentation on how to install a branch of a Github Repo (e.g. a PR to one of the Cordova plugins). This should probably be added to https://cordova.apache.org/docs/en/8.x/platform_plugin_versioning_ref/index.html which explains how to install paths, versions etc.