Questions tagged [react-native-windows]

This tag should be used for any queries related to react-native-windows. All generic react-native queries should be posted to react-native package

React Native Windows package https://microsoft.github.io/react-native-windows/docs/getting-started

80 questions
0
votes
0 answers

Run React Native application for Windows without launching Metro

I have tried below steps to publish my React Native application for windows: Open the solution in Visual Studio Select the Release configuration from the Configuration Manager drop-down. Build the solution. You can now launch without first…
0
votes
0 answers

Folly compiler error making build fail. Is there a workaround?

Error message: Building Solution: C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\XamlCompiler\Microsoft.Windows.UI.X... × Build failed with message…
0
votes
0 answers

Can I use Three.js in React Native for Desktop?

As I understand, React Three Fiber(R3F) supports React Native, but not sure if it works in the React Native for Desktop App. (R3F). They uses expo-gl library, and the offical document of expo says that it supports android, ios, and web. Does this…
0
votes
0 answers

installing react-native-macos after react-native-windows

I been trying to create a sample react-native sample app that would work on both windows and mac from the same project. I first ran npx react-native-windows-init which worked just fine and excecuted the windows program. but after running npx…
0
votes
0 answers

Payload contains two or more files with the same destination path 'WinMetadata\Microsoft.UI.Xaml.winmd', but they are different sizes

How to resolve this issue RN v0.64.1 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VisualStudio\v16.0\AppxPackage\Microsoft.AppXPackage.Targets(1946,5): error APPX1111: Payload contains two or more files with the…
0
votes
0 answers

Navigation under React Native for Windows not working [React Native 0.70.2]

I'm trying using react-navigation/native version 6.0.13, I have installed all the packages required to make it work and when implemented the code for navigation, simply doesn't work here's the code: ./App.js import type {Node} from 'react'; import {…
0
votes
0 answers

How to properly pass `hstring` to FileTypeFilter() and FileTypeChoices()

I made this code for opening file picker in React Native for Windows app: #pragma once #include #include #include #include #include…
Jihoo Byeon
  • 69
  • 1
  • 8
0
votes
0 answers

"Coroutine parameter must be passed by value for safe access" how can I do it?

I made a C++/WinRT module which implements Windows.Storage.Pickers.FileOpenPicker and FileSavePicker to React Native for Windows. This is my FilePicker.h: #pragma once #include #include…
Jihoo Byeon
  • 69
  • 1
  • 8
0
votes
0 answers

Does anyone have a work around for this react-native run-windows build issue involving react-native-document-picker?

"× Build failed with message C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(4968,5): error MSB3030: Could not copy the file…
Nickoder
  • 15
  • 2
0
votes
0 answers

React native windows: Popup vs Flyout

What is the main difference between a Popup and Flyout in react native windows? The website did not provide any description of the component When to use one or the other?
lch
  • 4,569
  • 13
  • 42
  • 75
0
votes
0 answers

Speech Recognition with react-native-windows

I find out that you can develop windows apps with react native (hololens 2 apps to be more specific). I want to control the app by speaking How can I achieve this in react native windows? I surfed the internet and I didn't found a library (speech…
0
votes
1 answer

How to show the image from the local file path example from c:/foldername/x.png

I would like to show the image from the File path example from c:/foldername/x.png. When I have given file path, we are getting cross mark but it is not loading the image, anyone has any idea? Code which I was working
0
votes
1 answer

react native sound Not working on Windows: Cannot read property 'IsAndroid' of undefined

I'm working on project for android and windows using react native CLI and I want to play sound when the user clicks a butto. For that, I've used react-native-sound as the most famous library to play sounds on react native and the it supports windows…
0
votes
1 answer

Can I use the same codebase for both a React Native macOS app and a React Native Windows app?

I am trying to create an app using React Native that runs on iOS, Android, macOS and Windows. An advantage of being able to use React Native is that you can share code between platforms. I am following the setup guides for React Native macOS and…
Mr. Robot
  • 1,334
  • 6
  • 27
  • 79
0
votes
0 answers

react native windows app not connecting to localhost

I have been working on react-native for windows app the thing is I created a localhost in node.js using express and made api calls from the windows app both the server and app were working fine on my device even after when i created appx bundle file…