Is there more detailed documentation of defold IAC?

Hi

Is there anymore detailed documentation about defold IAC? Like how to setup the app link that the app is listening on

Let say I want to listen to test-app:// url on Android, where should I specify the “test-app” text so the app know what to listen?

So far the docs that I found are these

Ah, yes, that is not very helpful documentation. There is a hint how to do it in the code example:

For the package name used in the example it should be a link looking like this:

com.defold.iac://testdata

Where com.defold.iac is the package name while testdata is the data you are receiving from the IAC callback in your game.

1 Like

I too could not make sense of the setup process due to the incomplete documentation and my google search led me here..

So, as per your suggestion and the hint in the example, our package name is the custom schema for our game?

But according to another forum post I found: Is it something wrong with extension IAC on iOS? , that user managed to set a custom schema name somehow and then showed it working in the video.

Which one is it? Some clarity on this would be appreciated.

Thanks

If you look into this file of the extension code I think you can guest how it works. Yes, just put your app scheme name into the array. It’s quite a long time when I did it for my app so I couldn’t tell you the details but you can modify the Info.plist from the bundle resources folder (maybe another folder, I forgot) of your project

1 Like

thanks for your reply. So you manually edited the info.plist to get your custom schema?.. in other words the package name as mentioned in the example would also work.?

Thanks

Yes.

Yes, it’s still working if you keep the scheme as in the extension file.

1 Like