Official GameAnalytics SDK for Construct 2/3
Great service. But when using worker mode within this plugin the game doesn't run.
Hi, how do I get stats on this? I like it so far! There are no analytics apps for C3 yet :(
You can create a profile on go.gameanalytics.com (which you need anyway to use the plugin)
Hey, I don't know if you need to add any update but recently I'm getting following error when trying to export to Android:
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:checkDebugAarMetadata'.
Could not resolve all dependencies for configuration ':app:debugRuntimeClasspath'.
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://release)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See org.gradle.api.artifacts.repositories.urlartifactrepository.html for more details.
Having this same issue. My e-mail to GameAnalytics returned no replies from them.
Sad to hear. Well, I found workaround. Export the app as Cordova project. Find maven link of gameanalytics and add allowInsecureProtocol = true to the node. Then cordova build android.
No 2.1.0+ version of the plugin is compatible with workers, when initializing, it freezes due to an uncaught error:
"Uncaught (in promise) ReferenceError: window is not defined"
Just to inform you, I just won't set worker enabled
I hava this problem too
Can you change the properties to have separate Game Keys for Android and iOS etc. Or add an action to be able to change this ourselves. Otherwise you'd have to re-input the keys each time you want to export to different platforms. Thanks
In version 1.1.1 it possible to use seperate keys. Note Android and iOS keys will only be used in Cordova exports and browser keys for normal HTML5 export.
Good point, we will add that for our next release.
Can you add categories to the c3 plugin, I ran into the issue with construct 2 where the size of the actions and lack of categories lead to the actions going invisible when my mouse moved over them so I split everything into categories and simplified all of the longer action names, here's how it looks now i.imgur.com/eUqNwOj.png ,I'm not sure if the flickering still persists in Construct 3 but the organizational benefits are still there
Hello there, it looks that your plug-in it doesn't work anymore. I'm unable to export to AAB using Scirra built server. Please update the plug-in
I got a C3 error when exporting to Android (Cordova) and using advanced minify mode. I'm using addon version 3.0.14.
/str/c3runtime.js:4396:4: ERROR - [JSC_UNDEFINED_VARIABLE] variable C3 is undeclared
4396| C3.Plugins.GameAnalytics = class GameAnalyticsPlugin extends C3.SDKPluginBase
^^
1 error(s), 0 warning(s)
can no longer build for android.
> Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://maven.gameanalytics.com/release)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See docs.gradle.org/7.1.1/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html for more details.
Same. After the update. Please update it properly.
Thanks for providing this addon!
There are however a few issues with it:
1. Custom user ID setting has no effect. I checked the addon code and user_id is in fact not initialized. Also, it would be helpful if there was an action to set it.
2. Expressions like getRemoteConfigsValueAsString don't return any value.
3. The results from those expressions can be accessed from the callback function. However, only the old C2 runtime functions are supported. The new C3 functions don't work.