@ou-imd/study-app-detector

1.0.3 • Public • Published

Study App Detector

A package to detect if an interactive is running inside the study app.

Install Instructions

In a NPM enabled project run:

npm install @ou-imd/study-app-detector

Usage

import { detectStudyApp } from "@ou-imd/study-app-detector";

let studyAppDetails = detectStudyApp();

if(studyAppDetails.moodleMobile && studyAppDetails.disabledFlag){
    //actionForStudyApp();
}

What Is the disabledFlag Parameter?

The parameter key is disableStudyApp and the 'enabled' values are 1 or true.

Readme

Keywords

Package Sidebar

Install

npm i @ou-imd/study-app-detector

Weekly Downloads

1

Version

1.0.3

License

ISC

Unpacked Size

3.46 kB

Total Files

4

Last publish

Collaborators

  • charlotteou
  • jenosborn
  • edwin-open-university
  • mustafabektik
  • amanda.rose