03e6685 | Mike Hardy | 20 January 2021, 21:06:34 UTC | v8.0.1 | 20 January 2021, 21:06:34 UTC |
8af015f | Diego Antonelli | 20 January 2021, 20:59:43 UTC | fix(types): fix import and export of types (#1164) * Fix import and export of types * Add changelog and lint code | 20 January 2021, 20:59:43 UTC |
bb4b74b | Frieder Bluemle | 20 January 2021, 20:55:05 UTC | chore(android): update Gradle Wrapper to 6.8 (#1163) | 20 January 2021, 20:55:05 UTC |
71ab58a | Jérémy M | 11 January 2021, 22:05:37 UTC | docs(README): hasGms & hasHms return Promise<boolean> not boolean (#1159) Small doc fix for `hasGms` and `hasHms` functions | 11 January 2021, 22:05:37 UTC |
3b4637b | Mike Hardy | 10 January 2021, 16:52:43 UTC | v8.0.0 | 10 January 2021, 16:52:43 UTC |
993dc8a | Mike Hardy | 10 January 2021, 16:51:32 UTC | docs(CHANGELOG): prepare release notes for 8.0.0 | 10 January 2021, 16:51:32 UTC |
01f90ed | Saúl Ibarra Corretgé | 10 January 2021, 16:37:32 UTC | feat(android, gms/hms): make gms dependency optional (#1156) | 10 January 2021, 16:37:32 UTC |
c6f03b6 | Mike Hardy | 08 January 2021, 22:03:13 UTC | chore(ci, windows): add retry around remote resource installs | 09 January 2021, 00:41:10 UTC |
2c6302f | Mike Hardy | 08 January 2021, 18:40:29 UTC | chore(example): patch up refresh-example.sh and run it | 09 January 2021, 00:41:10 UTC |
f7b0381 | Mike Hardy | 08 January 2021, 18:25:28 UTC | chore(example): delete react-native <= 59 script there is no support offered or contemplated for pre-react-native 0.60 | 09 January 2021, 00:41:10 UTC |
c31b287 | Mike Hardy | 08 January 2021, 18:15:01 UTC | docs(README): purge README of outdated linking material auto-linking works everywhere, purge manual linking | 09 January 2021, 00:41:10 UTC |
fdd09a9 | Mike Hardy | 08 January 2021, 18:01:19 UTC | v7.4.0 | 08 January 2021, 18:01:19 UTC |
f718b34 | Mike Hardy | 08 January 2021, 17:56:52 UTC | chore(CHANGELOG): prepare for release 7.4.0 | 08 January 2021, 17:56:52 UTC |
b16e580 | Saúl Ibarra Corretgé | 08 January 2021, 15:19:00 UTC | feat: Add ability to run without com.android.installreferrer Fixes: https://github.com/react-native-device-info/react-native-device-info/issues/1149 | 08 January 2021, 17:46:54 UTC |
7d0ae09 | Mike Hardy | 08 January 2021, 17:16:24 UTC | lint: de-lint the codebase and add lint check for CI | 08 January 2021, 17:43:18 UTC |
41e90c8 | Mike Hardy | 08 January 2021, 17:00:21 UTC | tests(ci): add almost-e2e tests does the native compiles, checks the bundler and runs the app at least | 08 January 2021, 17:43:18 UTC |
63a3b57 | Mike Hardy | 08 January 2021, 16:59:27 UTC | chore: update dependencies involved porting bob to new post-react-native-community purge location | 08 January 2021, 17:43:18 UTC |
b4847d5 | Mike Hardy | 08 January 2021, 16:58:38 UTC | docs(example): copy package.json into example in dev-sync | 08 January 2021, 17:43:18 UTC |
9f286d7 | Nico Burns | 07 January 2021, 15:26:54 UTC | fix(android, install referrer): remove old install referrer api (#1150) * [Android] Remove deprecated way of retrieving INSTALL_REFERRER * Update CHANGELOG.md * Remove AndroidManifest.xml Co-authored-by: Louis Lagrange <lagrange.louis@gmail.com> | 07 January 2021, 15:26:54 UTC |
c9ae5f7 | exotexot | 02 January 2021, 21:02:35 UTC | feat: Added DeviceTypeDesktop to getDeviceType() (#1137) * Added DeviceTypeDesktop (true for windows, catalyst target builds, and macos builds * Using Platform.OS to detect windows version and return Desktop Co-authored-by: vinzenz <vinzenz@nsynk.de> | 02 January 2021, 21:02:35 UTC |
28554e2 | dependabot[bot] | 22 December 2020, 19:31:31 UTC | build(deps): bump ini from 1.3.5 to 1.3.7 (#1142) Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 22 December 2020, 19:31:31 UTC |
83dee0c | dependabot[bot] | 22 December 2020, 19:31:05 UTC | build(deps): bump ini from 1.3.5 to 1.3.7 in /example (#1141) Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.7. - [Release notes](https://github.com/isaacs/ini/releases) - [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.7) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 22 December 2020, 19:31:05 UTC |
78cd311 | dependabot[bot] | 22 December 2020, 19:30:34 UTC | build(deps): bump node-notifier from 8.0.0 to 8.0.1 (#1143) Bumps [node-notifier](https://github.com/mikaelbr/node-notifier) from 8.0.0 to 8.0.1. - [Release notes](https://github.com/mikaelbr/node-notifier/releases) - [Changelog](https://github.com/mikaelbr/node-notifier/blob/v8.0.1/CHANGELOG.md) - [Commits](https://github.com/mikaelbr/node-notifier/compare/v8.0.0...v8.0.1) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 22 December 2020, 19:30:34 UTC |
9c653ba | Mike Hardy | 10 December 2020, 03:34:53 UTC | v7.3.1 | 10 December 2020, 03:34:53 UTC |
fda2869 | Mike Hardy | 10 December 2020, 03:33:53 UTC | docs(CHANGELOG): prepare 7.3.1 release | 10 December 2020, 03:33:53 UTC |
2766c0a | Mike Hardy | 10 December 2020, 03:32:08 UTC | fix(android, test): drop mockito dep from 3.6.44 to 3.6.28 TIL that using the latest mockito version number from their releases page is no guarantee it has been published on maven for general release | 10 December 2020, 03:32:08 UTC |
1ad1466 | Mike Hardy | 09 December 2020, 17:14:46 UTC | v7.3.0 | 09 December 2020, 17:14:46 UTC |
94477aa | Mike Hardy | 09 December 2020, 17:14:00 UTC | docs(CHANGELOG): prepare release 7.3.0 | 09 December 2020, 17:14:00 UTC |
d4dc51d | Mike Hardy | 09 December 2020, 17:08:59 UTC | chore: update dependencies / lint Note that @types/react needs it's resolutions pinned right now, or some packages bring in v17 and you get duplicate symbols errors | 09 December 2020, 17:08:59 UTC |
b79d6ca | Dmitry | 09 December 2020, 16:14:04 UTC | feat(android, build): add ability to specify firebase bill of materials for iid versioning (#1133) * added firebaseBomVersion as standalone option to build.gradle Co-authored-by: Mike Hardy <github@mikehardy.net> Co-authored-by: Dmitriy Grachev <dmitriy.grachev@erlyvideo.org> | 09 December 2020, 16:14:04 UTC |
3bbcbc0 | Erlendur Steinn Guðnason | 09 December 2020, 14:55:51 UTC | fix(notch): add Redmi 9 to hasNotch list (#1140) | 09 December 2020, 14:55:51 UTC |
4fd1bb7 | Dustin Schie | 03 December 2020, 19:43:03 UTC | test(__tests__/getters): testing `getSystemName` adds tests for getter function, `getSystemName` re #1108 | 03 December 2020, 20:44:48 UTC |
be5c0e9 | Dustin Schie | 03 December 2020, 19:35:12 UTC | refactor(src/index): rewriting function for better testability updates function to use shared/clearable helper functions and replaces if-else statements w/ `Platform.select` re #1108 | 03 December 2020, 20:44:48 UTC |
baca814 | Dustin Schie | 03 December 2020, 19:24:04 UTC | refactor(jest.setup): redoing `Platform.select` spy updates spy to try use proper value for currently platform before coersion | 03 December 2020, 20:44:48 UTC |
65f2750 | Dustin Schie | 03 December 2020, 18:25:21 UTC | test(__tests__/getters): adding tests for `getUserAgent` and `getUserAgentSync` adds tests for mentioned functions b/c they needed to be added re #1108 | 03 December 2020, 20:44:48 UTC |
22ff51e | Dustin Schie | 03 December 2020, 18:23:57 UTC | chore(src/index): rewriting `getUserAgent*` rewrites getters to allow for better tests (mostly testing memoization) | 03 December 2020, 20:44:48 UTC |
613072d | Dustin Schie | 03 December 2020, 17:59:14 UTC | test(__tests__/getters): adding tests for getAvailableLocationProviders* adds tests for the functions, `getAvailableLocationProviders*` with tests for all supported platforms re #1108 | 03 December 2020, 20:44:48 UTC |
09a775f | Dustin Schie | 03 December 2020, 17:54:29 UTC | test(__tests__/getters): adding tests for `getPowerState*` adds tests for `getPowerState*` functions. Also, adds tests for all supported platforms re #1108 | 03 December 2020, 20:44:48 UTC |
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 |