react-native-unity-view | Show an unity view in react | Frontend Framework library

 by   f111fei Java Version: Current License: MIT

kandi X-RAY | react-native-unity-view Summary

kandi X-RAY | react-native-unity-view Summary

react-native-unity-view is a Java library typically used in User Interface, Frontend Framework, React Native, React, Unity applications. react-native-unity-view has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However react-native-unity-view build file is not available. You can download it from GitHub.

Show an unity view in react native
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              react-native-unity-view has a low active ecosystem.
              It has 369 star(s) with 91 fork(s). There are 30 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 66 open issues and 78 have been closed. On average issues are closed in 42 days. There are 1 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of react-native-unity-view is current.

            kandi-Quality Quality

              react-native-unity-view has 0 bugs and 0 code smells.

            kandi-Security Security

              react-native-unity-view has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              react-native-unity-view code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              react-native-unity-view is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              react-native-unity-view releases are not available. You will need to build from source code and install.
              react-native-unity-view has no build file. You will be need to create the build yourself to build the component from source.
              Installation instructions, examples and code snippets are available.
              react-native-unity-view saves you 127 person hours of effort in developing the same functionality from scratch.
              It has 319 lines of code, 39 functions and 11 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed react-native-unity-view and discovered the below as its top functions. This is intended to give you an instant insight into react-native-unity-view implemented functionality, and help decide if they suit your requirements.
            • Create new view instance
            • Adds the unity view to the group
            • Add the single unity view to the background
            • Create a singleton player
            • Resume host resume
            • Restore the UI user state
            • Is the unit paused?
            • Resume execution
            • Resume the UI
            • Pauses host pause
            • Returns true if the UI is ready to be unified
            • Emits a device - side message
            • Checks if the Minecraft is ready
            • Pauses the playback
            • Posts a message to a player
            • Adds an event listener to the system
            • Called when a host is destroyed
            • Removes an event listener from the system
            • Set configuration changed
            • Send a unified message
            • Creates a list of view managers
            • Create a native module
            • Create a new Minecraft player
            • This is called when a view instance is deleted
            • Called when the window focus changed
            • Called when view is attached to a window
            Get all kandi verified functions for this library.

            react-native-unity-view Key Features

            No Key Features are available at this moment for react-native-unity-view.

            react-native-unity-view Examples and Code Snippets

            No Code Snippets are available at this moment for react-native-unity-view.

            Community Discussions

            QUESTION

            React Native: Invoke a View on Button click
            Asked 2020-Oct-11 at 18:07

            I'm a React Native noob.

            I just integrated my Unity3D app with the React Native app using nreact-native-unity-view (https://github.com/nhancv/nreact-native-unity-view)

            ...

            ANSWER

            Answered 2020-Oct-11 at 18:07

            The easiest way is to use the stack navigator and have a separate page for the unity screen. https://reactnavigation.org/docs/stack-navigator/

            the code to navigate would be navigation.navigate('screenname'); This code wont work until you sort the imports related to unity and related items.

            Source https://stackoverflow.com/questions/64307308

            QUESTION

            How to solve "libmain.so not found" while using Unity as a library in Android application with latest AndroidX Versions out of ReactNative
            Asked 2020-Feb-27 at 05:06

            We have a ReactNative application that has integrated Unity based on react-native-unity-view successfully as a library for quite a long time. However, after most recent updates on ReactNative regarding AndroidX and latest SDK-changes, we're running into the issue "libmain.so not found". This exception happens on the very first attempt to display a Unity-View.

            There is a similar issue on SO, please don't mark as duplicate as our approach might be different and particulary since we give many many more details here.

            There is a running and still working example on GitHub (based on ReactNative 0.57): https://github.com/f111fei/react-native-unity-demo. As long as this project is based on ReactNative 0.57 and its appropriate gradle-settings, everything works fine. But as soon as we upgrade to the latest ReactNative version (and even 0.60 for example), which gives us an android-folder that is very different against to the older one), the issue happens with a crash of the application. (We also tried to set up everything from scratch to exclude the possibility that this issue was due to upgrades. With RN 0.57 everything still works fine, with RN 0.60 and above not)

            The exception is as follows:

            ...

            ANSWER

            Answered 2019-Nov-21 at 16:33

            I can answer by myself now. The issue was caused by Unity export that was not ARM64-compatible unless several settings were applied manually. Here is how:

            Bevor building for Android, we need to adjust some settings in "Player Settings" in order to make ARM64 available:

            1. Switching "Scripting Backend" from Mono to ILCPP, which enables us to:
            2. Select "ARM64" under Target Architectures

            If you run into an Error like "NDK not found" while building, ensure that Unity has downloaded and installed its own copy of NDK:

            Having all this in mind will enable us to link against these libraries without failing to find "libmain.so".

            Source https://stackoverflow.com/questions/58877735

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install react-native-unity-view

            Copy Build.cs and XCodePostBuild.cs to unity/<Your Unity Project>/Assets/Scripts/Editor/. Open your unity project in Unity Editor. Now you can export unity project with Build/Export Android or Build/Export IOS menu. Android will export unity project to android/UnityExport. IOS will export unity project to ios/UnityExport.
            Make alterations to the following files:. Do not run in the simulator.
            android/settings.gradle
            Open your react native project in XCode.
            Copy File UnityConfig.xcconfig to ios/${XcodeProjectName}/.
            Drag UnityConfig.xcconfig to XCode. Choose Create folder references.
            Setting .xcconfig to project.
            Go to Targets => Build Settings. Change Dead Code Stripping to YES.
            Modify main.m

            Support

            Copy UnityMessageManager.cs to your unity project. Copy Newtonsoft.Json to your unity project. Copy link.xml to your unity project.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/f111fei/react-native-unity-view.git

          • CLI

            gh repo clone f111fei/react-native-unity-view

          • sshUrl

            git@github.com:f111fei/react-native-unity-view.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link