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

sort by:
Revision Author Date Message Commit Date
3a53b13 2.1.3 21 June 2019, 16:39:58 UTC
b794788 chore: prepare for release 2.1.3 21 June 2019, 16:39:09 UTC
92f899d fix: add missing devices to devices with notch list 21 June 2019, 16:35:57 UTC
cf6d33f docs: Update Podfile contents under Linking -> iOS (via CocoaPods) (#692) 18 June 2019, 20:16:49 UTC
6302d6f docs(README): Clarify the new changes regarding loading constants async (#697) The reason I added it under the installation main header is because I am afraid people might miss it if they install the package using react-native link. 18 June 2019, 13:32:58 UTC
d86c61f 2.1.2 17 June 2019, 21:21:30 UTC
7a93319 2.1.1 17 June 2019, 21:18:51 UTC
c33c47a build: prepare 2.1.2 changelog 17 June 2019, 21:15:32 UTC
9588763 build: constrain play services dependency to pre-AndroidX 16.1.0 (#693) With the latest firebase/gcm release (https://developers.google.com/android/guides/releases), the latest version (`+`) now brings in androidx dependencies. react-native won't be ready for androidx until 0.60 so constraint the gcm version to 16.1.0 (the latest pre-androidx version) 17 June 2019, 21:13:44 UTC
79764d6 docs: Clarify location of RNDeviceInfo.xcodeproj (#686) Under the iOS "Manual Linking" section, there is no file with the extension `.xcodeproj` in the location specified in the README. I have updated this section to specify the correct location of this file. 07 June 2019, 19:25:39 UTC
88d89d7 chore(CHANGELOG): prepare for 2.1.1 06 June 2019, 18:29:10 UTC
0d7c4b7 chore: update example via refresh-example.sh / react-native 0.59.9 06 June 2019, 18:26:51 UTC
6de87f4 fix(Android): Avoid NullpointerException on install referer listener (#685) action is Nullable, so we call equals from action is not safe ``` java.lang.RuntimeException · Unable to start receiver com.learnium.RNDeviceInfo.RNDeviceReceiver: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference ``` 06 June 2019, 15:26:53 UTC
606d6de 2.1.0 03 June 2019, 16:08:27 UTC
18b2656 chore: prepare for 2.1.0 03 June 2019, 16:07:04 UTC
2f837b9 perf(Android): getConstants() in thread to parallelize load, speed up for most (#680) RNDeviceModule.getConstants() can take a lot of time (~300ms on a Galaxy S7), so try to run it as soon as possible in the background so that by the time it gets called, the constants have already been calculated and we can just return the map. 03 June 2019, 16:02:53 UTC
5964658 chore: add CODEOWNERS file for community discovery https://github.com/react-native-community/.github/issues/1 03 June 2019, 15:21:05 UTC
7580aa0 2.0.4 03 June 2019, 15:13:50 UTC
de6fc49 chore: npm update and combine analysis tasks into "analyze" script 03 June 2019, 15:11:37 UTC
cffadc7 chore: prepare for 2.0.4 03 June 2019, 15:05:16 UTC
ca13105 fix: add Xiaomi Redmi Note 7 to devices with notch (#682) * add device to list * add to changelog 03 June 2019, 14:48:02 UTC
3a8da14 2.0.3 30 May 2019, 18:04:54 UTC
081be57 chore: npm update 30 May 2019, 18:04:20 UTC
8efe2ef fix: adding conditions for tvOS location providers (#678) * fix: adding conditions for tvOS location providers * docs: updating CHANGELOG.md * fix: changing to if/else * chore: refresh example with tvOS guard for battery this works now: npx react-native run-ios --simulator 'Apple TV' --scheme example-tvOS * chore: prepare for 2.0.3 release 30 May 2019, 18:01:06 UTC
d6575a6 fix(README.md): return type for isAutoDateAndTime and isAutoTimeZone in API Chart Change `boolean` to `Promise<boolean>` for isAutoDateAndTime and isAutoTimeZone in API Chart Closes #675 28 May 2019, 15:15:12 UTC
b29a25a 2.0.2 24 May 2019, 16:34:16 UTC
e83ea09 chore: prep for release 2.0.2 24 May 2019, 16:32:57 UTC
83c0377 chore: move ios device model dictionary from native to javascript (#670) 24 May 2019, 16:30:33 UTC
86fa117 types: make the typescript location / power returns specific (#669) 24 May 2019, 15:55:58 UTC
2ddd553 fix(tvOS): Adding tvOS to isBatteryMonitoringEnabled ignore check (#673) * fix: adding tvOS check to isBatteryMonitoringEnabled conditions * docs: mentioning tvOS change in CHANGELOG.md 24 May 2019, 15:49:46 UTC
a41dacd 2.0.1 21 May 2019, 22:44:18 UTC
513dc51 docs: prepare for release 2.0.1 21 May 2019, 22:43:12 UTC
219f18e fix: use non-deprecated APIs where available in `getFreeDiskStorage()` (#672) * Use newer StatFS.xyzLong() methods when available * Update CHANGELOG 21 May 2019, 22:36:23 UTC
802beb1 chore(packages): commit results of npm update 19 May 2019, 02:55:30 UTC
d58e003 chore: integrate react-native-community/eslint standards 19 May 2019, 02:55:30 UTC
322d4e8 2.0.0 17 May 2019, 22:53:47 UTC
ae3dfba breaking: note that isLocationEnabled requires minCompileSdk of 28 17 May 2019, 22:51:59 UTC
eb2f128 chore: Update and cleanup project (#628) * Clean up lock files This removes duplicate lock files: - yarn.lock - example/package-lock.json * Remove extra Gradle wrapper * Update .gitignore 17 May 2019, 19:05:01 UTC
bccef8d 1.8.0 16 May 2019, 22:07:30 UTC
b5d069e chore: update changelog in prep for 1.8.0 16 May 2019, 22:07:00 UTC
1afa45d feat: add isLocationEnabled, getAvailableLocationProviders (#664) * added native functions for hasLocationServicesEnabled * added hasLocationServicesEnabled to js; updated types, README * add missing imports, unify return type * added hasLocationServicesEnabled to example, and default/index * add getAvailableLocationServices native functions * rename to hasLocationServicesEnabled to isLocationEnabled, made some requested changes * added getAvailableLocationProviders and updated docs, types, etc * docs: add location permission to manifest when constructing example * chore: refresh example with new location position 16 May 2019, 22:06:15 UTC
85f17d0 chore: update example to current 15 May 2019, 21:58:06 UTC
9a26ba5 docs: update example construction script so it works on linux 15 May 2019, 21:57:35 UTC
76f0536 docs: add total/monthly/weekly download badges 15 May 2019, 19:06:39 UTC
84c34bb 1.7.0 15 May 2019, 17:39:16 UTC
a6ff0bb feat: Add getCameraPresence function (#474) * add isCameraPresent function * added note to Readme for isCameraPresent function * added export types for isCameraPresent function * added support for all versions of android for getCameraPresence function * feature(example): add getCameraPresence to example * doc(changelog): add record about getCameraPresence * feature(web-default): add empty getCameraPresence * doc(readme): update getCameraPresence examples * chore: prepare changelog for 1.7.0 release * chore: add dev-sync npm script to easy dev / testing 15 May 2019, 17:36:51 UTC
4c31336 Updated Readme.md - include pod install note post-link (#661) * Updated Readme.md Updated automatic linking which requires extra step in case of IOS, helps fix #353 * Updated Readme.md Added comment specific to *iOS users using Pods* 14 May 2019, 05:43:49 UTC
af983a0 1.6.2 13 May 2019, 14:48:32 UTC
00b462b docs: update CHANGELOG in prep for 1.6.2 13 May 2019, 14:45:27 UTC
94b1509 fix: added v to tag name in podspec When missing the v for the tag name, directly referencing the podspec file can result in a "tag not found" error when doing a pod install. 13 May 2019, 14:42:51 UTC
fcd5b28 Update README.md to have correct Podspec name (#656) Fix Podspec name. 10 May 2019, 20:05:26 UTC
9a5d8f4 1.6.1 30 April 2019, 19:31:00 UTC
d64c99f chore: fix pointer types and macro usage based on XCode warnings (#649) * chore: fix pointer types and macro usage based on XCode warnings * chore: update CHANGELOG for 1.6.1 pointer types fix 30 April 2019, 19:12:40 UTC
8dccbaa fix: building issue on tvOS / header on iOS (#652) * fix: tvOS Header Search Paths issue * fix: invalid batteryState call on TARGET_OS_TV * fix: fix iOS target header search path issue * chore: update CHANGELOG for 1.6.1 30 April 2019, 19:09:05 UTC
bcd1bc0 docs: update PR template (polyfill path, example usage) 30 April 2019, 03:22:42 UTC
f788a84 1.6.0 30 April 2019, 03:18:11 UTC
41c1d32 chore: update all outdated packages, npm install example 30 April 2019, 03:16:59 UTC
9722fdd feat: implement hasSystemFeature() method for Android devices (#646) * feat: implement hasSystemFeature method for Android devicess * feat: add getSystemAvailableFeatures() method for Android devices * fix: Only include a system feature if it has a non-null name * chore: update CHANGELOG for 1.6.0 with getSystemFeature info 30 April 2019, 03:03:17 UTC
43914f9 1.5.1 24 April 2019, 17:06:52 UTC
02f7c8b chore: update changelog to prep for 1.5.1 24 April 2019, 16:53:58 UTC
bc0ba1a chore: Update deviceinfo.js entry for xioami mi 8 lite (#644) hasNotch() return false on Xiaomi Mi 8 Lite, fix devicesWithNotch with `DeviceInfo.getModel()` 24 April 2019, 15:04:47 UTC
1042169 1.5.0 15 April 2019, 23:26:30 UTC
88b27d3 chore: update docs w/warnings suppression info (#629) Add info about why we have battery state warnings, and how to suppress the warning info about battery state 15 April 2019, 19:20:49 UTC
9c2f56d feat: Add build number of the operating system (#640) ## Description Added `getBuildId()` that allows to gets build number of the operating system. > **Note**: This method helps users' want's to [integrate with **Google Ads**](https://developers.google.com/app-conversion-tracking/api/request-response-specs) and this parameter is required to track their campaigns. ## Compatibility | OS | Implemented | | ------- | :---------: | | iOS | ✅ | | Android | ✅ | | Windows | ✅ | ## Checklist <!-- Check completed item: [X] --> * [x] I have tested this on a device/simulator for each compatible OS * [X] I added the documentation in `README.md` * [X] I mentioned this change in `CHANGELOG.md` * [X] I updated the typings files (`deviceinfo.d.ts`, `deviceinfo.js.flow`) * [ ] I updated the web polyfill (`web/index.js`) 15 April 2019, 19:11:25 UTC
4143d7c chore: update changelog with 1.4.3 version 09 April 2019, 03:54:35 UTC
b85acb8 1.4.3 09 April 2019, 03:52:19 UTC
5b45431 chore: run the np / shipit command for npm not yarn 09 April 2019, 03:17:30 UTC
833f8d1 1.4.2 09 April 2019, 03:17:30 UTC
a38daf0 chore: update np (for package publish) to latest version 09 April 2019, 03:17:30 UTC
de7e541 chore: add Xiaomi Mi A2 Lite to Notch list (#634) ## Description Fixed issue #633 Append Xiaomi Mi at Lite in notch list. ## Compatibility | OS | Implemented | | ------- | :---------: | | Android | ✅ | ## Checklist <!-- Check completed item: [X] --> * [X] I have tested this on a device/simulator for each compatible OS * [ ] I added the documentation in `README.md` * [ ] I mentioned this change in `CHANGELOG.md` * [ ] I updated the typings files (`deviceinfo.d.ts`, `deviceinfo.js.flow`) * [ ] I updated the web polyfill (`web/index.js`) 08 April 2019, 16:27:18 UTC
02878e9 docs: updated readme with contributing section (#631) ## Description Added Contributing section in Readme for easy access. 05 April 2019, 20:06:03 UTC
ea4803f feat: throw error if native module is null w/steps to help fix (#630) * feat: Throw an error if the native module is null with steps to help fix the issue * Add changelog entry 05 April 2019, 20:04:51 UTC
b98dbde chore: add ability to test flow and typescript definitions from command line (#626) * chore: add flow-bin to package and script to validate, related to #613 and #614 * chore: add typescript validation script, related to #614 04 April 2019, 16:01:19 UTC
9f6399b fix: Use RCTSharedApplication instead of [UIApplication sharedApplication] fix ios app extension build (#408) * Use RCTSharedApplication Calling `[UIApplication sharedApplication]` [is unsafe in an app extension][0]. This is hidden by `RCTSharedApplication` which lets app extensions include this library through CocoaPods [without compilation errors][1]. [0]: https://developer.apple.com/library/content/documentation/General/Conceptual/ExtensibilityPG/ExtensionOverview.html#//apple_ref/doc/uid/TP40014214-CH2-SW6 [1]: https://github.com/CocoaPods/CocoaPods/pull/3048 * Update changelog * chore: add changelog entry * chore: use modern react-native header include style * Add note about getFontScale to README.md 04 April 2019, 15:16:17 UTC
2b654b8 fix: getUserAgent fix for android API level <= 16 (#545) * Try to take system property for user agent even on old androids. * Add changelog item for getUserAgent fix 04 April 2019, 14:03:46 UTC
49fd4af chore: Podfile update w/correct versions (#617) * chore: add package-lock.json for reproducible maintenance * chore: update podspec; specify module version, update others this was mostly based off the react-native-netinfo module 04 April 2019, 13:39:48 UTC
e9f8b00 chore: Add 3rd generation iPad pro to device->model map (#618) ## Description I've added the 3rd generation Ipad pro to the list with available devices. This fixes a problem where it just returns "iPad" for these devices. I've specifically added 3th generation to the name of the device. This way you can actually tell the difference between the multiple versions of the iPad Pro. This is a must have because it's the only way to tell the difference between the iPad pro with physical home button (generation 1 and 2) and the iPad pro without physical home button (generation 3). I kept the name of generation 2 the same for now but I can rename it for consistency. 04 April 2019, 13:31:35 UTC
ad54de1 chore: Add Huweai INE-LX1 to devices with notch (#624) 04 April 2019, 13:28:17 UTC
7ef04e4 docs: add Podfile and README to example, refresh example (#616) * docs: add Podfile to example to help users, Fixes #615 * docs: Add README to example project, refresh example 01 April 2019, 15:40:02 UTC
aa65651 chore: update changelog with 1.4.1 description (in arrears to get the fix out faster) 29 March 2019, 22:00:27 UTC
ea2954c v1.4.1 29 March 2019, 21:56:56 UTC
a6bb7f5 fix: repair flow types after getPowerState addition 29 March 2019, 21:36:08 UTC
9e9a848 v1.4.0 29 March 2019, 20:54:36 UTC
41ee8c7 feat: add iOS battery monitoring and detailed power state getter (#436) * feat: add battery monitoring and detailed power state getter * chore: add warning when in dev mode if battery state is unknown * docs: add explicit example of tapping the RNDeviceInfo emitter * chore: add entry to web polyfill * fix: import the logging header * feat: add iOS support for `isBatteryCharging` * chore: example usage / dev warnings * chore: only emit notifications if listeners are present * fix: update battery monitoring patch * chore: on simulator isBatteryMonitoringEnabled is always false, filter message * chore: add note in API docs about warnings, update changelog * chore: fix typo in readme * chore: update changelog to pin this to 1.4.0 29 March 2019, 20:53:03 UTC
5806a59 docs: credit Mike Hardy, our new maintainer 28 March 2019, 22:48:35 UTC
4144d5c v1.3.0 28 March 2019, 21:57:39 UTC
6051abc feat: Add preferred Languages function (#610) * feat: Add preferred Languages function * chore: add usage example of getPreferredLocales * chore: add PR reference to getPreferredLocales feature * chore: add *correct* url to github for getPreferredLocales 28 March 2019, 21:49:28 UTC
fcad1db docs: add maintainers information describing current processes (#611) 28 March 2019, 16:17:14 UTC
59fccd5 chore: convert gradle config to modern style (#607) this is largely based off personal experience plus a look at react-native-share Also Obsoletes #484 This is what modern gradle configs look like in modules, and I don't believe this has any compatibility impact. Builds cleanly and runs the example for me 28 March 2019, 16:07:30 UTC
7b694f4 v1.2.0 28 March 2019, 15:04:28 UTC
ddf6834 chore: prepare next release - v1.2.0 28 March 2019, 14:56:22 UTC
1059605 chore: update README troubleshooting to provide guidance for #586 28 March 2019, 12:53:27 UTC
0df4352 chore: Refresh example to react-native@0.59.2 + react-native-device-info@master (#606) * fix: example should use master for module, enable iOS battery monitor correctly * chore: refresh example for react-native 0.59.2 28 March 2019, 12:24:59 UTC
f14e352 feat: Adds support for Jest snapshot testing (#375) * feat: Adds support to Storybook and snapshot testing * chore: update changelog for jest snapshot testing #375 28 March 2019, 12:22:42 UTC
6f995ae chore: update changelog for #406 / react-native-dom support 28 March 2019, 11:53:47 UTC
3291c38 feat: Support 'dom' Platform.OS for react-native-dom (#406) * Add support for web browsers. See #323 * Update web support Use import instead of require * Merge from master * Support 'dom' Platform.OS for react-native-dom * Update Readme to include react-native-dom 28 March 2019, 11:51:36 UTC
10fc5f8 fix: dynamic pathing for windows, fixes #357 (#608) @mikehardy, ## Description This is the required change that is necessary for windows to resolve the reference path in different environments (outside of visual studio which automatically resolves references). ## Compatibility | OS | Implemented | | ------- | :---------: | | iOS | ❌ | | Android | ❌ | | Windows | ✅ | ## Checklist <!-- Check completed item: [X] --> * [ ] I have tested this on a device/simulator for each compatible OS * [ ] I added the documentation in `README.md` * [x] I mentioned this change in `CHANGELOG.md` * [ ] I updated the typings files (`deviceinfo.d.ts`, `deviceinfo.js.flow`) * [ ] I updated the web polyfill (`web/index.js`) 28 March 2019, 11:48:27 UTC
018bb99 fix: Use phoneNumber permissions specific to Android versions (#269) Ask relevant permissions according to Android os version. Issue: #268 Relevant links for Android source code, each page shows what permissions getLine1Number method requires. [Lollipop - TelephoneManager source code](https://android.googlesource.com/platform/frameworks/base.git/+/lollipop-release/telephony/java/android/telephony/TelephonyManager.java) [Marshmallow - TelephoneManager source code](https://android.googlesource.com/platform/frameworks/base.git/+/marshmallow-release/telephony/java/android/telephony/TelephonyManager.java) [Nougat - TelephoneManager source code](https://android.googlesource.com/platform/frameworks/base.git/+/nougat-release/telephony/java/android/telephony/TelephonyManager.java) [Lollipop - TelephoneManager source code](https://android.googlesource.com/platform/frameworks/base.git/+/oreo-release/telephony/java/android/telephony/TelephonyManager.java) 27 March 2019, 23:35:55 UTC
0f859f1 fix: Use this.reactContext vs getCurrentActivity to avoid NPEs (#382) * Uses this.reactContext instead of getCurrentActivity to check permissions for phoneNumber getter * Updates changelog 27 March 2019, 18:27:54 UTC
0072a3c fix: ONEPLUS A6010 has a notch (#604) * ONEPLUS A6010 has a notch * chore: update changelog for A6010 notch addition 27 March 2019, 18:19:24 UTC
back to top