microsoft / XboxGameBarSamples

Sample code for Xbox Game Bar Widgets
https://developer.microsoft.com/games/products/game-bar/
MIT License
144 stars 26 forks source link

Support For React Native Windows #51

Open ShoeBoom opened 4 years ago

ShoeBoom commented 4 years ago

Is your feature request related to a problem? Please describe. Trying to run react-native within as a Widget causes a crash with the following error

ReactInUWP.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.

looking at the packager log it seems there was no request to the packager.

Describe the solution you'd like I think (if it's possible) a sample would be more than enough.

Additional context code -> https://gist.github.com/ShoeBoom/1e2ec26df57c576c5f20e5b0f29800bb

hamiltonia commented 4 years ago

React Native for Windows is a very active project which changes rapidly. We've experimented with it in the past and found it to have some threading issues that prevent it from working correctly in Game Bar. The project has also made an architectural decision to move to WinUI3 which Game Bar cannot currently host. We are working with the WinUI team to add the necessary support to enable its use, but there's currently no ETA.

We have a long term goal of supporting React Native in the future, but as of now we can't recommend it for widget development.