The following changes are made to improve the handling of end session events:
Added and utilized Android APIs to collect exit information, which is sent when the next session starts (except quits within the app).
Implemented serialization for end session events.
Handling end session events occurring within the app in both Unity and plugin.
Improved low memory event handling by sending events on level changes.
Fixed the incorrect session length value in the plugin.
Refactored end session event properties to now include reason, exitCode, and sessionDuration (replacing sessionLength).
Refactored the entire Plugin code for better readability and maintainability.
Managed non-200 response codes in the plugin.
Added a Wi-Fi signal strength sensor.
Fixed a compile error with the latest Meta SDK version for a validation item by using CachedProjectConfig instead of GetProjectConfig() (which was removed in the latest version).
Description
The following changes are made to improve the handling of end session events:
CachedProjectConfig
instead ofGetProjectConfig()
(which was removed in the latest version).Testings: https://www.notion.so/cognitive3d/Testing-Android-Plugin-cfd8d4bd2fb24d44bb63b980b26c67ba#0250d6c744de43799286ffa099b51364
Height Task ID(s) (If applicable): https://c3d.height.app/T-7858 , https://c3d.height.app/T-7992 , https://c3d.height.app/T-7993/description, https://c3d.height.app/T-8400, https://c3d.height.app/T-8468
Type of change
Checklist