mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Fixes SWIFT_VERSION error
This commit is contained in:
@@ -22,7 +22,7 @@ Npm.strip({
|
||||
Cordova.depends({
|
||||
'cordova-plugin-whitelist': '1.3.4',
|
||||
'cordova-plugin-wkwebview-engine': '1.2.1',
|
||||
'cordova-plugin-meteor-webapp': '1.9.0'
|
||||
'cordova-plugin-meteor-webapp': '1.9.1'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
|
||||
5
tools/cordova/builder.js
vendored
5
tools/cordova/builder.js
vendored
@@ -12,7 +12,7 @@ import { loadIsopackage } from '../tool-env/isopackets.js';
|
||||
import utils from '../utils/utils.js';
|
||||
import XmlBuilder from 'xmlbuilder2';
|
||||
|
||||
import { CORDOVA_ARCH } from './index.js';
|
||||
import { CORDOVA_ARCH, SWIFT_VERSION } from './index.js';
|
||||
|
||||
// Hard-coded size constants
|
||||
|
||||
@@ -122,7 +122,8 @@ export class CordovaBuilder {
|
||||
global: {
|
||||
'webviewbounce': false,
|
||||
'DisallowOverscroll': true,
|
||||
'WKWebViewOnly': true
|
||||
'WKWebViewOnly': true,
|
||||
'SwiftVersion': SWIFT_VERSION
|
||||
},
|
||||
platform: {
|
||||
ios: {},
|
||||
|
||||
2
tools/cordova/index.js
vendored
2
tools/cordova/index.js
vendored
@@ -24,6 +24,8 @@ export const CORDOVA_PLATFORM_VERSIONS = {
|
||||
'ios': '5.1.1',
|
||||
};
|
||||
|
||||
export const SWIFT_VERSION = 5;
|
||||
|
||||
const PLATFORM_TO_DISPLAY_NAME_MAP = {
|
||||
'ios': 'iOS',
|
||||
'android': 'Android'
|
||||
|
||||
Reference in New Issue
Block a user