Hi Everyone,
This might be a newbie question, but I have been breaking my head on this one.
I have a game that is distributed in the App Store and Google Play Store.
I want to use gameanalytics.com to retrieve analytics from my game.
Gameanalytics.com requires me to have a different game (with it’s own key) for each platform. So this means that I have two keys. One for iOS and one for Android.
However in the Lua code in my game I can only initialise the Gameanalytics plugin with one key.
Is it best practice to use system.getInfo(“platform”) to retrieve the current platform (iOS or Android) and then initialise the Gameanalytics plugin with the corresponding key? Or is there any other best practice?