Closed ethernalyIT closed 9 years ago
I have tested the plugin on the platforms you mention and there isn't an issue - it must be a problem with your implementation, the plugin install or something else in your project. You could try to re-add the platform (or create a new project) and just add this plugin to confirm the issue.
Tried with a new "blank" project, always the same error. I also ask for help here: https://groups.google.com/forum/#!topic/phonegap/d-VOAjdFUu0
Maybe is - as you said - only a configuration issue
Did you try with just the game center plugin?
Plugin loading seems broken: [Log] deviceready has not fired after 5 seconds. (cordova.js, line 1143) [Log] Channel not fired: onPluginsReady (cordova.js, line 1136) [Log] Channel not fired: onCordovaReady (cordova.js, line 1136)
I also tried to use this plugin alone (Without any other plugin) and the error is the same.
Config.xml has:
cordova_plugins.js has: { "file": "plugins/gamecenter/www/gamecenter.js", "id": "uk.co.ilee.gamecenter.GameCenter", "clobbers": [ "gamecenter" ] }
and: "uk.co.ilee.gamecenter": "0.2.9"
Index.js, the main app initializer has, after DeviceReady: app.receivedEvent("deviceready"); var successCallback = function (user) { alert(user.alias); // user.alias, user.playerID, user.displayName };
Other plugins like "Social Sharing" and "iAd" are correctly working.
Test environment: iOS8 (iPhone) / iOS7.1.1 (iPad) iPhone5, iPad2 and Simulator OSX 10.9.5 cordova 3.5.0-0.2.7