react-native-device-info does not seem to handle new architecture for windows
Problem Description
A friendly Microsoft person mentioned in react-native-permissions (https://github.com/zoontek/react-native-permissions/issues/925) that they may be able to help with react-ntive-windows implementations of some important modules
Historically there was help from Microsoft getting react-native-device-info working, and I'll admit (as maintainer) I need the help for New Arch as well - related issue: https://github.com/react-native-device-info/react-native-device-info/issues/1687
Steps To Reproduce
- Install react-native-windows 0.76+ with new arch enabled
- add react-native-device-info
- Sad developer 😆
I am deliberately being pretty brief about reproduction details because I believe it's trivial to reproduce, but I'm the maintainer - I expect to collaborate on the related issue
I will also apologize in advance for the very very out of date example app in repo, haven't had time to fix it
Expected Results
Working compile
CLI version
15 reproduces it
Environment
npx @react-native-community/cli info
Everything current as of this typing will reproduce - that's 0.77.0 and current version of react-native-device-info
Community Modules
react-native-device-info
Target Platform Version
None
Target Device(s)
Desktop
Visual Studio Version
None
Build Configuration
None
Snack, code example, screenshot, or link to a repository
No response
Hey Mike! Thanks for filing this - I have been working on adding New Arch support for other community modules, and can work on adding New Arch support for react-native-device-info. We only have new arch support for more recent versions of RNW - the first step would be to upgrade ideally to a version >= 76. It looks like the module is currently on 0.67 - is this something that can be upgraded fairly smoothly?
Sorry - just realized that the first step here is for me to get the module itself updated, missed that Let me see what I can do
Still on the todo list, alas
Re-assigning to @sharath2727 as he is taking over ownership of upgrading react-native-device-info.
Any updates 🙏