What if Spotify would make their app using JavaScript (something like React Native or Cordova) with ability to update bypassing AppStore?
One that attempts to use that functionality to get around the App Store's guidelines, especially one as prominent as Spotify's, will be noticed and yanked from the store.