Skip to content

Commit

Permalink
Cage platformready check for web view
Browse files Browse the repository at this point in the history
  • Loading branch information
mlynch committed Dec 9, 2015
1 parent 551f64c commit 9271aa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/utils/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@
// Warn the user if deviceready did not fire in a reasonable amount of time, and how to fix it.
function verifyPlatformReady() {
setTimeout(function() {
if(!self.isReady) {
if(!self.isReady && self.isWebView()) {
console.warn('Possible issue: deviceready did not fire in a reasonable amount of time. ' +
'This can be caused by plugins in an inconsistent state. One possible solution: uninstall/remove all ' +
'plugins and reinstall them. Additionally, one or more plugins might be faulty or out of date.');
Expand Down

0 comments on commit 9271aa1

Please sign in to comment.