Google Play Services Breaking Smartfox on Android
Posted: 28 Mar 2014, 19:36
Hi,
Google is migrating its Google Mobile Ads SDK from Admob to Google Play Services. When converting our Android multiplayer app to Google Play Services, SmartFox simple can't connect anymore with the error:
04-08 15:35:35.099: W/System.err(14036): 13131 [New I/O client worker #1-1] WARN sfs2x.client.controllers.SystemController - No handler exists for this event: 0
It is very easy to reproduce the problem:
1) Download install and run the SmartFox Server on your machine (with the latest patch applied)
2) Download the Android SimpleChat example app and update the SmartFox Client API jars
3) Run the app and connect with the server running on your machine. The app will work flawlessly, as expected
4) Follow these instructions to integrate the Google Mobile Ads SDK:
https://developers.google.com/mobile-ads-sdk/docs/
https://developer.android.com/google/pl ... setup.html
5) Add a simple banner (on the XML) of the sample app
6) The app does not connect anymore
It was tested with the latest Android ADT and SDK in a Samsung Galaxy S2 with Android 4.1.2. I can send the SimpleChat example with the banner integrated if necessary.
This is a very serious problem because as of August 1, 2014 Google will not accept apps with the Admob implementation (only Google Play Service implementation).
Best regards,
Akira
Google is migrating its Google Mobile Ads SDK from Admob to Google Play Services. When converting our Android multiplayer app to Google Play Services, SmartFox simple can't connect anymore with the error:
04-08 15:35:35.099: W/System.err(14036): 13131 [New I/O client worker #1-1] WARN sfs2x.client.controllers.SystemController - No handler exists for this event: 0
It is very easy to reproduce the problem:
1) Download install and run the SmartFox Server on your machine (with the latest patch applied)
2) Download the Android SimpleChat example app and update the SmartFox Client API jars
3) Run the app and connect with the server running on your machine. The app will work flawlessly, as expected
4) Follow these instructions to integrate the Google Mobile Ads SDK:
https://developers.google.com/mobile-ads-sdk/docs/
https://developer.android.com/google/pl ... setup.html
5) Add a simple banner (on the XML) of the sample app
6) The app does not connect anymore
It was tested with the latest Android ADT and SDK in a Samsung Galaxy S2 with Android 4.1.2. I can send the SimpleChat example with the banner integrated if necessary.
This is a very serious problem because as of August 1, 2014 Google will not accept apps with the Admob implementation (only Google Play Service implementation).
Best regards,
Akira