In Source/ThirdParty/GooglePlayGamesLibrary/GooglePlayGames_APL.xml the AndroidThunkJava_GPGS_getIsSignedIn is not implemented which will cause a crash in the constructor of UBFL_GooglePlayGames
I had to add this:
public boolean AndroidThunkJava_GPGS_getIsSignedIn()
{
return gpgs_manager.getIsSignedIn();
}
And in BFL_GooglePlayGames.cpp the line INIT_JAVA_METHOD(AndroidThunkJava_GPGS_writeSavedGame, "(Ljava/lang/String;Ljava/lang/String;B)V"); needs to be INIT_JAVA_METHOD(AndroidThunkJava_GPGS_writeSavedGame, "(Ljava/lang/String;Ljava/lang/String;[B)V"); note [B instead of B because the arg is a byte array, not just a byte.
Which was a bit fraught because the GPGSManager class is implemented in gpgs.aar. The source of that lib doesn't seem to be anywhere in the repo and I wasn't able to find an API reference anywhere so I had to decompile the jar in that aar in order to make sure that the getIsSignedIn() method actually existed and I wasn't missing something.
Could the source to that lib be made available somewhere so it's picked up by search engines?
In
Source/ThirdParty/GooglePlayGamesLibrary/GooglePlayGames_APL.xmltheAndroidThunkJava_GPGS_getIsSignedInis not implemented which will cause a crash in the constructor ofUBFL_GooglePlayGamesI had to add this:
And in
BFL_GooglePlayGames.cppthe lineINIT_JAVA_METHOD(AndroidThunkJava_GPGS_writeSavedGame, "(Ljava/lang/String;Ljava/lang/String;B)V");needs to beINIT_JAVA_METHOD(AndroidThunkJava_GPGS_writeSavedGame, "(Ljava/lang/String;Ljava/lang/String;[B)V");note[Binstead ofBbecause the arg is a byte array, not just a byte.Which was a bit fraught because the
GPGSManagerclass is implemented ingpgs.aar. The source of that lib doesn't seem to be anywhere in the repo and I wasn't able to find an API reference anywhere so I had to decompile the jar in that aar in order to make sure that thegetIsSignedIn()method actually existed and I wasn't missing something.Could the source to that lib be made available somewhere so it's picked up by search engines?