True. Ancient Lady.
It's just that I got everything working perfectly for iOS. So I expected I could follow the same formula for Android.
So, Let me start with the very first thing.
In Tier 2, I have this code in the Begin section:
void app:Begin(void)
{
if (agk::GetGameCenterExists() == 1)
{
agk::GameCenterSetup();
}
}
Now right out the gate I run into a problem on Android. For iOS this runs fine.
What I understand this to mean is that if Game Services is installed on the device, GetGameCenterExists() will detect it and return a value of 1.
I know for Android you have to install Game Services from the Google Play Store, so if you don't have it installed GetGameCenterExists() should return 0.
So I have Google Play Games installed on my device and when my app reaches this command it crashes the app. It doesn't do that on iOS.
So what I did was comment out and went straight to the setup command without the check.
So again, as I wrote before, it makes me wonder about the implementation of the rest of the commands.
I hope that is enough to start. I don't want to get into the rest of my code until I get some satisfaction on the why the crash on GetGameCenterExists() when Google Play Games is installed.
Prove Your Worthiness
KG2Entertainment.com