Device Information for React Native iOS and Android
MIT License
Bot releases are visible (Hide)
Published by mikehardy over 3 years ago
auto-changelog follows
https://github.com/react-native-device-info/react-native-device-info/compare/v8.0.5...v8.0.6
Published by mikehardy over 3 years ago
fix: remove husky from postinstall entirely
Apparently there is no way to conditionally run postinstall, and while
we really want husky for contributors here, we must not fail on install
of library consumers (and we don't want to install husky for everyone,
even though it's a great package)
https://github.com/react-native-device-info/react-native-device-info/compare/v8.0.4...v8.0.5
Published by mikehardy over 3 years ago
fix: prefix husky install with with npm or package install fails
Husky is just a pre-commit hook package we use for QA, quite unfortunate that as
we ported to the next major version in v8.0.3 I broke the install for everyone. Apologies! @mikehardy
https://github.com/react-native-device-info/react-native-device-info/compare/v8.0.3...v8.0.4
Published by mikehardy over 3 years ago
auto release notes follow:
https://github.com/react-native-device-info/react-native-device-info/compare/v8.0.2...v8.0.3
Published by mikehardy over 3 years ago
https://github.com/react-native-device-info/react-native-device-info/compare/v8.0.1...v8.0.2
Published by mikehardy over 3 years ago
auto-changelog follows:
https://github.com/react-native-device-info/react-native-device-info/compare/v8.0.0...v8.0.1
Published by mikehardy almost 4 years ago
7.4.0 was inadvertently breaking. I hadn't realized any iOS developers failed to update Xcode to stable
after an Xcode release. For a variety of reasons, you should always keep Xcode up to date, nevertheless
dropping Xcode 11 support is breaking. Update your Xcode or use 7.3.2.
https://github.com/react-native-device-info/react-native-device-info/compare/v7.4.0...v8.0.0
Published by mikehardy almost 4 years ago
BREAKING If you need support for Xcode 11, use 7.3.2 or lower. This was inadvertently breaking so did not get a semver-major change.
I hope you enjoy react-native-device-info 7.4.0
Here are the highlights:
https://github.com/react-native-device-info/react-native-device-info/compare/v7.3.1...v7.4.0
Published by mikehardy almost 4 years ago
Build breaks, the worst. At least it was only the "test" targets and only one platform but still ridiculous.
Hope it didn't affect too many people, and sorry about that.
https://github.com/react-native-device-info/react-native-device-info/compare/v7.3.0...v7.3.1
Published by mikehardy almost 4 years ago
getSystemName
4fd1bb7Platform.select
spy baca814getUserAgent
and getUserAgentSync
65f2750getUserAgent*
22ff51egetPowerState*
09a775fhttps://github.com/react-native-device-info/react-native-device-info/compare/v7.2.1...v7.3.0
Published by mikehardy almost 4 years ago
https://github.com/react-native-device-info/react-native-device-info/compare/v7.2.0...v7.2.1
Published by mikehardy almost 4 years ago
It is always a community effort to make this module work, but this time @jaimecbernardo definitely deserves the attention - porting windows to a whole new language and greatly expanding the API coverage was a massive effort. Thanks Jaime!
https://github.com/react-native-device-info/react-native-device-info/compare/v7.1.0...v7.2.0
Published by mikehardy almost 4 years ago
hasHms
to indicate if Android device supports Huawei Mobile Services. (#1129, thanks @craig95!)hasGms
to indicate if Android device supports Google Mobile Services. (#1129, thanks @craig95!)This release includes a truly enormous amount of testing and internal refactoring work that has made the module much
easier to maintain, all courtesy of @schie in the form of a pile of PRs implementing the same. Thank you, Dustin Schie!
Auto-changelog to follow
Platform.select
spy 5d53b11deviceType
to stringKeys
3476655getApiLevel
to numberFnNames
43bab1ahttps://github.com/react-native-device-info/react-native-device-info/compare/v7.0.2...v7.1.0
Published by mikehardy almost 4 years ago
https://github.com/react-native-community/react-native-device-info/compare/v7.0.1...v7.0.2
Published by mikehardy almost 4 years ago
https://github.com/react-native-community/react-native-device-info/compare/v7.0.0...v7.0.1
Published by mikehardy almost 4 years ago
BREAKING CHANGE: iOS 9 support is dropped. New minimum iOS is 10. Stay on v6 if you can't drop it yet.
getFontScale
disclaimer bc0a41bgetFontScale
in app extensions 062dfd5https://github.com/react-native-community/react-native-device-info/compare/v6.2.1...v7.0.0
Published by mikehardy about 4 years ago
getSupportedPlatformInfoFunctions
conversion (#1095) 5f048f6getSupportedPlatformInfoFunctions
(#1092) 50d62fbgetSupportedPlatformInfoFunctions
for another batch of APIs (#1091) 4a3b462https://github.com/react-native-community/react-native-device-info/compare/v6.2.0...v6.2.1
Published by mikehardy about 4 years ago
useIsHeadphonesConnected()
60942a0useIsHeadphonesConnected()
2d680b6useIsHeadphonesConnected()
ec22e43useOnEvent
convenience hook 72b0cd8RNDeviceInfo_headphoneConnectionDidChange
event 5489cb4RNDeviceInfo_headphoneConnectionDidChange
event f3490f9https://github.com/react-native-community/react-native-device-info/compare/v6.1.0...v6.2.0
Published by mikehardy about 4 years ago
https://github.com/react-native-community/react-native-device-info/compare/v6.0.4...v6.1.0