react-native-extra-dimensions-android
react-native-extra-dimensions-android copied to clipboard
Update RNPM for RN 0.60+
Project need add file react-native.config.js to update "rnpm" props in packages.json.
yeahh.. i am not being able to use this library because of RN 0.60+. Please update 'rnpm' props in packages.json
@Sunhat would it be possible to release new version of the package to the npm?
Any upcoming release ? Or we should use the master branch ?
Release?
Release?
Release?
Can you please Release? 💪
Dead project. Nobody should use this.
@Sunhat any recommendations on alternatives?
@rafalolszewski94 have you found any alternatives?
@ziyaddin I use this for now https://github.com/pluralcom/react-native-extra-dimensions-android
{
"react-native-extra-dimensions-android": "https://github.com/pluralcom/react-native-extra-dimensions-android",
}
If Airbnb do not need this, then I'm going to say nobody else does either
Please provide me with an argument as to why this is necessary?
Example usecase:
if (Platform.OS === 'android') {
const ExtraDimensions = require('react-native-extra-dimensions-android');
const STATUSBAR_HEIGHT = ExtraDimensions.get('STATUS_BAR_HEIGHT');
const WINDOW_HEIGHT =
ExtraDimensions.get('REAL_WINDOW_HEIGHT') -
STATUSBAR_HEIGHT -
ExtraDimensions.get('SOFT_MENU_BAR_HEIGHT');
return { STATUSBAR_HEIGHT, WINDOW_HEIGHT };
}
NOTE: Different existing RN projects ALREADY use this repo, which means that upgrading RN would be an issue just because of RNPM issues that can be maintained.
Yes, I fail to see why accepting a PR and creating a release tag is too big a burden. The package is otherwise functional, just needs an occasional update that others in the community can provide. You just need to create a tag.
@ziyaddin I use this for now https://github.com/pluralcom/react-native-extra-dimensions-android
{ "react-native-extra-dimensions-android": "https://github.com/pluralcom/react-native-extra-dimensions-android", }
This is not working. Since in package.json has files
defined and it does not have react-native.config.js
in it. So npm does not fetch react-native.config.js
file
If anyone is using https://github.com/pluralcom/react-native-extra-dimensions-android and would like us to publish an NPM release instead of just github, please let me know 👍🏻
NPM is more reliable since using github link simply refers to the latest version and not an exact version