Mahvi
04/30/2024, 9:16 AMMichael Krussel
04/30/2024, 11:23 AMexpect
function for it. On Android it requires access to a Context
. I don't know what is needed on iOS. You won't have this available normally in common code, so that makes this option harder.
The other option would be to define an interface and use DI to have the platform specific application pass in the correct implementation for that platform.Mahvi
04/30/2024, 11:24 AMMahvi
04/30/2024, 11:25 AM