{"id":19935638,"url":"https://github.com/gameanalytics/nativescript-gameanalytics","last_synced_at":"2025-05-03T12:31:26.386Z","repository":{"id":27504010,"uuid":"114172577","full_name":"GameAnalytics/nativescript-gameanalytics","owner":"GameAnalytics","description":"Repository for GameAnalytics NativeScript SDK.","archived":false,"fork":false,"pushed_at":"2023-03-04T15:01:21.000Z","size":5925,"stargazers_count":3,"open_issues_count":11,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-07T15:54:41.186Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GameAnalytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-13T21:50:41.000Z","updated_at":"2022-06-01T12:57:28.000Z","dependencies_parsed_at":"2024-11-19T20:48:59.087Z","dependency_job_id":null,"html_url":"https://github.com/GameAnalytics/nativescript-gameanalytics","commit_stats":null,"previous_names":[],"tags_count":36,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameAnalytics%2Fnativescript-gameanalytics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameAnalytics%2Fnativescript-gameanalytics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameAnalytics%2Fnativescript-gameanalytics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GameAnalytics%2Fnativescript-gameanalytics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GameAnalytics","download_url":"https://codeload.github.com/GameAnalytics/nativescript-gameanalytics/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252190968,"owners_count":21708987,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T23:21:08.497Z","updated_at":"2025-05-03T12:31:25.922Z","avatar_url":"https://github.com/GameAnalytics.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![npm](https://img.shields.io/npm/v/nativescript-gameanalytics.svg)](https://www.npmjs.com/package/nativescript-gameanalytics)\n[![npm](https://img.shields.io/npm/dt/nativescript-gameanalytics.svg?label=npm%20downloads)](https://www.npmjs.com/package/nativescript-gameanalytics)\n[![MIT license](http://img.shields.io/badge/license-MIT-brightgreen.svg)](http://opensource.org/licenses/MIT)\n\n# NativeScript-GameAnalytics\nNativeScript plugin for the GameAnalytics SDK for Android and iOS.\n\n\u003e **Warning**\n\u003e This SDK has been deprecated since 25th August 2022 and will not receive further updates. This repository is for legacy purposes only.\n\nNot being maintained anymore\n\n#### Native Libraries:\nAndroid | iOS\n---------- | -----------\n[GA-SDK-ANDROID](https://github.com/GameAnalytics/GA-SDK-ANDROID) |  [GA-SDK-IOS](https://cocoapods.org/pods/GA-SDK-IOS)\n\n## Installation\nFrom your command prompt/terminal go to your app's root folder and execute:\n\n#### NativeScript (only 3.0+)\n`tns plugin add nativescript-gameanalytics`\n\n## Usage\n```\nimport {\n    GameAnalyticsSDK as GameAnalytics,\n    EGAResourceFlowType,\n    EGAProgressionStatus,\n    EGAErrorSeverity,\n    EGAGender\n} from 'nativescript-gameanalytics';\n\n// To initialize the SDK...\n\npublic initializeGameAnalytics() {\n    GameAnalytics.initialize(\"[INSERT_GAME_KEY]\", \"[INSERT_SECRET_KEY]\");\n}\n\n// To send events...\npublic sendEvent() {\n    GameAnalytics.addDesignEvent(\"design:event\");\n}\n\n```\n\nFor more documentation click [here](https://gameanalytics.com/docs/nativescript-sdk).\n\nChangelog\n---------\n\u003c!--(CHANGELOG_TOP)--\u003e\n**3.0.1**\n* added session_num to init request\n\n**3.0.0**\n* Remote Config calls have been updated and the old calls have deprecated. Please see GA documentation for the new SDK calls and migration guide\n* A/B testing support added\n\n**2.1.3**\n* removed enum from declaration file\n\n**2.1.2**\n* dependencies updated\n\n**2.1.1**\n* declaration file fixed\n\n**2.1.0**\n* added enable/disable event submission function\n\n**2.0.4**\n* updated nativescript version\n\n**2.0.3**\n* small fixes to android\n\n**2.0.2**\n* fixed business event validation\n\n**2.0.1**\n* small bug fixes\n\n**2.0.0**\n* added comand center functionality\n\n**1.1.8**\n* updated native libs\n\n**1.1.7**\n* reversed to tns-core-modules 3.4.0\n\n**1.1.6**\n* another fix to gradle file\n\n**1.1.5**\n* another fix to gradle file\n\n**1.1.4**\n* small fix to gradle file\n\n**1.1.3**\n* README updated\n\n**1.1.2**\n* fixed specific method for android that kept app hanging\n\n**1.1.1**\n* small fix to declaration file\n\n**1.1.0**\n* added GA beta functionality from native libs\n\n**1.0.16**\n* updated native libraries\n\n**1.0.15**\n* fixed session length bug\n* fixed not allowing to add events when session is not started\n\n**1.0.14**\n* changed to use pod file for ios platform\n\n**1.0.13**\n* updated google play services compiled with native android library\n\n**1.0.12**\n* updated native libraries\n\n**1.0.11**\n* updated native ios header for missing function (ios)\n\n**1.0.10**\n* small bug fix in initialize function for ios (ios)\n\n**1.0.9**\n* fixed version sent with events\n\n**1.0.8**\n* fixed setting sdk version when initializing\n\n**1.0.7**\n* updated version validator in native libraries\n\n**1.0.6**\n* added sdk version to tracking\n\n**1.0.5**\n* bug fix initialize for android\n\n**1.0.4**\n* updated native ios library version used\n\n**1.0.3**\n* updated native android library version used\n\n**1.0.2**\n* small fix for clearing current custom dimension for iOS\n\n**1.0.1**\n* readme updated\n\n**1.0.0**\n* initial commit\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgameanalytics%2Fnativescript-gameanalytics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgameanalytics%2Fnativescript-gameanalytics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgameanalytics%2Fnativescript-gameanalytics/lists"}