objectbox-java
objectbox-java copied to clipboard
Runtime.getRuntime().exec("uname -m");
version:3.1.2
class NativeLibraryLoader
line 204 : Runtime.getRuntime().exec("uname -m");
Does not meet GMS requirements
Can you please elaborate on the associated part of the GMS requirements?
Thanks for reporting! As a quick solution you could fork this library and remove the non-Android parts from NativeLibraryLoader.java
(or just remove getCpuArchOSOrNull()
).
This is likely talking about system (pre-installed) software passing the Compatibility Test Suite from Google that is required so a device can ship with Google services. However, I couldn't find the relevant part in the documents, e.g. for Android 12.
At this point we don't think this warrants a change (e.g. by creating a separate Android-only library or removing the architecture detection). Edit: Play Store policy does not seem to prohibit using this API, so apps deployed via Play Store should be fine.
If more people are affected though, please thumbs up the first post!