Skip to main content

Prepare your XR app for Learner Launcher

For content developers: Verify LMS integration in your app, emit assessment start/complete events, wait ≥5s for data to post, then fully exit so the headset returns to the Learner Launcher for the next PIN‑based session.

Written by Matthew Kuykendall

Who this is for?

XR content/app developers integrating with ArborXR Insights/AbxrLib who want their app to work seamlessly with the Learner Launcher PIN flow.

What the Learner Launcher expects

  • Your app launches from the LMS‑initiated session (via PIN in Learner Launcher).

  • Upon entry, you send EventAssessmentStart with the SDK to mark the beginning of a graded/trackable activity.

  • Before exit, you send EventAssessmentComplete with the SDK with results, wait at least 2 seconds to allow telemetry/grade posting, then fully exit the app so the headset returns to the Learner Launcher.

💡 Why exit? If the app stays resident, a new PIN may re‑enter a partially active scene or cached state, confusing learners and risking bad tracking. A clean exit ensures a fresh start for the next learner.

Prerequisites

  • LMS integration working in your app. Test this first without the Learner Launcher to ensure grades/completions post correctly.
    – See: Getting Started with LMS Integrations in ArborXR Insights

  • AbxrLib/Insights SDK integrated in your app. Use the latest supported version.

  • Your app does not intercept the headset Home/system button in a way that blocks returning to the launcher.

Implementation steps (Unity example)

  1. Send EventAssessmentStart at the beginning of the scored portion of your experience. Include any optional metadata your org uses.

  2. Run assessment as usual with Insights event calls used as needed

  3. Send EventAssessmentComplete with result data (e.g., success, score, duration).

  4. Wait ≥ 2 seconds so events/telemetry/grade pass back can be posted.

    1. Assuming a moderately stable internet connection from the user.

  5. Exit the app cleanly so the headset returns to the Learner Launcher.

💡 Avoid rebinding the Home/System button or suppressing system UI. Learner Launcher needs the ability to relaunch and for users to recover if needed.

Testing checklist (end‑to‑end)

  • ✅ In your test LMS, launch the activity and confirm a PIN is shown.

  • ✅ In the headset, enter the PIN in Learner Launcher → your app auto‑launches.

  • ✅ Complete the assessment → app sends EventAssessmentComplete, waits ≥5s, then exits.

  • ✅ The headset returns to Learner Launcher.

  • ✅ LMS shows completion/grade; ArborXR Insights shows the session/events.

  • ✅ Repeat launch with a new PIN; the app starts in a fresh state.

Troubleshooting

  • Results missing in LMS: Ensure you send assessment start and complete events. Verify network is available at completion time and that you wait ≥2s before quitting.

  • App doesn’t exit: Confirm Application.Quit() (Unity) or platform equivalent is executed on device builds. Remove blockers like foreground services or managers marked DontDestroyOnLoad that keep the process alive.

  • Controller conflicts: Temporarily disable custom Home/Menu captures and test again. Ensure overlays or custom system UIs are not obscuring the Learner Launcher PIN pad.

  • Wrong resume point after relaunch: This indicates the app didn’t fully close. Implement a hard exit on completion as shown above.

💡 If you have any questions, contact ArborXR Support via the Messenger in the lower-right corner of the Web Portal.

Did this answer your question?