Set Meteor.isModern to false in Cordova environments.

This commit is contained in:
Ben Newman
2017-12-19 20:28:30 -05:00
parent 7fc1b1b73c
commit e0eacc62fd

View File

@@ -8,3 +8,7 @@ Meteor.isCordova = true;
Meteor.isProduction = meteorEnv.NODE_ENV === "production";
Meteor.isDevelopment = meteorEnv.NODE_ENV !== "production";
// For now, since we can't send different bundles to different Cordova
// browsers at runtime, all Cordova clients must be regarded as legacy.
Meteor.isModern = false;