Skip to content
This repository has been archived by the owner on Jan 18, 2023. It is now read-only.

Fix for cordova 9.0.0+, update Opentok-ios SDK version to 2.17.1 #203

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/downloadNpmDependencies.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// install the node dependencies for this project
function install (context) {
// set properties
var q = context.requireCordovaModule('q');
var q = require('q');
var async = new q.defer(); // eslint-disable-line
var installFlagLocation = path.join(context.opts.projectRoot, 'plugins', context.opts.plugin.id, INSTALLFLAGNAME);
var dependencies = require(path.join(context.opts.projectRoot, 'plugins', context.opts.plugin.id, 'package.json')).dependencies;
Expand Down
4 changes: 2 additions & 2 deletions scripts/downloadiOSSDK.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/usr/bin/env node

module.exports = function (context) {
var IosSDKVersion = "OpenTok-iOS-2.15.3";
var IosSDKVersion = "OpenTok-iOS-2.17.0";
var downloadFile = require('./downloadFile.js'),
exec = require('./exec/exec.js'),
Q = context.requireCordovaModule('q'),
Q = require('q'),
deferral = new Q.defer();
console.log('Downloading OpenTok iOS SDK');
downloadFile('https://s3.amazonaws.com/artifact.tokbox.com/rel/ios-sdk/' + IosSDKVersion + '.tar.bz2',
Expand Down