About App Deployment on Magic Leap 2: Package Format, Permissions, and Support

We have independently developed an application using Unity and would like to install it on Magic Leap 2 for our own testing and demonstration. Could you please clarify the following: What format should the application be packaged into? Can APK format files be installed directly on Magic Leap 2? Are there any permission restrictions for installing applications on Magic Leap 2, and will it meet our requirements for installing, testing, and demonstrating the application? If we encounter issues during installation or testing, can we obtain technical support?

ML2 OS version:What are the differences between the various versions of Magic Leap 2, and what impact do they have on development?
Host OS: (Windows)

Hey @sss_outttuo,

Welcome to the Magic Leap Forums!

You can install APKs directly on the headset for development, testing, and demonstration.

There are multiple ways to install APK’s on the ML2.

  • Via the Magic Leap Hub software
  • ADB commands

There are no special restrictions for installing your own apps on a Magic Leap 2 device, but you must enable Developer Mode.

You have access to most Android APIs, except for:

  • Certain restricted system-level permissions (e.g. root access, device-wide settings)
  1. Spatial features (meshing, hand tracking, perception, etc.) require manifest feature declarations like:

    <uses-feature android:name="com.magicleap.permission.SPATIAL_MAPPING"/>
    <uses-feature android:name="com.magicleap.permission.HAND_TRACKING"/>
    
    

    These are usually added automatically by the Unity Magic Leap SDK.

If you ever need any assistance, you can use these forums and someone from the community or a Magic Leap employee like myself will do our best to help you out!
That being said, we do provide pretty thorough documentation and guides on how to work with the Magic Leap 2 device in just about every capacity.

Here’s some links to help get you started and so you can find more detailed information!

Best,
Corey