-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add manifest entries for Magic Leap #178
Conversation
We should include a |
Is that possible in that interface? That would definitely be the preferred option. It can then also have a "other" options that just exports without any platform specific flags that hopefully works on future devices |
@BastiaanOlij The second commit of #181 showcases how to do so. |
@BastiaanOlij Can you update the changelog. |
e0a741a
to
8634ca6
Compare
Done, also rebased and added an export preset for Magic Leap. |
09f2c7b
to
d92abcb
Compare
Turns out Magic Leap is an x86_64 device, not arm :) Had to update the export preset accordingly. |
During xR meeting discussed whether we should have an HTC entry and Magic leap entry separate just like we have a Pico entry, to make this more managable. Might redo this PR to show that approach. |
@BastiaanOlij Should this be put as a draft for now? |
Yes I'll change it, I just need to find some time to make the needed changes |
7c58b50
to
0feace8
Compare
Apologies for taking so long to finally redo this one. As discussed in the XR meeting a few weeks ago, we've decided to start creating separate export plugin entries for each vendor even if they are using the Khronos loader. This so we can separate out the needed manifest entries and privilege handling. Eventually the Khronos entry should become an entry that makes no assumptions about the vendor and result in an APK that can run on any Android device but won't be able to make use of any vendor specific logic that requires vendor specific manifest entries. At some point in the near future we will thus make HTC its own export plugin, but that is not covered by this PR. This PR purely implements Magicleap as an export plugin similar to what we've already done with PICO. Both also use the Khronos loader. These two now form the blueprint for other platforms we intent to add in the near future. |
XR Meeting 23/08/24 Think we should merge this soonish because we can't fully test this. If there is an issue we can always do a fix. Need to time this if we do indeed release a 3.0.1 patch or if we're going straight to a 3.1.0 release as our next release. |
0feace8
to
3e9cda2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
3e9cda2
to
69e2877
Compare
@m4gr3d shall we go ahead and merge this? I'm assuming the simulator failure can be ignored? |
I just reran the tests and they are passing! The old logs appear to be gone, so I'm not sure what they were failing on before - it could have been the issue with Meta's NPM server? In any case, seems to be fine now. |
Yep, I checked the NPM server when the first errors were logged here and it (the server) was failing on every http request... but don't know enough about the (our?) build process to feel I could confirm or add anything useful at the time. Checked again this morning when Bas updated and it was fine (though up to v68 of the simulator as latest now, which I originally thought might have been a contributing factor. Evidently not, though). Good spot, and fix, guys. (y) |
69e2877
to
6c806ed
Compare
This PR adds a new export plugin for Magic Leap 2 based on https://developer-docs.magicleap.cloud/docs/guides/openxr/getting-started/android-manifest-settings/
It uses the standard Khronos loader but adds in specific settings for Magic Leap.
It's not clearly defined in the writeup here but from what I gather the hand tracking is a normal permission and doesn't require further user interaction.
The interaction can be found under the Magicleap heading:
I can't test on a Magic Leap myself but we have a user on discord who's likely able to test this for us.