Log in or register to post comments

Combining with other plugins

March 16, 2012 - 12:47pm #1

What' the best way to combine Vuforia with other iOS or Android plugins, such as the GyroDroid plugin?

Should there be order of import?

Should certain things in the Android manifest be in a certain order or always first?

Re: Combining with other plugins

March 18, 2012 - 8:52am #2

It depends on how the other plugin is structured. Vuforia extends the UnityPlayer class, so if the other plugin also extends this class it probably won't be possible to merge them. You also need to use our QCARPlayerActivity and QCARPlayerNativeActivity classes. You can extend these classes, but again if the other plugin defines its own activities you might not be able to merge them. Note some plugins might include extra activities that run before or after the main Unity activity - this should be fine.

In general, I suggest starting with the Vuforia manifest file and adding any extra activities, permissions, etc. from the other plugin's manifest file. I might suggest importing Vuforia first, copying the manifest file to a safe place, then importing the other plugins and merging any changes to the manifest.

- Kim

Log in or register to post comments