Reality Toolkit Feature Request
Is your feature request related to a problem? Please describe
The goal is to implement a Platform System, similar to existing out of the box systems. The job of the platform system is to ensure a platform is initialized properly when the application launches. Some platforms require specific API calls to be made on application launch or specific services to be started etc.
Additionally the platform system will provide a way to configure platform specifics, such as which AndroidManifest.xml to use for a given Android based platform. The PlatformSystemDataProviderProfile will allow assigning such a manifest and a respective Pre-Build processor will ensure that that manifest is made the active manfiest when building for said platform.
Additionally the platform system should provide runtime APIs to query platform specific information, such as:
- What device am I running on?
- What is the platform I am running on? -> We'll make sue of the existing platform classes here, e.g.
LuminPlatform, PicoPlatform
- Why was Trump ever president?
Mocked Interface for IPlatformSystem
/// Gets the platform we are running on.
BasePlatform Platform { get; }
/// Unique device identifier for the active platform, such as Meta Quest, Meta Quest 2, Pico Neo 3...
string Device { get; }
... you get the idea.
How would you classify your suggestion
- Usability / Configuration
- Architecture / Services
Reality Toolkit Feature Request
Is your feature request related to a problem? Please describe
The goal is to implement a
Platform System, similar to existing out of the box systems. The job of the platform system is to ensure a platform is initialized properly when the application launches. Some platforms require specific API calls to be made on application launch or specific services to be started etc.Additionally the platform system will provide a way to configure platform specifics, such as which
AndroidManifest.xmlto use for a given Android based platform. ThePlatformSystemDataProviderProfilewill allow assigning such a manifest and a respective Pre-Build processor will ensure that that manifest is made the active manfiest when building for said platform.Additionally the platform system should provide runtime APIs to query platform specific information, such as:
LuminPlatform,PicoPlatformMocked Interface for
IPlatformSystem/// Gets the platform we are running on.BasePlatform Platform { get; }/// Unique device identifier for the active platform, such as Meta Quest, Meta Quest 2, Pico Neo 3...string Device { get; }... you get the idea.
How would you classify your suggestion