Installation #
1.) Navigate to Assets > Import Package > Custom Package…
2.) Select Heartbeat SDK.unitypackage
3.) Import
Setup SDK #
1.) In Project Settings > Player, change Version to 1.
2.) In Build Settings, change Platform to any supported platform (iOS, Android, Windows – TBD)
3.) Drag and Drop API.prefab into scene. Heartbeat SDK > Prefabs > API
Demo #
Demo introduces the capabilities of the SDK. Can be found at Heartbeat SDK > Scenes > Demo. The demo is best displayed in
portrait mode.
Required Dependencies #
– TextMeshPro
Optional Dependencies #
– In App Purchasing (IAP)
– Addressables (ADDRESSABLES)
– AppLovin SDK (APP_LOVIN)
– Advertisement Legacy (ADS_LEGACY)
Scripting Define Symbols #
Enables scripts using optional dependencies.
1.) Navigate to Edit > Project Settings > Player > Script Compilation > Scripting Define Symbols.
2.) Add needed symbols: IAP, ADDRESSABLES, APP_LOVIN, ADS_LEGACY. Full list above under “Optional Dependencies”.
Important Notes #
Application.version MUST BE an integer. API assumes that Application.version is the current build number to use for configs.