From 7adc4085d1a17402e25f133d75b8b08e7bc58e53 Mon Sep 17 00:00:00 2001 From: Will Anderson Date: Tue, 1 Sep 2015 14:00:53 -0700 Subject: [PATCH] Update example with new update check method name --- Examples/CodePushDemoApp/index.ios.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Examples/CodePushDemoApp/index.ios.js b/Examples/CodePushDemoApp/index.ios.js index 53279d0..5d1c03c 100644 --- a/Examples/CodePushDemoApp/index.ios.js +++ b/Examples/CodePushDemoApp/index.ios.js @@ -1,4 +1,4 @@ -/** +/*y * Sample React Native App * https://github.com/facebook/react-native */ @@ -22,7 +22,7 @@ var CodePushDemoApp = React.createClass({ this.fetchData(); }, fetchData: function() { - CodePush.queryUpdate((err, update) => { + CodePush.checkForUpdate((err, update) => { this.setState({ update: update }); }); },