在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:MozillaReality/FirefoxReality开源软件地址:https://github.com/MozillaReality/FirefoxReality开源编程语言:Java 69.3%开源软件介绍:Firefox RealityThe goal of the Firefox Reality project is to create a full-featured browser exclusively for standalone AR and VR headsets. You can find us in #fxr:mozilla.org on the Matrix (Instructions for joining), Twitter @MozillaReality, and at [email protected]. Download developer APKsDownload developer APKs for Firefox Reality generated from latest main. Locale supportFirefox Reality supports Chinese (China), Chinese (Taiwan), English, French, German, Italian, Japanese, Russian, and Spanish for user interface, voice search, and text entry. Localization is provided by Mozilla's amazing community of volunteer localizers. For more info on localization, how it works in the Firefox Reality project, and how to correctly edit localizable text in the application, please see the localization wiki page. Setup instructionsClone FirefoxReality. git clone [email protected]:MozillaReality/FirefoxReality.git
cd FirefoxReality Clone the third-party repo. If you're developing for the Oculus, Snapdragon VR, or VIVE, you need to clone the repo with third-party SDK files. git clone [email protected]:MozillaReality/FirefoxReality-android-third-party.git third_party This repo is only available to Mozilla employees. If you have access to the relevant SDK but not this repo, you can manually place them here:
The repo in pushd third_party && git fetch && git checkout main && git rebase origin/main && popd Fetch Git submodules. You may need to set up two-factor authentication for the command line. git submodule update --init --recursive You can build for different devices:
For testing on a non-VR device:
Building for Oculus Mobile, and WaveVR requires access to their respective SDKs which are not included in this repo. The command line version of Open the project with Android Studio then build and run it. Depending on what you already have installed in Android Studio, the build may fail and then may prompt you to install dependencies. Just keep doing as it suggests. To select the device to build for, go to If you want to build FirefoxReality for WaveVR SDK: Download the VIVE Wave SDK from the VIVE Developer Resources, and unzip it. Then, from the top-level project directory, run: mkdir -p third_party/wavesdk
cp /path/to/the/sdk/2.0.32/SDK/libs/wvr_client.aar third_party/wavesdk
cp ./extra/wavesdk/build.gradle ./third_party/wavesdk Make certain to set the build flavor to Local DevelopmentDependency substitutionsYou might be interested in building this project against local versions of some of the dependencies. This could be done either by using a local maven repository (quite cumbersome), or via Gradle's dependency substitutions (not at all cumbersome!). Currently, the substitution flow is streamlined for some of the core dependencies via configuration flags in
Do not forget to run a Gradle sync in Android Studio after changing Install dev and production builds on device simultaneouslyYou can enable a dev applicationID sufix to install both dev and production builds simultaneously. You just need to add this property to your simultaneousDevProduction=true Locally generate Android release buildsLocal release builds can be useful to measure performance or debug issues only happening in release builds. Insead of dealing with release keys you can make the testing easier just adding this property to your useDebugSigningOnRelease=true Note: the release APKs generated with a debug keystore can't be used for production. Compress assetsETC2 compression is used to improve performance and memory usage. Raw assets are placed in the cd tools/compressor
npm install
npm run compress Enable OpenXR buildsYou can enable OpenXR API for Oculus by adding this property to your openxr=true Development troubleshooting
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论