Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
41 Views

DISABLE TEMPORARY ON XDK Ripple EMULATOR ALL CORDOVA PLUGINS POPUPS So take a video of app usage

Is any way to DISABLE TEMPORARY ON XDK Ripple EMULATOR ALL CORDOVA PLUGINS POPUPS So take a video of app usage... without disable in code???

Tags (2)
0 Kudos
1 Reply
Highlighted
41 Views

Nope. But you can detect, in your code, if you're running in the Emulate tab and then skip that code that causes the popup (which is being caused by calling plugin APIs that the Emulate tab knows nothing about). You can detect the presence of the Emulate tab by doing this:

if( window.tinyHippos ) {
    // running in the Emulate tab
} else {
    // running somewhere else
}

 

0 Kudos