Thank you for posting on the Samsung Developers Forums.
According to the Samsung internet team, the issue with beforeinstallprompt has been solved. You can try testing it using this website: https://mlearn-pwa-web-app-install-prompt.glitch.me/. If the issue persists on your website, please give me a website link where we can replicate the issue. I will forward it to the development team.