There are a lot of questions about running native Android and iOS code in Unity. I am trying to run Unity inside of native Android and native iOS apps.
My problem is that I have two native apps, and I don't want to write code twice when I add a feature.
I currently have two native apps - one in Android and one in iOS. I am trying to write code once, and add it to both. Can I write a Unity program, and put that into my native apps?
I am thinking something along the lines of writing a Unity Android app, building it as an Activity instead of an APK, and launching that Activity from the native android app. Then also the equivalent in iOS, whatever that may be.
Does anyone know a solution to this problem?