Is there a way to get the iOS App Transaction info from an app in Unity?

Hi just wondering if there’s a way to get the “App Transaction” information through Unity?

Thanks,
Pete

You would need to create your native plugin to pipe this info in. You can do this by adding native scripts to the Plugins folder: Unity - Manual: Native plug-ins for iOS

I’ve done this by adding a swift script which access the AppTransaction api. I have a objective c/c++ hybrid script (ie. has .mm file extension allowing both C and Obj C to be in the one script), which has marshalled methods to bridge between C# and the native side. The objc script talks to the swift script and passes values back. I don’t know if there’s a way to marshall methods straight to Swift or not. There’s a lot of steps to get this going, but it’s doable.

Okay thanks! Good to know.