Native Engine Integration (Deprecated)
Updated: Sep 29, 2022
Mobile SDK Deprecation
As of August 31, 2022, Mobile SDK and the VrApi library are no longer supported. Future updates will be delivered through OpenXR extensions and our OpenXR Mobile SDK, not through any new updates to Meta Mobile or PC APIs. - New apps must use OpenXR unless a waiver is granted.
- New apps will not have access to Meta Native Mobile APIs, but existing apps can continue using them.
- No assistance will be provided for creating new apps with Meta Native APIs. You will find recommendations for migrating existing apps to OpenXR in the developer guides.
- Only critical security, privacy, or safety issues in Meta Native APIs will be addressed.
- Any testing of Meta Native Mobile will be restricted to automated QA tests, only to ensure core features remain functional.
This guide describes how to integrate the native Oculus Android SDK with a game engine using VrApi.
VrApi provides the minimum required API for rendering scenes in VR. Apps may query VrApi for orientation data, and submit textures to apply distortion, sensor fusion, and compositing.
We have provided the source for VrCubeWorld_NativeActivity and VrCubeWorld_SurfaceView, simple sample apps using VrApi, to serve as references. See the
Native Samples topic for more details.