Unity plugin system for Android and iOS based on JSON.
To compile AAR module check Java folder. iOS module just .mm files in Unity plugins directory.
There are three test plugins in demo. Build APK or Xcode project, run, and see console for test result.