1. navigator api: getinstalledrelatedapps

  2. window api: `appinstalled` event