Custom android plugins with Unity VR

Is it possible to run custom / 3rd party android plugins when deploying to the Gear VR?

If so can someone point me in the direction as of how to do this. I have several 3rd party plugins that when added to the project in the standard manner result in the deployed app reverting to the oculus home screen.

Any pointers would be greatly appreciated.

d

Just in case others are having/have the same problem/question; the answer is yes you can run custom plugins on a gear vr deployment. I managed to run a custom plugin via setting it up so that it didn’t extend the UnityPlayerActivity and just called the java class in the same style as the following:

https://blog.nraboy.com/2014/06/creating-an-android-java-plugin-for-unity3d/

d