VideoLAN and Huawei are in a fight. So much so, that you can no longer grab the ever-popular, feature-packed VLC media player app from the Google Play Store on Huawei smartphones — VideoLAN's nuclear option. But you can still download the VLC APK directly from VideoLAN and you should... with a few adjustments.
The reason for VideoLAN's self-blacklisting is simple, according to company president Jean-Baptiste Kempf:
"Huawei devices are now forbidden to download VLC. We're fed up with their OS breaking VLC all the time. Huawei basically kills VLC when the screen is shutting down. So that kills VLC when it plays audio in background".
If you're using an older version of EMUI, which enough people seem to be (and then blast the VLC app with negative reviews on Apple's App Store or the Google Play Store), your movie-watching or music-listening experience is going to be hampered by your smartphone's default settings.
While VideoLAN works with Huawei to solve this problem, there are a few workarounds you can use to watch or listen to movies and music without any issues.
First, you'll need to visit VideoLAN's website on your Huawei device, download the VLC APK and open it to side-load it on to your device. You might have to first allow installations from "Unknown Sources" in the Security section of your Settings app.
After that, you might have to do a bit of digging for the other settings you'll want to tweak:
Go to Settings > Battery, tap the three-dot icon, tap on Battery optimization, select "all apps" from the drop-down menu, find VLC and switch it to "Don't optimize".
As this Reddit commenter notes, this list of apps might also be buried under Settings > Apps > Settings (the gear icon) > Special access > Ignore Optimizations. (You'll find a screenshot walk-through here.)
Again, I don't have a Huawei smartphone, but that probably wouldn't help out much given the different versions of EMUI people run on different Huawei smartphones. In general, you're going to want to look for any way you can disable your smartphone's power or battery-optimisation features for apps and any way you can whitelist or "protect" specific apps from Huawei's automatic shutdowns.
Above all else, make sure your device is running the latest version of Android and Huawei's EMUI. That might fix your VLC issues outright while you wait for VLC and Huawei to work on an official fix or, at minimum, an in-app prompt that lets you adjust your smartphone's battery settings when you first load VLC.