GameSparks Backend Integration for Mobile Game

NOVASOLUTIONS.TECHNOLOGY is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.
Development and support of all types of mobile applications:
Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1 servicesAll 1735 services
GameSparks Backend Integration for Mobile Game
Medium
~1-2 weeks
FAQ
Our competencies:
Development stages
Latest works
  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    756
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    624
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1054
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    947
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    862
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    445

GameSparks Backend Integration for Mobile Games

GameSparks—cloud game backend from Amazon (AWS). In 2022, Amazon moved GameSparks to limited support and announced service sunset—creating new games via AWS GameSparks console closed January 2024. If project already uses GameSparks, options are: support and extend existing integration, or migrate to current backend.

Existing Integration: What to Support

GameSparks on Unity used GS.GameSparksAvailable callback for init and GameSparksAuthentication for login:

GS.GameSparksAvailable = (available) => {
    if (available) {
        new DeviceAuthenticationRequest()
            .SetDisplayName(playerName)
            .Send(response => {
                if (!response.HasErrors) {
                    // Successful auth
                    var playerId = response.UserId;
                }
            });
    }
};

Cloud Code (JavaScript on GameSparks) handled business logic: currency grants, move validation, leaderboard. Cloud Code calls via LogEventRequest.

Supporting existing project includes: updating SDK to last compatible version, fixing deprecated APIs, adding new cloud-script modules within existing architecture.

GameSparks Migration

For new projects and long-term development, migration to current backend is mandatory. Options:

Solution Type Notes
Nakama Self-hosted / Cloud Open-source, TypeScript cloud code
PlayFab Cloud (Microsoft) Free tier, Azure integration
Unity Gaming Services Cloud Native Unity integration
Go/Node.js App Custom Full control

Data audit—first migration step. GameSparks stored data in MongoDB-like structure via Runtime Collections. Export via GameSparks REST API or Bulk Jobs. Data schema redescribed for target database.

Cloud Code → server logic. GameSparks JavaScript rewritten to TypeScript (Nakama) or Azure Functions/AWS Lambda (PlayFab). Request semantics differ, but business logic ports block-by-block.

Client SDK. GameSparks SDK removed, add target platform SDK. IGameBackend abstraction layer with Authenticate, SaveData, GetLeaderboard methods allows swapping implementations without changing game logic.

Supporting iOS and Android Projects

Native GameSparks SDK for iOS (Objective-C/Swift) and Android (Java) officially unsupported. Native apps used REST API or WebSocket directly. Existing calls:

POST /rs/{credential}/{secret}/gsi
{
  "@class": ".AuthenticationRequest",
  "deviceId": "...",
  "deviceOS": "IOS"
}

Migrating to PlayFab, equivalent is LoginWithIOSDeviceID / LoginWithAndroidDeviceID. Request structures differ but functionality fully covered.

Timeline

Support and extending existing GameSparks project: estimated by task volume. Migration audit: 2-3 days. Full GameSparks → Nakama or PlayFab migration: 3-8 weeks depending on Cloud Code volume and data. Cost calculated individually.