adobe / aepsdk-assurance-ios

Adobe Experience Platform Assurance SDK
Apache License 2.0
1 stars 12 forks source link

AssuranceClientInfo should only map to currently supported platforms #141

Open cdhoffmann opened 6 months ago

cdhoffmann commented 6 months ago

Currently the AssuranceClientInfo.getDeviceType() uses the UIDevice.current.userInterfaceIdiom which maps to an enum of all platforms. This means that whenever a new platform is added like so we need to update the enum even if Assurance doesn't support the platform.

Expected Behaviour

Actual Behaviour

Reproduce Scenario (including but not limited to)

Steps to Reproduce

Platform and Version

Sample Code that illustrates the problem

Logs taken while reproducing problem