aa5e67f | Mike Hardy | 30 November 2020, 14:36:49 UTC | v7.2.1 | 30 November 2020, 14:36:49 UTC |
f701d4f | Mike Hardy | 30 November 2020, 14:34:36 UTC | docs(CHANGELOG): prepare for 7.2.1 release | 30 November 2020, 14:34:36 UTC |
920d8af | Christian Linne | 30 November 2020, 14:32:16 UTC | fix(test, mocks): extra comma syntax error in mock definition (#1134) Just stumbled upon the error below when trying to start tests using 7.2.0: ``` SyntaxError: node_modules/react-native-device-info/jest/react-native-device-info-mock.js: Unexpected token (105:38) ``` Seems a trailing `,` made it into the code. | 30 November 2020, 14:32:16 UTC |
95a9d5e | Mike Hardy | 29 November 2020, 22:15:02 UTC | v7.2.0 | 29 November 2020, 22:15:02 UTC |
0ac5c1f | Mike Hardy | 29 November 2020, 22:13:49 UTC | docs(CHANGELOG): prepare changelog for 7.2.0 release | 29 November 2020, 22:13:49 UTC |
4d65769 | Jaime Bernardo | 29 November 2020, 22:06:36 UTC | feat(windows): implement additional methods (#1122) * feat(windows): implement additional methods Add implementation for additional items on Windows: - getBaseOs - getBuildId - getFontScale - getFreeDiskStorage - getInstallerPackageName - getInstallReferrer - getPowerState - getTotalDiskCapacity - getUsedMemory - isBatteryCharging * chore(windows): update react-native-windows | 29 November 2020, 22:06:36 UTC |
e27b587 | Jaime Bernardo | 25 November 2020, 17:50:17 UTC | feat(windows): port C# Windows implementation to C++ (#1113) * refactor(windows): port from C# to C++ * refactor(windows): port windows example to C++ * refactor(windows): remove C# implementation * test(windows): test example application * test(windows): github workflow to test example app * chore(windows): update refresh-example.sh * chore: update example (react-native 0.63.3) * chore(example): readding ios app extension * docs: add running Windows instructions to example * test(windows): add cache steps to github workflow | 25 November 2020, 17:50:17 UTC |
a868bd7 | Dustin Schie | 23 November 2020, 03:40:07 UTC | feat(jest/react-native-device-info-mock): adding rest of mocks (#1132) adds remaining mocks | 23 November 2020, 03:40:07 UTC |
c99bd5e | Dmitry Varennikov | 18 November 2020, 23:26:13 UTC | fix(ios, keychain): change keychain access control to non-deprecated value (#1131) | 18 November 2020, 23:26:13 UTC |
4a3b766 | Mike Hardy | 17 November 2020, 15:50:04 UTC | v7.1.0 | 17 November 2020, 15:50:04 UTC |
23ecf09 | Mike Hardy | 17 November 2020, 15:48:37 UTC | chore: include new test files in package They are not large, and people should be able to easily run jest tests if they like can come in handy with drive-by contributions implemented via patch-package etc | 17 November 2020, 15:48:37 UTC |
88f2b2b | Mike Hardy | 17 November 2020, 15:22:15 UTC | chore: prepare for release 7.1.0 | 17 November 2020, 15:22:15 UTC |
7344382 | Mike Hardy | 17 November 2020, 15:17:19 UTC | chore: update dependencies, use yarn for internal package.json run scripts | 17 November 2020, 15:17:19 UTC |
2715878 | Craig van Heerden | 17 November 2020, 14:40:55 UTC | feat(android): added hasGms and hasHms functions (#1129) Co-authored-by: Craig van Heerden <craig@codehesion.co.za> | 17 November 2020, 14:40:55 UTC |
55108da | Dustin Schie | 03 November 2020, 02:14:20 UTC | perf(__tests__/getters): adding more tests adds tests for the following getters - getManufacturer* - getMacAddress* - getIpAddress - getPhoneNumber - getCarrier - getDeviceId - getModel - getBrand - getSystemVersion - getBundleId - getApplicationName - getBuildNumber - getVersion - getUniqueId - getDeviceType - getDeviceTypeSync - getDeviceToken - getSystemAvailableFeatures - isTablet re #1108 | 08 November 2020, 19:58:32 UTC |
214a4a0 | Dustin Schie | 03 November 2020, 02:09:28 UTC | perf(jest.setup.js): changing constant values for string and bool native module mocks updates `stringKeys` and `booleanKeys` to return values that aren't the same a the default value of functions | 08 November 2020, 19:58:32 UTC |
5d53b11 | Dustin Schie | 03 November 2020, 02:07:40 UTC | test(jest.setup.js): adding more OSes to `Platform.select` spy adds windows and web | 08 November 2020, 19:58:32 UTC |
3476655 | Dustin Schie | 03 November 2020, 02:06:23 UTC | test(jest.setup.js): moving `deviceType` to `stringKeys` moves string to proper array since it refers to a constant | 08 November 2020, 19:58:32 UTC |
44b6e82 | Dustin Schie | 03 November 2020, 01:59:49 UTC | refactor(src/index.ts): shortening more code - refactors a number of functions; reducing their size by 1/2 - refactors to allow for proper testing memoization - updates the following functions - `getUniqueId` - `getDeviceId` - `getModel` - `getBrand` - `getSystemVersion` - `getBundleId` - `getApplicationName` - `getBuildNumber` - `getVersion` - `isTablet` - `getDeviceType` - `getDeviceTypeSync` | 08 November 2020, 19:58:32 UTC |
0cf373e | Dustin Schie | 01 November 2020, 02:54:36 UTC | fix(src/internal/supported-platform-info): fixing memoization bug updates functions to fall prey to `falsey` conditionals by explicity checking if memo for key is `undefined` fixes #1117 | 01 November 2020, 04:02:55 UTC |
edc1a8d | Dustin Schie | 01 November 2020, 02:17:54 UTC | test(__tests__/getters): adding non-memoized boolean getters adds tests for the non-memoized boolean getters re #1108 | 01 November 2020, 04:02:55 UTC |
5596083 | Dustin Schie | 01 November 2020, 02:16:32 UTC | test(__tests__/getters): adding non-memoized number getters adds tests for the non-memoized number getters re #1108 | 01 November 2020, 04:02:55 UTC |
e434978 | Dustin Schie | 01 November 2020, 02:01:06 UTC | test(__tests__/getters): adding memeoized array getters adding tests for the memoized array getters re #1108 | 01 November 2020, 04:02:55 UTC |
cbfd99b | Dustin Schie | 01 November 2020, 01:48:35 UTC | test(__tests__/getters): adding memeoized boolean getters adding tests for the memoized boolean getters re #1108 | 01 November 2020, 04:02:55 UTC |
43bab1a | Dustin Schie | 01 November 2020, 01:07:41 UTC | test(jest.setup.ts): moving `getApiLevel` to `numberFnNames` - moves fn name, `getApiLevel` to proper array, `numberFnNames` - this was found by writing tests (yay!) | 01 November 2020, 04:02:55 UTC |
23e4b32 | Dustin Schie | 01 November 2020, 00:47:53 UTC | test(__tests__/getters): adding memoized number getters adding tests for the memoized number getters re #1108 | 01 November 2020, 04:02:55 UTC |
5003f1e | Dustin Schie | 29 October 2020, 13:06:46 UTC | tests: memoized string getters and supported-platform-info (#1114) * test(__tests__/supported-platform-info): testing supported-platform-info file adds tests for exported functions of the file, `supported-platform-info.ts` re #1108 * refactor(__tests/getters): rewriting string getter tests to be more scalable rewrites tests to simplify the testing process * test(__tests__/getters): adding rest of memoized string getters adds the following to testing: - getSerialNumber - getAndroidId - getBuildId - getInstallerPackageName - getDeviceName - getBootloader - getDevice - getDisplay - getFingerprint - getHardware - getHost - getProduct - getTags - getType - getBaseOs - getSecurityPatch - getCodename - getIncremental - getInstallReferrer re #1108 * test(jest.setup.ts): putting `getInstallReferrer` in correct spot moves `getInstallReferrer` from `numberFnNames` to `stringFnNames` * test(__tests__/getters): casting `RNDeviceInfo` as `any` updates `makeTable` fn to cast `RnDeviceInfo` usage as `any` to prevent GitHub Action testing from failing * test(__tests__/supported-platform-info): changing memo key for `getSupportedPlatformInfoAsync` tests updates tests for `getSupportedPlatformInfoAsync` to use the memo key, `getSupportedPlatformInfoAsync` | 29 October 2020, 13:06:46 UTC |
7f1d2a6 | Dustin Schie | 26 October 2020, 14:49:48 UTC | tests: adding jest tests and github workflow to execute same (#1112) * test(package.json): adding deps for jest testing re #1108 * test: adding configs for jest adds babel config re #1108 * feat(src/internal/asynchookwrappers): exporting `deviceInfoEmitter` exports NativeEventEmmit instance (internal, only for testing, for now) re #1108 * feat(src/internal/supported-platform-info): exporting `deviceInfoEmitter` exports `deviceInfoEmitter` (for testing) re #1108 * test(__tests__): adding tests - adds tests for async-hook-wrappers and a getter - sets `test` script in package.json re #1108 * ci(.github/workflows): adding jest-test.yml adds a workflow for jest testing re #1108 * test(__tests__async-hook-wrappers): removing test regarding event for now removes test regarding fireing events until a better, more stable, solution comes around | 26 October 2020, 14:49:48 UTC |
9d3f7b5 | Casey Garland | 22 October 2020, 23:27:56 UTC | docs: update useFirstInstallTime in readme (#1111) | 22 October 2020, 23:27:56 UTC |
c61edfc | Mike Hardy | 21 October 2020, 15:15:08 UTC | v7.0.2 | 21 October 2020, 15:15:08 UTC |
fca9bf6 | Mike Hardy | 21 October 2020, 15:14:11 UTC | chore(CHANGELOG): prepare for release v7.0.2 | 21 October 2020, 15:14:34 UTC |
36392f2 | Jaime Bernardo | 21 October 2020, 15:13:57 UTC | fix(windows): remove use of Object.fromEntries (#1110) Object.fromEntries doesn't work in react-native-windows in release builds or without the Web Debugger enabled. Replace use of Object.fromEntries with equivalent code. | 21 October 2020, 15:13:57 UTC |
707dcfc | Mike Hardy | 20 October 2020, 18:31:00 UTC | v7.0.1 | 20 October 2020, 18:31:00 UTC |
eb72f50 | Mike Hardy | 20 October 2020, 18:30:29 UTC | chore(CHANGELOG): prepare for 7.0.1 release | 20 October 2020, 18:30:29 UTC |
54ebeac | Tronin Denis | 20 October 2020, 18:11:39 UTC | add new devices: Pixel 3a and Redmi 7 with notch | 20 October 2020, 18:29:01 UTC |
0d54a1a | Daniel Rosa | 20 October 2020, 18:01:51 UTC | fix(hasNotch): add Samsung A21s | 20 October 2020, 18:28:14 UTC |
38a81c5 | Mike Hardy | 20 October 2020, 17:17:52 UTC | v7.0.0 | 20 October 2020, 17:17:52 UTC |
0a82d26 | Mike Hardy | 20 October 2020, 17:16:46 UTC | docs: update CHANGELOG / README for v7 release | 20 October 2020, 17:16:46 UTC |
bc0a41b | Dustin Schie | 13 October 2020, 21:24:08 UTC | docs(readme.md): removing iOS App Extension `getFontScale` disclaimer removes disclaimer about `getFontScale` not working in iOS App Extensions re #625 | 20 October 2020, 16:44:26 UTC |
9209e87 | Dustin Schie | 13 October 2020, 21:18:51 UTC | build(ios): setting build target to 10.0 to remove mismatch warning sets build target to 10.0 to remove warning about new way of obtaining `preferredContentSizeCategory` requiring a later build target than current (8.0) BREAKING CHANGE: I'm changing the iOS target form 8.0 to 10.0 re #625 | 20 October 2020, 16:44:26 UTC |
062dfd5 | Dustin Schie | 13 October 2020, 21:14:14 UTC | feat(ios/rndeviceinfo/rndeviceinfo.m): supporting `getFontScale` in app extensions replaces how `contentSize` is obtained; from `RCTSharedApplication...` to `UIScreen...` BREAKING CHANGE: by obtaining the content size from `[[UIScreen mainScreen] traitCollection].preferredContentSizeCategory` , this library drops support for iOS 9. This should be fine though since RN 0.63+ dropped support for iOS9 and the OS, itself, has <1% iOS market share. fixes #625 | 20 October 2020, 16:44:26 UTC |
2e8d47c | Dustin Schie | 13 October 2020, 21:04:27 UTC | docs(example): adding ios app extension to example updates example project to to include an ios app extension to test usage/compatability there. re #625 | 20 October 2020, 16:44:26 UTC |
621c0c3 | Dustin Schie | 20 October 2020, 16:41:33 UTC | tests(mocks): adding mocks (#1102) * feat(jest): exporting a mock to make jest testing faster adds a mock for the library resolves #1101 * test(example): adding a jest setup file for mocking - adds `jest.setup.js` to mock `react-native-device-info` - this allows for the jest test to pass (with warnings) re #1101 * test(example/__tests__/app-test.js): using fake timers updates example tests to use fake timers to handle async getters re #1101 * docs(readme.md): adding jest mock info to troubleshooting section replaces most of existing documentation regarding mocking w/ how to use the included mock file re #1101 | 20 October 2020, 16:41:33 UTC |
88e2914 | Mike Hardy | 15 October 2020, 15:50:54 UTC | v6.2.1 | 15 October 2020, 15:50:54 UTC |
15a1ada | steve | 15 October 2020, 15:29:51 UTC | fix(ios): add iphone 12 device id / notch info (#1099) | 15 October 2020, 15:29:51 UTC |
5f048f6 | Dustin Schie | 13 October 2020, 02:36:54 UTC | 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 | Dustin Schie | 11 October 2020, 02:10:08 UTC | 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 | Dustin Schie | 10 October 2020, 20:56:10 UTC | 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 | Dustin Schie | 08 October 2020, 12:52:58 UTC | 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 | Brook Elgie | 07 October 2020, 11:40:45 UTC | 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 | Dustin Schie | 07 October 2020, 03:43:10 UTC | 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 | Dustin Schie | 06 October 2020, 15:18:10 UTC | 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 | Mike Hardy | 05 October 2020, 04:08:00 UTC | v6.2.0 | 05 October 2020, 04:08:00 UTC |
4022826 | Mike Hardy | 05 October 2020, 04:04:59 UTC | chore(CHANGELOG): prepare 6.2.0 release notes | 05 October 2020, 04:04:59 UTC |
fd6f11c | Mike Hardy | 05 October 2020, 04:01:51 UTC | 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 | Dustin Schie | 04 October 2020, 07:33:07 UTC | docs(example/app.js): adding `useIsHeadphonesConnected()` adds new hook to example project #1013 | 04 October 2020, 19:35:34 UTC |
2d680b6 | Dustin Schie | 04 October 2020, 07:27:39 UTC | docs(readme.md): adding docs for `useIsHeadphonesConnected()` #1013 | 04 October 2020, 19:35:34 UTC |
ec22e43 | Dustin Schie | 04 October 2020, 07:22:33 UTC | feat(src): adding `useIsHeadphonesConnected()` adds a hook tells if headphones are connected to the device. | 04 October 2020, 19:35:34 UTC |
72b0cd8 | Dustin Schie | 04 October 2020, 07:19:59 UTC | 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 | Dustin Schie | 04 October 2020, 07:15:13 UTC | 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 | Dustin Schie | 04 October 2020, 07:10:40 UTC | 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 | Mike Hardy | 02 October 2020, 15:03:00 UTC | v6.1.0 | 02 October 2020, 15:03:00 UTC |
9e4d978 | Mike Hardy | 02 October 2020, 15:01:53 UTC | chore: update dependencies to latest except react-native/react-native-windows | 02 October 2020, 15:01:53 UTC |
69df6dc | Mike Hardy | 02 October 2020, 14:56:39 UTC | chore: prepare changelog for 6.1.0 release | 02 October 2020, 14:56:39 UTC |
8989500 | Dustin Schie | 02 October 2020, 14:30:37 UTC | 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 | Kid Commit | 01 October 2020, 16:14:03 UTC | 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 | Mike Hardy | 18 September 2020, 13:30:58 UTC | v6.0.4 | 18 September 2020, 13:30:58 UTC |
e1a6191 | Mike Hardy | 18 September 2020, 13:29:43 UTC | chore: prepare CHANGELOG for 6.0.4 release | 18 September 2020, 13:29:43 UTC |
c793b02 | violetchow2611 | 18 September 2020, 13:27:57 UTC | fix(android): fix swapped data/root values in getFreeDiskStorageSync (#1077) | 18 September 2020, 13:27:57 UTC |
ba3731b | Mike Hardy | 17 September 2020, 21:22:54 UTC | chore: update dependencies | 17 September 2020, 21:22:54 UTC |
69ccf89 | Mike Hardy | 17 September 2020, 20:47:36 UTC | v6.0.3 | 17 September 2020, 20:47:36 UTC |
80e729d | Mike Hardy | 17 September 2020, 20:44:04 UTC | chore(CHANGELOG): prepare 6.0.3 release notes | 17 September 2020, 20:44:04 UTC |
0057353 | Radek Czemerys | 17 September 2020, 20:42:38 UTC | fix: Xcode 12 compatibility (#1075) | 17 September 2020, 20:42:38 UTC |
0808195 | Mike Hardy | 03 September 2020, 18:30:54 UTC | v6.0.2 | 03 September 2020, 18:30:54 UTC |
d60dd50 | Mike Hardy | 03 September 2020, 18:30:11 UTC | chore(CHANGELOG): prepare for release 6.0.2 | 03 September 2020, 18:30:11 UTC |
708ec56 | Tero Paananen | 03 September 2020, 18:27:42 UTC | fix(windows): Targetplatform change for cpp apps to use this module (#1072) | 03 September 2020, 18:27:42 UTC |
da59da5 | Mike Hardy | 31 August 2020, 22:49:01 UTC | v6.0.1 | 31 August 2020, 22:49:01 UTC |
f6e094b | Steve Lorenz | 31 August 2020, 22:46:06 UTC | 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 | Mike Hardy | 29 August 2020, 22:45:14 UTC | v6.0.0 | 29 August 2020, 22:45:14 UTC |
cefd55f | Mike Hardy | 29 August 2020, 22:44:16 UTC | docs(CHANGELOG): prepare for 6.0.0 release | 29 August 2020, 22:44:16 UTC |
69c9e2d | Mike Hardy | 29 August 2020, 22:43:42 UTC | 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 | Tero Paananen | 29 August 2020, 22:22:32 UTC | 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 | Mike Hardy | 25 August 2020, 05:01:13 UTC | fix(android, storage)!: move old storage capacity APIs to old Also fixed them just a bit | 25 August 2020, 05:01:13 UTC |
29bb0ae | Gabriel Franzoni | 25 August 2020, 03:37:46 UTC | 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 | SaltyWater | 25 August 2020, 03:25:06 UTC | 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 | Leonard Krause | 24 August 2020, 16:38:27 UTC | 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 | Mike Hardy | 19 August 2020, 19:07:08 UTC | 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 | Mike Hardy | 16 August 2020, 16:08:26 UTC | v5.6.5 | 16 August 2020, 16:08:26 UTC |
ad59b1d | Mike Hardy | 16 August 2020, 16:07:30 UTC | chore: prepare for 5.6.5, update dependencies | 16 August 2020, 16:07:30 UTC |
19d36ce | Mike Hardy | 16 August 2020, 16:03:40 UTC | 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 | Alex Naiman | 16 August 2020, 11:53:37 UTC | fix(hasNotch): add devices Blackview A30 | 16 August 2020, 11:53:37 UTC |
b148142 | Mike Hardy | 11 August 2020, 14:51:48 UTC | v5.6.4 | 11 August 2020, 14:51:48 UTC |
beeac54 | Mike Hardy | 11 August 2020, 14:51:07 UTC | chore: update dependencies | 11 August 2020, 14:51:07 UTC |
959c03a | Mike Hardy | 11 August 2020, 14:48:24 UTC | 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 | Tronin Denis | 11 August 2020, 06:24:11 UTC | add Huawei P30 to devicesWithNotch list | 11 August 2020, 06:24:11 UTC |
1677919 | Mike Hardy | 22 July 2020, 05:19:29 UTC | v5.6.3 | 22 July 2020, 05:19:29 UTC |
24e5c0c | Mike Hardy | 22 July 2020, 05:18:43 UTC | build(android): add new argument to react-native-clean-project invocation | 22 July 2020, 05:18:43 UTC |
e9cc794 | Mike Hardy | 22 July 2020, 05:10:41 UTC | docs(CHANGELOG): prepare for 5.6.3 release | 22 July 2020, 05:10:41 UTC |
fd41f70 | Mike Hardy | 22 July 2020, 04:18:20 UTC | Merge pull request #1050 from RoJoHub/fix/wkwebview Fix: WKWebview is release | 22 July 2020, 04:18:20 UTC |
c27d2aa | 罗浩 | 21 July 2020, 09:07:14 UTC | Modify processing logic: [webView evaluateJavaScript:] | 22 July 2020, 03:43:51 UTC |