Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 2b6c99c

Browse files
author
Will Anderson
committed
Remove unused top-level apply method
1 parent 3e0bc07 commit 2b6c99c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

CodePush.ios.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ function checkForUpdate() {
7979
});
8080
}
8181

82-
function apply(updatePackage) {
83-
return NativeCodePush.applyUpdate(updatePackage);
84-
}
85-
8682
function getCurrentPackage() {
8783
return NativeCodePush.getCurrentPackage();
8884
}
@@ -94,7 +90,6 @@ function notifyApplicationReady() {
9490
var CodePush = {
9591
getConfiguration: getConfiguration,
9692
checkForUpdate: checkForUpdate,
97-
apply: apply,
9893
getCurrentPackage: getCurrentPackage,
9994
notifyApplicationReady: notifyApplicationReady,
10095
setUpTestDependencies: setUpTestDependencies

0 commit comments

Comments
 (0)