digidem / comapeo-mobile

The next version of Mapeo mobile
GNU General Public License v3.0
5 stars 1 forks source link

chore: add processor architecture to metrics report #456

Closed EvanHahn closed 2 months ago

EvanHahn commented 3 months ago

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.

EvanHahn commented 2 months ago

Closing in favor of #462.