Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Android plugin compatibility and ease of use.

Discussion in 'Android' started by nonlin, Sep 21, 2022.

  1. nonlin

    nonlin

    Joined:
    Dec 12, 2013
    Posts:
    46
    Creating an Android plugin for unity and have two questions related to each other

    1. How do multiple plugins each extend (or rather add) code to the Main UnityPlayerActivty such that no one plugin override the other by setting their extended activity as the main one.

    2. How does one have the Android Plugin extend UnityPlayerActivity such that the end user doesn't have to do anything (like tell their project to use custom Android Manifest so that they can update it to use the extended UnityPlayerActivity from the plugin).

    These two things make android plugin development seem limited until answered and I'm pretty sure Unity can't be limited in this way as I haven't heard of multiple Android plugins constantly clashing with each other.
     
    Voxel-Busters likes this.