chore(refactor): convert a batch of APIs to getSupportedPlatformInfoFunctions (#1088)
chore(refactor): convert a batch of APIs to getSupportedPlatformInfoFunctions (#1088)

* refactor(src/index.ts): rewriting `getUsedMemory*`

rewrites `getUsedMemory` and `getUsedMemorySync` to use `getSupportedPlatformInfoFunctions`

re #1085

* refactor(src/index.ts): rewriting `getBuildId*`

rewrites `getBuildId` and `getBuildIdSync` to use `getSupportedPlatformInfoFunctions`

re #1085

* refactor(src/index.ts): rewriting `getApiLevel*`

rewrites functions to use ``getSupportedPlatformInfoFunctions`

re #1085

* refactor(src/index.ts): rewriting `getInstallerPackageName*`

rewrites functions to use ``getSupportedPlatformInfoFunctions`

re #1085

* refactor(src/index.ts): rewriting `getFontScale*`

rewrites functions to use ``getSupportedPlatformInfoFunctions`

re #1085

* refactor(src/index.ts): rewriting `isPinOrFingerprintSet*`

rewrites functions to use ``getSupportedPlatformInfoFunctions`

re #1085

* refactor(src/index.ts): rewriting `getCarrier*`

rewrites functions to use ``getSupportedPlatformInfoFunctions`

re #1085
rebeccahughes/react-native-device-info,rebeccahughes/react-native-device-info,rebeccahughes/react-native-device-info,rebeccahughes/react-native-device-info,rebeccahughes/react-native-device-info,rebeccahughes/react-native-device-info