Migrating from older Ciao Games integrations

If you have already integrated in your game ByteBrew/LevelPlay/Singular based on instructions from Ciao Games, here is a quick migrating guide.
For details on each API, see the API Reference as well Common Flows.

Level Reporting

Then:
You sent separate events to Singular

  • sng_level_achieved
  • mn_level_xxxx or level_xxxx with intervals example: after level 10 send every 5 levels.

Now:
These events are being handled together by just calling: CiaoSDK.SendLevelCompleted
This method will fire both mentioned events with time delay and will handle any interval being set.

IAP Reporting

Then:

  • You sent to Singular: mn_iap or iap

Now:
You can call: CiaoSDK.SendIAPPurchased
This method will also handle both IAPv4 and IAPv5 along with properly sending receipt to Singular in case of iOS.


Custom events

Then:
You sent to Singular

  • mn_eventName_xx or mn_iapPackName etc.

Now
You can call: CiaoSDK.SendEvent("iapPackName")
Check Custom Events.


Did this page help you?