android/media-samples

I would like to find information on how to implement Picture-in-Picture (PIP) functionality in Unity for Android.

YuPontos opened this issue · 0 comments

I've come across an article (https://medium.com/@ashishgogna9/use-picture-in-picture-mode-in-your-unity-game-app-9789bdcf4f89) and have successfully implemented the Android Picture-in-Picture (PIP) functionality.

However, the issue with this method is that every time I release a new version, I need to switch the build to 'Export Project', then manually edit the UnityPlayerActivity in Android Studio and repackage it into an APK. During this process, I might miss out on 'libil2cpp.so'.

Is there another way to implement PIP functionality directly within Unity?