Today we are going to discuss a very interesting point regarding the Android Port.
We can build simple games without any third party plugins. But if you are using third party plugins then every plugin comes with his own AndroidManifest File.
This Manifest file contains all the required information related to the plugins. Some of the plugins work on defined SDK version only. So SDK details, Name, Version and all other information are in the file.
So every AndroidManifest file is very important for the plugin.
Unity handles these Manifest files automatically but the main point is a path. Normally each plugin uses the following path to store the AndroidMenifest file and that is:
Plugins > Android > AndroidManifest.xml
But issue is that you can't override these files manually. But you need to put same files at same locations.
This can be done by changing the extension. But Unity needs .xml extension only.
So that's is very important point here.
We can add one more extension with AndroidMenifest.xml file. i.e. example
We can add AndroidManifest.example.xml file with same path. Then Unity will merge all the files and you will able use different Plugins.
Try this and have fun.
Let me know if you have any query in this. Till then Keep Coding...