Feature request: Remove platform specific build directives
I would like to use DeviceKit to translate device-identifiers stored in a database into human readable device nams (e.g. iPhone 11). But it would also like to translate devices of other platforms, like Apple Watch on iOS. This is not possible, because the build directives are used, so I would only get the correct translation on an Apple Watch. I am not sure if they are really necessary and if they could be removed?
Did you ever figure out an alternative solution to this @martindaum ?
Nope, we did not implement the planned feature, so it was fine for us then. :)
Ahh no worries, I ended up creating my own (https://github.com/ptrkstr/Devices) until DeviceKit supports it.