Skip to content

react-native-device-info does not seem to handle new architecture for windows #14341

Open
@mikehardy

Description

@mikehardy

Problem Description

A friendly Microsoft person mentioned in react-native-permissions (zoontek/react-native-permissions#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: react-native-device-info/react-native-device-info#1687

Steps To Reproduce

  1. Install react-native-windows 0.76+ with new arch enabled
  2. add react-native-device-info
  3. 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

Metadata

Metadata

Assignees

Labels

ExtensionsTracks issues against community modules and extensionsExternalIssue tracked in this repo but change will need to happen in another repoNew ArchitectureBroad category for issues that apply to the RN "new" architecture of Turbo Modules + FabricWorkstream: Module SupportModule developers have the requisite tooling and clear path for adding windows support to modules.enhancement

Type

Projects

Status

No status

Relationships

None yet

Development

No branches or pull requests

Issue actions