Offline Mode
Overview
Beamable requires internet connectivity to offer its full suite of benefits. However, even offline, it has an appropriate subset of functionality.
The Connectivity drives the heartbeat sent back to the Beamable backend platform. If the game client loses connectivity, the heartbeat will stop and the Beamable API will gracefully wait for reconnection before resuming the full online feature-set.
Table Of Contents
Feature Support
Key
- - Feature offers full support while the game client is offline
- - Feature offers partial support while the game client is offline
- - Feature offers no support while the game client is offline
Features
Feature | Detail | |
---|---|---|
A/B Testing | Read only operations. Uses local file cache | |
Identity | Read only operations. Uses local file cache | |
Admin | Read only operations. Uses local file cache | |
Analytics | ||
Announcements | ||
Calendars | ||
Chat | ||
Cloud Save | ||
Connectivity | ||
Content | Read only operations. Uses local file cache | |
Currency | Read only operations. Uses local file cache | |
Events | ||
Game Shards | ||
Groups | ||
Inventory | Read only operations. Uses local file cache | |
Leaderboards | Read only operations. Uses local file cache | |
Microservices | ||
Multiplayer | ||
Notifications | ||
Payments | ||
Player History | ||
Promotions | ||
Realm Administration | ||
Skinning | ||
Stats | Read only operations. Uses local file cache | |
Store | Read only operations. Uses local file cache | |
Tournaments | Read only operations. Uses local file cache |
Prefab Support
Generally speaking, Beamable feature prefabs will render properly when offline. Beamable uses a local data cache.
Additionally, some feature prefabs are compatible with the Beamable prefab "OfflineObjects". Attach it to a GameObject for enhancements.
OfflineObjects Support
REST API Support
While online, Beamable will cache the game project, game content, the user, and stats for offline use. As long as the only thing performed while "offline" are read operations, those can function without connectivity.
The other part of this is the local cache. If a request has the "useCache: true" then it can operate to some limited capacity "offline".
Local Cache Support
- /basic/realms/project
- /basic/accounts/me
- /basic/content/manifest?id={manifestID}
- /basic/content/manifest/checksum
- /basic/realms/customer
- /basic/realms/games
- /basic/stats/client/batch?format=stringlist&objectIds={queryString}
The Beamable ConnectivityService hits a /health
route on the Beamable gateway service to ensure that your game can reach the Beamable backend platform.
Updated about 1 year ago