question

shashchamp avatar image
shashchamp asked

com.amazon.ags.api.whispersync.SynchronizeBlobCallback is missing from 2.0

Hi I am upgrading my game from Amazon gamecircle -1.2.1 jar to 2.0 SDK. For whispersync I used com.amazon.ags.api.whispersync.SynchronizeBlobCallback; and this class is missing from 2.0 SDK and throws an error. Can someone tell me why is this missing and what is alternate class for this. My code mBlobCallback = new SynchronizeBlobCallback() { @Override public void onAlreadySynchronized() { // nothing to do, data is already in sync log.trace( "onAlreadySynchronized" ); } @Override public void onConflictDeferral() { // a conflict was encountered, but the gamer chose to ignore it log.trace( "onConflictDeferral" ); } @Override public void onGameUploadSuccess() { // current data has been synchronized log.trace( "onGameUploadSuccess" ); } @Override public void onSynchronizeFailure(ErrorCode errorCode) { // sync failed log.error( "onSynchronizeFailure (error " + errorCode + ")" ); } @Override public boolean onNewGameData( byte[] data ) { log.trace( "onNewGameData" ); handleNewCloudData( data ); return true; // Handled }
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Shashchamp, Thank you for posting. You should register WhispersyncEventListener to your WhispersyncClient instance to be reported while whispersync events occur. Please refer below links for better understanding. https://developer.amazon.com/sdk/gamecircle/documentation/whispersync.html#Section2 https://images-na.ssl-images-amazon.com/images/G/01/mobile-apps/devportal2/content/sdk/gamecircle/javadocs/index.html?com/amazon/ags/api/whispersync/WhispersyncEventListener.html
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

shashchamp avatar image
shashchamp answered
Hi Sujoy Thanks for reply, I'll look into that. I have one more question, Since I've already implemented GameCircle in my game with 1.2.1, how can I test it in developer mode by creating new account and new package name ? Previously we used to whitelist the users and put the signatures in but wasn't able to find any stuff regarding that. Thanks in advance
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Shashchamp, Thank you for re-posting. In order to white list your app for GameCircle 1.x, you need to send the package name and signature to gamecircle-developers@amazon.com so that we can manually add those from back end. Thanks.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

shashchamp avatar image
shashchamp answered
Thanks Sujoy So can you please specify the link or email-id to which I can send the package name and signature. Also after this do we need whitelisting of users for testing specifically and what should I do while uploading the app to Amazon store. If you specify all the steps I need to follow from here on till publishing my app(that is testing app for gamecircle and later publish it), it will be really helpful. Thanks a lot in advance
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Sujoy@Amazon avatar image
Sujoy@Amazon answered
Hi Shashchamp, You should send your package name and signature to gamecircle-developers@amazon.com. Below links would provide you the information for better understanding about "Using the Sandbox Features" and "Publishing to Amazon" https://developer.amazon.com/sdk/gamecircle/documentation/sandbox.html https://developer.amazon.com/sdk/gamecircle/documentation/submit.html Hope this helps.
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.