This pulls the processor architecture from react-native-device-info's supportedAbis() utility and adds it to the metrics report.
On Android, the library pulls from Build.SUPPORTED_ABIS or Build.CPU_ABI on old Androids. On iOS, the library pulls from NXGetLocalArchInfo. This list is in preference order, so we just take the first one for our report.
This pulls the processor architecture from react-native-device-info's
supportedAbis()
utility and adds it to the metrics report.On Android, the library pulls from
Build.SUPPORTED_ABIS
orBuild.CPU_ABI
on old Androids. On iOS, the library pulls fromNXGetLocalArchInfo
. This list is in preference order, so we just take the first one for our report.