Hi everyone. When I was working on <Play Deals> I...
# opensource
s
Hi everyone. When I was working on Play Deals I noticed there was no way to get platform-specific app data/cache directories other than manually checking on each platform and figuring out the data/cache directories for each platform so I built mp-utils:paths. It does exactly what I have mentioned above. It has 3 artifacts: -
paths
: Get platform-specific app data and cache directory; equivalent to
ApplicationInfo.dataDir
or
NSHomeDirectory
but for all the platforms. -
platform-identifier
: Identify the current platform. -
context-provider
: Get Android context anywhere on your Android source set. https://github.com/psuzn/mp-utils I hope it is useful to someone.
🚀 1