https://github.com/rebeccahughes/react-native-device-info

sort by:
Revision Author Date Message Commit Date
88e2914 v6.2.1 15 October 2020, 15:50:54 UTC
15a1ada fix(ios): add iphone 12 device id / notch info (#1099) 15 October 2020, 15:29:51 UTC
5f048f6 chore(refactor): completing `getSupportedPlatformInfoFunctions` conversion (#1095) * refactor(src/index.ts): rewriting `getSerialNumber*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getIpAddress*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getFingerprint*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getHost*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getTags*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getBaseOs*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getSecurityPath*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getIncremental*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getInstallReferrer*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `supported32BitAbis*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getProduct*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 13 October 2020, 02:36:54 UTC
50d62fb 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 11 October 2020, 02:10:08 UTC
4a3b462 chore(refactor): using `getSupportedPlatformInfoFunctions` for another batch of APIs (#1091) * refactor(src/index.ts): rewriting `getInstanceId*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getAndroidId*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `isCameraPresent*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getManufacturer*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getBootloader*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getDisplay*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getHardware*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getFirstInstallTime*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getMaxMemory` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getPowerState*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 10 October 2020, 20:56:10 UTC
570f130 chore(refactor): using getSupportedPlatformInfoFunctions for another batch of APIs (#1090) * refactor(src/index): rewriting `getPhoneNumber*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getTotalMemory*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getBatteryLevel*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `isBatteryCharging*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `isAirplaneMode*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `isLocationEnabled*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 * refactor(src/index.ts): rewriting `getAvailableLocationProviders*` rewrites functions to use `getSupportedPlatformInfoFunctions` re #1085 08 October 2020, 12:52:58 UTC
0ee9dfa Update README getFreeDiskStorage and getTotalDiskCapacity (#1089) v6.0.0 changed the way getFreeDiskStorage and getTotalDiskCapacity were implemented for Android. The README was updated to use *New methods during the PR stage, but by release *Old methods had been added instead. This commit updates the README to reflect the methods used for the release. 07 October 2020, 11:40:45 UTC
5e57696 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 07 October 2020, 03:43:10 UTC
1fadfda chore: add getSupportedPlatformInfoFunctions / de-verbose sample of JS API (#1086) * refactor(src/internal): adding supported-platform-info.ts adds a file that houses a number of convenience methods that can be used to DRY-up some of the functions in the index file re #1085 * refactor(src/index.ts): rewriting `getDeviceName*` rewrites `getDeviceName` and `getDeviceNameSync` to be created using the new `getSupportedPlatformInfoFunctions()` convenience function re #1085 * docs(src/internal/supported-platform-info): adding missing doc comments to supported-plat-info.ts * refactor(src/index): using `getSupportedPlatformInfoFunctions` for `getDevice*` rewrites `getDeviceName` and `getDeviceNameSync` to use new function `getSupportedPlatformInfoFunctions` re #1085 * Update src/index.ts Co-authored-by: Mike Hardy <github@mikehardy.net> Co-authored-by: Mike Hardy <github@mikehardy.net> 06 October 2020, 15:18:10 UTC
04669c6 v6.2.0 05 October 2020, 04:08:00 UTC
4022826 chore(CHANGELOG): prepare 6.2.0 release notes 05 October 2020, 04:04:59 UTC
fd6f11c chore(example): fix iOS example to run on react-native 0.62 again the example project was pinned back to react-native 0.62.x in order to bring in react-native-windows support (as it is/was not ready for 0.63 yet), but the iOS Podfile was still set up for 0.63. This is a simple revert of the react-native 0.63 upgrade commit, followed by a pod install and a test run (everything worked) 05 October 2020, 04:01:51 UTC
60942a0 docs(example/app.js): adding `useIsHeadphonesConnected()` adds new hook to example project #1013 04 October 2020, 19:35:34 UTC
2d680b6 docs(readme.md): adding docs for `useIsHeadphonesConnected()` #1013 04 October 2020, 19:35:34 UTC
ec22e43 feat(src): adding `useIsHeadphonesConnected()` adds a hook tells if headphones are connected to the device. 04 October 2020, 19:35:34 UTC
72b0cd8 feat(src/internal/asynchookwrappers.ts): adding `useOnEvent` convenience hook adds a hook that will simplify the process of creating most hooks that watch for events. #1013 04 October 2020, 19:35:34 UTC
5489cb4 feat(ios/../rndeviceinfo.m): adding `RNDeviceInfo_headphoneConnectionDidChange` event updates ios module to send the event, `RNDeviceInfo_headphoneConnectionDidChange` , by obsvering `AVAudioSessionRouteChangeNotification` #1013 04 October 2020, 19:35:34 UTC
f3490f9 feat(android/../rndevicemodule.java): adding `RNDeviceInfo_headphoneConnectionDidChange` event updates android module to send the event, `RNDeviceInfo_headphoneConnectionDidChange`, by a new broadcast receiver specifically for headphone connection changes. #1013 04 October 2020, 19:35:34 UTC
7e8f77c v6.1.0 02 October 2020, 15:03:00 UTC
9e4d978 chore: update dependencies to latest except react-native/react-native-windows 02 October 2020, 15:01:53 UTC
69df6dc chore: prepare changelog for 6.1.0 release 02 October 2020, 14:56:39 UTC
8989500 feat: add useManufacturer hook (#1083) * :sparkles: (src) adding `useManufacturer()` adds a hook to get the device manufacturer * :pencil: (README.md) adding `useManufacturer()` documentation adds documentation w/ a usage example to the README * :pencil: (example/App.js) adds `useManufacturer` hook to example app 02 October 2020, 14:30:37 UTC
2052b76 fix(types): add returnType to getPowerState (#1082) `getPowerState` returned a Promise that was always types as an empty object. Correctly it should be the same returnType as `usePowerState` wrapped in a Promise => `Promise<PowerState | {}>` 01 October 2020, 16:14:03 UTC
49662d4 v6.0.4 18 September 2020, 13:30:58 UTC
e1a6191 chore: prepare CHANGELOG for 6.0.4 release 18 September 2020, 13:29:43 UTC
c793b02 fix(android): fix swapped data/root values in getFreeDiskStorageSync (#1077) 18 September 2020, 13:27:57 UTC
ba3731b chore: update dependencies 17 September 2020, 21:22:54 UTC
69ccf89 v6.0.3 17 September 2020, 20:47:36 UTC
80e729d chore(CHANGELOG): prepare 6.0.3 release notes 17 September 2020, 20:44:04 UTC
0057353 fix: Xcode 12 compatibility (#1075) 17 September 2020, 20:42:38 UTC
0808195 v6.0.2 03 September 2020, 18:30:54 UTC
d60dd50 chore(CHANGELOG): prepare for release 6.0.2 03 September 2020, 18:30:11 UTC
708ec56 fix(windows): Targetplatform change for cpp apps to use this module (#1072) 03 September 2020, 18:27:42 UTC
da59da5 v6.0.1 31 August 2020, 22:49:01 UTC
f6e094b chore: add 2nd generation iPhone SE to device name list (#1068) * chore: add 2nd generation iPhone SE to device name list 31 August 2020, 22:46:06 UTC
a6d3d59 v6.0.0 29 August 2020, 22:45:14 UTC
cefd55f docs(CHANGELOG): prepare for 6.0.0 release 29 August 2020, 22:44:16 UTC
69c9e2d fix(example, android): exclude flipper okhttp transitive dep This allows the example to work on Android 4.x 29 August 2020, 22:43:42 UTC
8fc205b feat(windows, vNext)!: Windows vNext (#1059) * Base for new Windows next module * Windows React Next references * ReactPackageProvider * gitignore update * Porting code * Path fix * Constants * New paths into solution * Windows app base for example app * Same module versions * Win example app uses rn-device-info from parent folder * Disabled synchronous module calls * Renaming * DeviceInfo.getTotalMemory does not supported in win * Enable synchronous module method calls * isTabletSync method fixed * getTotalMemory and getTotalMemory calls added * await added * Example build updated BREAKING CHANGE: You must use react-native-windows 0.59 or higher (tested with 0.62.x) to use this. The module no longer supports react-native-windows below 0.59 as they lack C++ support. 29 August 2020, 22:22:32 UTC
f617863 fix(android, storage)!: move old storage capacity APIs to old Also fixed them just a bit 25 August 2020, 05:01:13 UTC
29bb0ae feat(android, storage): new android capacity calculations (#1054) * Fix android total capacity calculation * Sum up root directory and data directory * Add private method to avoid code duplication * Update README.md * Avoid error on iOS/Web calls to new methods Co-authored-by: Mike Hardy <github@mikehardy.net> 25 August 2020, 03:37:46 UTC
04d4256 fix(README): fix getInstanceId() link in troubleshooting (#1063) * fix: fix getInstanceId() wrong link Co-authored-by: 秦帅 <qinshuai@dushu.io> 25 August 2020, 03:25:06 UTC
ac4ff63 fix(android, manifest): protect install referrer receiver w/INSTALL_PACKAGES perm (#1065) Improves developer experience for those using security scanners, they will show more and more useful information now when they see the exported receiver 24 August 2020, 16:38:27 UTC
ee58be6 docs(CONTRIBUTING): update testing information As pointed out by in @tero-paananen #1059 the instructions on testing were out of date 19 August 2020, 19:07:08 UTC
a8a8ed9 v5.6.5 16 August 2020, 16:08:26 UTC
ad59b1d chore: prepare for 5.6.5, update dependencies 16 August 2020, 16:07:30 UTC
19d36ce Merge pull request #1058 from alexnaiman/add-hass-notch-blackview-a30 fix(hasNotch): add device Blackview A30 16 August 2020, 16:03:40 UTC
684ddd5 fix(hasNotch): add devices Blackview A30 16 August 2020, 11:53:37 UTC
b148142 v5.6.4 11 August 2020, 14:51:48 UTC
beeac54 chore: update dependencies 11 August 2020, 14:51:07 UTC
959c03a Merge pull request #1055 from tronin/feature/add-huawei-p30-to-with-notch-list Add Huawei P30 to devicesWithNotch list 11 August 2020, 14:48:24 UTC
cdfbf00 add Huawei P30 to devicesWithNotch list 11 August 2020, 06:24:11 UTC
1677919 v5.6.3 22 July 2020, 05:19:29 UTC
24e5c0c build(android): add new argument to react-native-clean-project invocation 22 July 2020, 05:18:43 UTC
e9cc794 docs(CHANGELOG): prepare for 5.6.3 release 22 July 2020, 05:10:41 UTC
fd41f70 Merge pull request #1050 from RoJoHub/fix/wkwebview Fix: WKWebview is release 22 July 2020, 04:18:20 UTC
c27d2aa Modify processing logic: [webView evaluateJavaScript:] 22 July 2020, 03:43:51 UTC
cc81243 Merge pull request #1047 from react-native-community/dependabot/npm_and_yarn/lodash-4.17.19 chore(deps): bump lodash from 4.17.15 to 4.17.19 18 July 2020, 15:29:40 UTC
91b315a chore(deps): bump lodash from 4.17.15 to 4.17.19 Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19) Signed-off-by: dependabot[bot] <support@github.com> 18 July 2020, 05:16:43 UTC
5ba1d21 v5.6.2 11 July 2020, 06:50:00 UTC
1df0efc chore: refresh-example.sh - works fine with react-native 0.63 11 July 2020, 06:48:35 UTC
0b95e37 chore: update dependencies did not update @types/react as it seems to have an issue at the moment 11 July 2020, 06:17:19 UTC
ff9db11 chore: prepare for release 5.6.2 11 July 2020, 06:16:13 UTC
bf226fa Merge pull request #1042 from mikehardy/powerEvents fix: power connection and power save events were not triggering correctly 11 July 2020, 06:07:29 UTC
42e1e20 Merge pull request #1039 from mikehardy/ios-low-battery-threshold-fix fix(ios): correctly calculate ios low battery threshold 11 July 2020, 06:05:57 UTC
9227f7d fix(types): import LocationProviderInfo type, export result types Previously you knew you would get a PowerState object for instance, but you could not actually use that type in your project code because it was not exported Additionally the LocationProviderInfo type was not even imported, and bob seemed to handle it okay when generating the lib but it inlined a type requires to do it which was silly 11 July 2020, 06:05:34 UTC
325336c fix: power connection and power save events were not triggering correctly Android was not listening to power connection events, now it is Neither platform was triggering on low power mode, now they are 11 July 2020, 06:00:45 UTC
926884d fix(ios): correctly calculate ios low battery threshold The battery value is 0.00 to 1.00 but the threshold was 0-100, so it was an expectations mismatch. Using threshold of 0.20 instead of 20 makes it work 11 July 2020, 05:10:14 UTC
1e095ec chore: update dependencies 28 June 2020, 21:50:50 UTC
bb50571 Fix msbuild windows pr checks 25 June 2020, 17:51:47 UTC
593ef9d chore: update dependencies 23 June 2020, 15:15:19 UTC
b2d77db chore: yarn update / web lint update 09 June 2020, 16:12:29 UTC
d2ac1b0 Use fixed versions for react and react-native 04 June 2020, 19:21:14 UTC
f658a41 Use fixed versions for react and react-native This also updates @types/react-native to 0.62.12. 04 June 2020, 19:04:13 UTC
2dea057 v5.6.1 27 May 2020, 18:33:05 UTC
e0cc381 chore: prepare for release v5.6.1 27 May 2020, 18:32:26 UTC
b971c95 Fix power state battery 27 May 2020, 18:29:51 UTC
c82dd61 Don't use module.exports syntax 27 May 2020, 18:29:51 UTC
a23c73f v5.6.0 25 May 2020, 22:30:08 UTC
097f62e chore: prepare for release 5.6.0 25 May 2020, 22:29:19 UTC
34a1dd9 feat: add syncUniqueId() to sync iOS IFV value 25 May 2020, 22:28:09 UTC
2222ee0 v5.5.8 18 May 2020, 19:45:45 UTC
d9ca9de docs(CHANGELOG): prepare for v5.5.8 release 18 May 2020, 19:38:05 UTC
22d2d12 chore(lint): commit results of eslint upgrade They switched to always enclosing parameters in parentheses by default 18 May 2020, 19:34:44 UTC
fb2d308 chore: `yarn upgrade --latest` 18 May 2020, 19:34:32 UTC
cd3ade4 Fix indentation 18 May 2020, 19:31:31 UTC
cc90dcb Feat: Add AVAudioSessionPortBluetoothHFP Adding AVAudioSessionPortBluetoothHFP as a list of acceptable bluetooth headphone types. There are other types that could be acceptable as well, you can see the full list provided here https://developer.apple.com/documentation/avfoundation/avaudiosessionport?language=objc Its worth noting that when a VOIP call is active the apple airpods return as `AVAudioSessionPortBluetoothHFP` while otherwise would be returned as `AVAudioSessionPortBluetoothA2DP` 18 May 2020, 19:31:31 UTC
a444114 Improve docs API text 09 May 2020, 13:06:22 UTC
9aed5cc v5.5.7 05 May 2020, 17:42:39 UTC
5c077c4 chore(CHANGELOG): prepare for 5.5.7 release 05 May 2020, 17:21:26 UTC
bc8e24f chore: `yarn upgrade --latest` 05 May 2020, 17:15:57 UTC
2fe30a6 Update RNInstallReferrerClient.java Update per review comment 05 May 2020, 17:13:47 UTC
ae7b33d Update RNInstallReferrerClient.java When we use react-native-device-info in Electrode native project, there is an error during container compiling: :heavy_multiplication_x: An error occurred: Command failed: ./gradlew lib:uploadArchives :heavy_multiplication_x: /private/var/folders/kc/hj8kf3gd5w55_39001pwxy9m0000gp/T/tmp-494366bW875QsqbOB/lib/src/main/java/com/learnium/RNDeviceInfo/RNInstallReferrerClient.java:78: error: cannot find symbol :heavy_multiplication_x: if (BuildConfig.DEBUG) Log.d(“RNInstallReferrerClient”, “InstallReferrerService disconnected”); The reason is BuildConfig was generated in the package: com.walmartlabs.ern.container For this, could you please comment out those BuildConfig.DEBUG lines, if you need to, probably better to specify the class package. Thanks 05 May 2020, 17:13:47 UTC
c950686 v5.5.6 23 April 2020, 14:50:09 UTC
d414d1b Fix #1002 by ignoring InstallReferrer disconnects also improve logging throughout InstallReferrer so messages will be easy to attribute to the module 23 April 2020, 14:48:39 UTC
2893026 chore: fix lint errors 23 April 2020, 14:48:39 UTC
f16f3bb chore: update javascript depencencies via yarn update --latest 23 April 2020, 14:48:39 UTC
ff6ebbb chore: bump dependency versions 23 April 2020, 14:48:39 UTC
f1a96bc chore: update gradle + gradle plugin 23 April 2020, 14:48:39 UTC
9ce41bd chore: refresh example (react-native 0.62.2 now) 23 April 2020, 14:48:39 UTC
back to top