chore(refactor): more usage of `getSupportedPlatformInfoFunctions` (#1092)
chore(refactor): more usage of `getSupportedPlatformInfoFunctions` (#1092)

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

rewrites functions to use `getSupportedPlatformInfoFunctions`

re #1085

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

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