Skip to content

Commit 9271aa1

Browse files
committed
Cage platformready check for web view
1 parent 551f64c commit 9271aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: js/utils/platform.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@
412412
// Warn the user if deviceready did not fire in a reasonable amount of time, and how to fix it.
413413
function verifyPlatformReady() {
414414
setTimeout(function() {
415-
if(!self.isReady) {
415+
if(!self.isReady && self.isWebView()) {
416416
console.warn('Possible issue: deviceready did not fire in a reasonable amount of time. ' +
417417
'This can be caused by plugins in an inconsistent state. One possible solution: uninstall/remove all ' +
418418
'plugins and reinstall them. Additionally, one or more plugins might be faulty or out of date.');

0 commit comments

Comments
 (0)