Skip to content

Rebased from original codepush repo #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 110 commits into from
May 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
bb7cc76
Update README.md (#1573)
botatoes Apr 30, 2019
1ef2320
Update README screenshot (#1582)
May 8, 2019
81d44ef
Сreate postunlink scripts (#1588)
alexandergoncharov-zz May 30, 2019
993f9fd
Update README.md
botatoes Jun 10, 2019
b0dc04c
Replace App Store version with binary version in docs (#1614)
alexandergoncharov-zz Jun 18, 2019
2c01c41
Update packages (#1631)
alexandergoncharov-zz Jul 19, 2019
4c34e45
Update server url (#1658)
alexandergoncharov-zz Aug 19, 2019
34e40f0
Bump code-push sdk version to 3.0.1 (#1660)
alexandergoncharov-zz Aug 20, 2019
a0a4a96
Update README.md (#1700)
elamalani Oct 15, 2019
57362eb
Add react-native@0.60 and above support (#1735)
alexandergoncharov-zz Dec 6, 2019
21f88a3
Update titles for Android docs (#1739)
alexandergoncharov-zz Dec 9, 2019
c1fcdf0
Move PublicKey and ServerUrl properties to string resources (#1740)
alexandergoncharov-zz Dec 11, 2019
94c453d
Bump Microsoft.ChakraCore (#1716)
dependabot[bot] Dec 11, 2019
e5b8858
Update compatibility docs (#1741)
alexandergoncharov-zz Dec 11, 2019
d39c279
Update dependecies for example apps (#1742)
alexandergoncharov-zz Dec 11, 2019
8640134
Fix cli links (#1756)
andreidubov Jan 8, 2020
3d3d0ed
Update create app.js (#1760)
andreidubov Jan 13, 2020
f136e3f
Get rid of gulp (#1763)
andreidubov Jan 21, 2020
564e124
Add npm scripts (#1765)
andreidubov Jan 23, 2020
3968116
Fix test debugger (#1769)
andreidubov Jan 24, 2020
3e5b930
Fix uninstalling app from emulator for tests (#1767)
alexandergoncharov-zz Jan 24, 2020
4f829ec
Fix path errors on windows (#1770)
andreidubov Jan 25, 2020
1ae63aa
[Tests] Update project template for tests (#1773)
andreidubov Jan 30, 2020
aa9f86d
[Tests] Update configurations of test android app (#1775)
andreidubov Jan 31, 2020
d4131f1
Fixed launch of Android emulator (#1779)
andreidubov Feb 3, 2020
bb2d4f4
[Tests] Fix server response (#1781)
andreidubov Feb 4, 2020
2efa392
[Tests] Fix generating of IOS test project (#1778)
alexandergoncharov-zz Feb 4, 2020
dd55afa
[Tests] Fix broken tests (#1784)
andreidubov Feb 8, 2020
5084832
[Tests] Clean up tests (#1787)
andreidubov Feb 10, 2020
2f2ff9e
[Tests] Use env in scripts and update docs (#1788)
andreidubov Feb 10, 2020
e998546
Remove update notice banner (#1796)
pfleidi Feb 19, 2020
46d1342
[CI] Create react-native-code-push CI (#1800)
andreidubov Mar 3, 2020
1789ade
Updat description for minimumBackgroundDuration (#1809)
andreidubov Mar 13, 2020
fe5b0c1
Add promise resolve (#1810)
andreidubov Mar 16, 2020
bfc253d
Update package-lock (#1811)
andreidubov Mar 16, 2020
d8a91c4
Add compatibility with react-native v0.62 (#1829)
andreidubov Mar 31, 2020
8842e35
Update compatibility table (#1830)
alexandergoncharov-zz Mar 31, 2020
7363fb1
Fix vulnerable dependencies (#1837)
andreidubov Apr 9, 2020
e705d89
Fix mkdirp security vulnerabilities (#1839)
andreidubov Apr 9, 2020
d293142
Fix ON_NEXT_SUSPEND install mode (#1863)
May 29, 2020
27df8fa
Redux Saga URL corrected (#1675)
josevarghese Jun 3, 2020
0cca059
default JWT should be 3.0.0-beta.12 not 3.0.0-beta.7 when we upgrade …
pengcao1 Jun 3, 2020
3c7f84a
Remove executable bit from non-executable files (#1656)
friederbluemle Jun 10, 2020
a4c06d2
Fix everytime spelling (#1876)
aaronkrohn Jun 16, 2020
51b10b3
Update documents: Add examples with functional component (#1877)
Jun 16, 2020
5735f1d
Add overloaded type for CodePush function that accepts a React Compon…
gwmccull Jun 17, 2020
fd1d2a1
Update dependecies (#1880)
andreidubov Jun 19, 2020
00435e9
Mitigate zipperdown (#1881)
Jun 19, 2020
bade7a3
Fix capitalization of GitHub org (#1888)
friederbluemle Jun 26, 2020
1aa1650
Update docs for using video component (#1900)
Jul 10, 2020
60051ca
Move disallowRestart to native side (#1894)
andreidubov Jul 15, 2020
a3908ab
Update documents for using Multi-Deployment Testing with Xcode 11 (#1…
Jul 15, 2020
e25c0e1
Update dependency (#1922)
andreidubov Aug 7, 2020
6db21c3
Replace code-push CLI commands (#1926)
Aug 14, 2020
5bbc3f3
Fix typo (#1927)
Aug 14, 2020
d07194d
Add update notification (#1930)
andreidubov Aug 19, 2020
e49f3c4
Update Google store guidelines (#1946)
alexandergoncharov-zz Sep 28, 2020
ef1f9d7
Added installing cocoapods to script for creating apps (#1955)
alexChernyatiev Oct 12, 2020
28658ec
Fix creating app with script (#1956)
alexChernyatiev Oct 12, 2020
03d8d4c
Update dependencies (#1940)
andreidubov Oct 13, 2020
fa0e3d3
Fix Xcode 12 compatibility. (#1954)
jinshin1013 Oct 19, 2020
41d8c09
Replace equal with strictEqual (#1962)
andreidubov Oct 22, 2020
361b70a
Fixed problem with android versions <= 4.4 (#1957)
alexChernyatiev Oct 28, 2020
6005a64
Update setup-android.md (#1968)
ruslan-bikkinin Oct 30, 2020
bdf4b7b
Block sending requests if the deployment key is missed (#1967)
andreidubov Nov 5, 2020
3192f26
Added log in catch after creating app on appcenter (#1971)
alexChernyatiev Nov 6, 2020
e4d296b
iOS: reset the timer in applicationDidBecomeActive method in case of …
Dec 7, 2020
e92abb4
React Native Windows >=0.63.11 Initial Implementation PR (#1994)
alexmoroz15 Dec 16, 2020
fa76316
No longer throw when attempting to hash (#2007)
alexmoroz15 Jan 4, 2021
2bcd930
Update version of code-push dependency to fix superagent-proxy vulner…
dentuzhik Apr 12, 2021
0aa1ff5
Update dependecies (#2067)
alexandergoncharov-zz Apr 13, 2021
9c4c00c
docs: fix simple typo, seting -> setting (#2003)
timgates42 Apr 13, 2021
0f8b4f7
Remove example app for react-native-pre0.49 (#2075)
alexandergoncharov-zz Apr 15, 2021
1b665cf
Update dependecies for example apps (#2074)
alexandergoncharov-zz Apr 15, 2021
2c5460f
Fix MitM vulnerability (#2132)
andreidubov Aug 25, 2021
b29e31a
Raised IPHONEOS_DEPLOYMENT_TARGET version (#2134)
andreidubov Aug 27, 2021
0163aca
fixed issue where foreign characters break data integrity check (#2078)
raen79 Aug 27, 2021
7d77ad5
Update compatability table (#2137)
alexandergoncharov-zz Sep 6, 2021
69e6cf1
Update dependecies (#2144)
alexandergoncharov-zz Sep 21, 2021
f4b5e4c
Bump url-parse from 1.5.1 to 1.5.3 in /Examples/CodePushDemoAppCpp (#…
dependabot[bot] Oct 7, 2021
6ca68bc
Bump tmpl from 1.0.4 to 1.0.5 in /Examples/CodePushDemoAppCpp (#2146)
dependabot[bot] Oct 7, 2021
9f67a0f
Fixed 'pod install' failure (#2161)
DanilaMorozovAkvelon Oct 8, 2021
75b0bfd
fix: fix new File by only fileName (#2149)
LittleXianyu Oct 11, 2021
4dd37dd
Update dependecies for testing framework (#2165)
alexandergoncharov-zz Oct 12, 2021
e414a09
Update dependencies for CodePushDemoAppCpp (#2166)
alexandergoncharov-zz Oct 12, 2021
8a7774d
Update README.md (#2006)
bragboy Oct 12, 2021
ed13e2b
README: fix dead links and terminology (#2145)
Naturalclar Oct 12, 2021
ad8c014
Update CodePushDemoApp (#2169)
alexandergoncharov-zz Oct 16, 2021
24141ae
Fix ios tests (#2175)
alexChernyatiev Oct 25, 2021
2db6eed
Fix/create app script (#2188)
doomkit Dec 3, 2021
9ba35e1
Add SECURITY.md (#2191)
alexnekrashevich Dec 7, 2021
92ce601
Bump vm2 from 3.9.3 to 3.9.5 in package-lock.json (#2190)
alexnekrashevich Dec 13, 2021
b6c79b3
Bump vm2 from 3.9.3 to 3.9.5 in /Examples/CodePushDemoAppCpp (#2174)
dependabot[bot] Dec 23, 2021
4ecd390
Bump appcenter-cli from 2.10.2 to 2.10.7 (#2198)
alexnekrashevich Dec 23, 2021
bd50a72
Bump json-schema from 0.2.3 to 0.4.0 (#2202)
alexnekrashevich Jan 10, 2022
bc6ca5a
Rework dependencies order for hash generation (#2204)
alexnekrashevich Jan 12, 2022
89c8826
Bump shelljs to 0.8.5 via shx (#2207)
alexnekrashevich Jan 25, 2022
5e9838c
Bump nanoid to 3.2.0 via mocha (#2208)
alexnekrashevich Jan 25, 2022
c95d2f3
Bump ansi-regex to 5.0.1 via resolutions (#2209)
alexnekrashevich Jan 25, 2022
d7a13c3
Bump ansi-regex to 5.0.1 via resolutions (#2210)
alexnekrashevich Jan 25, 2022
b745c3a
Bump node-fetch from 2.6.5 to 2.6.7 in /Examples/CodePushDemoApp (#2211)
dependabot[bot] Jan 25, 2022
f50d7a0
Bump node-fetch to 2.6.7 in CodePushDemoAppCpp (#2212)
alexnekrashevich Jan 26, 2022
cf913c9
Bump vm2 from 3.9.5 to 3.9.7 (#2216)
dependabot[bot] Feb 22, 2022
f434cdc
Bump vm2 from 3.9.4 to 3.9.7 in /Examples/CodePushDemoApp (#2217)
dependabot[bot] Feb 22, 2022
437a602
Bump vm2 from 3.9.5 to 3.9.7 in /Examples/CodePushDemoAppCpp (#2218)
dependabot[bot] Feb 22, 2022
216e987
Bump url-parse from 1.5.3 to 1.5.7 (#2222)
dependabot[bot] Feb 22, 2022
4ccba08
Bump url-parse from 1.5.4 to 1.5.7 in /Examples/CodePushDemoAppCpp (#…
dependabot[bot] Feb 22, 2022
bba737c
Bump url-parse from 1.5.3 to 1.5.7 in /Examples/CodePushDemoApp (#2224)
dependabot[bot] Feb 22, 2022
4465b6f
Exposing downloadAndInstall method
Apr 22, 2019
ef28923
Added type check
Apr 22, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ What actually happens?

### Reproducible Demo

* Download https://github.com/Microsoft/react-native-code-push/archive/master.zip and unzip. From `Examples` folder run `node create-app.js appName react-native@0.47.1 react-native-code-push@5.0.0-beta` command to generate plain CodePushified React Native app. Please see description on top of `create-app.js` file content if needed
* Download https://github.com/microsoft/react-native-code-push/archive/master.zip and unzip. From `Examples` folder run `node create-app.js appName react-native@0.61.5 react-native-code-push@6.0.0` command to generate plain CodePushified React Native app. Please see description on top of `create-app.js` file content if needed
* If you can't reproduce the bug on it, provide us as much info as possible about your project

### Environment
Expand Down
52 changes: 52 additions & 0 deletions .github/workflows/react-native-code-push-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: React-native-code-push CI

on:
pull_request:
branches:
- master

jobs:
test-android:
name: Test Android app
runs-on: macos-latest
strategy:
matrix:
api-level: [27]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Start adb server
run: adb devices
- name: Download system image "android-${{ matrix.api-level }}"
run: $ANDROID_HOME/tools/bin/sdkmanager "system-images;android-${{ matrix.api-level }};google_apis;x86"
- name: Create android emulator
run: $ANDROID_HOME/tools/bin/avdmanager create avd --force --name TestEmulator --abi google_apis/x86 --package 'system-images;android-${{ matrix.api-level }};google_apis;x86' --device "Nexus 6P"
- name: Start android emulator
run: $ANDROID_HOME/emulator/emulator -avd TestEmulator -noaudio -no-window -no-snapshot-save -no-boot-anim -memory 6144 &
- run: sleep 120
- run: adb shell settings put global window_animation_scale 0.0
- run: adb shell settings put global transition_animation_scale 0.0
- run: adb shell settings put global animator_duration_scale 0.0
- name: Package Installation
run: npm install
- name: Install react-native-cli
run: npm install react-native-cli
- name: test:android
run: npm run test:android

test-iOS:
name: Test iOS app
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install dependecies
run: npm install
- name: Install react-native-cli
run: npm install react-native-cli
- name: Build tests
run: npm run build:tests
- name: Setup tests
run: npm run test:setup:ios
- name: Run tests
run: npm run test:fast:ios
Empty file modified .gitignore
100755 → 100644
Empty file.
41 changes: 41 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Tests-android",
"type": "node",
"request": "launch",
"preLaunchTask": "Setup-android",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"test:debugger:android"
],
"port": 9229,
"stopOnEntry": false,
"sourceMaps": true,
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
"autoAttachChildProcesses": true,
"timeout": 100000
},
{
"name": "Tests-ios",
"type": "node",
"request": "launch",
"preLaunchTask": "Setup-ios",
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"test:debugger:ios"
],
"port": 9229,
"stopOnEntry": false,
"sourceMaps": true,
"console": "internalConsole",
"internalConsoleOptions": "openOnSessionStart",
"autoAttachChildProcesses": true,
"timeout": 100000
}
]
}
3 changes: 3 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"typescript.tsdk": "node_modules/typescript/lib"
}
55 changes: 55 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"label": "Build",
"command": "npm",
"args": [
"run",
"build:tests"
],
"presentation": {
"echo": false,
"focus": false
},
"problemMatcher": [
"$tsc"
]
},
{
"type": "shell",
"label": "Setup-android",
"dependsOn": "Build",
"command": "npm",
"args": [
"run",
"test:setup:android"
],
"presentation": {
"echo": false,
"focus": false
},
"problemMatcher": [
"$tsc"
]
},
{
"type": "shell",
"label": "Setup-ios",
"dependsOn": "Build",
"command": "npm",
"args": [
"run",
"test:setup:ios"
],
"presentation": {
"echo": false,
"focus": false
},
"problemMatcher": [
"$tsc"
]
}
]
}
36 changes: 17 additions & 19 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@ Follow these steps to test your modifications to the plugin manually:

First, make sure you have installed the dependencies for the plugin by following the steps above.

Then, make sure you have installed `gulp`.
Then, make sure you have installed `react-native-cli`.

```
npm install -g gulp
npm install -g react-native-cli
```

To run Android tests, make sure you have `sdk\tools` and `sdk\platform-tools` in your PATH.
To run Android tests, make sure you have `sdk\tools`, `sdk\emulator` and `sdk\platform-tools` in your PATH.

To run iOS tests, make sure you've installed CocoaPods and have `.gem/bin` in your PATH.

Expand All @@ -62,43 +62,41 @@ The tests first build the app.

They then check if the required emulators are currently running.

If an Android emulator is not running, it attempts to boot an Android emulator named `emulator`. You can specify an emulator by adding `--androidemu yourEmulatorNameHere` as a command line option to the gulp task.
If an Android emulator is not running, it attempts to boot the latest Android emulator. You can specify an emulator by adding env variable `ANDROID_EMU=yourEmulatorNameHere` to the npm command. For example: `ANDROID_EMU=yourEmulatorNameHere npm run test:android`.

If an iOS simulator is not running, it attempts to boot the latest iOS iPhone simulator. You can specify a simulator by adding `--iosemu yourSimulatorNameHere` as a command line option to the gulp task.
If an iOS simulator is not running, it attempts to boot the latest iOS iPhone simulator. You can specify a simulator by adding env variable `IOS_EMU=yourSimulatorNameHere` to the npm command. For example: `IOS_EMU="iPhone 8 (0567DFF8-329E-41A3-BD6D-E48E9DD5EF39)" npm run test:ios`.

If all the required emulators are not running and the tests fail to boot them, the tests will fail.

If you would like the tests to always restart the necessary emulators (killing them if they are currently running), add a `--clean` flag to the command.
If you would like the tests to always restart the necessary emulators (killing them if they are currently running), setup a env variable `CLEAN=true` to the command. For example: `CLEAN=true npm run test`.

The desired unit tests are then run.

If you would like to skip building, add a `-fast` to the end of the command you'd like to run. For example, `gulp test-ios` becomes `gulp test-ios-fast`.
If you would like to skip building, add a `:fast` in the command you'd like to run. For example, `npm run test:ios` becomes `npm run test:fast:ios` or `npm run test:android` becomes `npm run test:fast:android`.

There is a both a full unit test suite and a "core" set of unit tests that you may run. If you would like to run only the core tests, add a `--core` flag to the command.
There is a both a full unit test suite and a "core" set of unit tests that you may run. If you would like to run only the core tests, setup a env variable `CORE=true` to the command. For example: `CORE=true npm run test:android`.

If you would like to pull the plugin from NPM rather than running the tests on the local version, add a `--npm` flag to the command.

If you add a `--report` flag to the command, the mocha reporter outputs individual results files for each platform. These are `./test_android.xml`, `./test-ios-ui.xml`, and `./test-ios-wk.xml`.
If you would like to pull the plugin from NPM rather than running the tests on the local version, setup a env variable `NPM=true` to the command. For example: `NPM=true npm run test:ios`.

#### Default

To run all of the unit tests on Android and iOS:
```
gulp test
npm run test
```

#### iOS

To run all of the unit tests on iOS:
```
gulp test-ios
npm run test:ios
```

#### Android

To run all of the unit tests on Android:
```
gulp test-android
npm run test:android
```

#### More examples
Expand All @@ -110,27 +108,27 @@ android, ios

To run the core unit tests on Android:
```
gulp test-android --core
CORE=true npm run test:android
```

To run all of the unit tests on iOS and pull the plugin from NPM:
```
gulp test-ios --npm
NPM=true npm run test:ios
```

To run all of the unit tests on Android and iOS without building first:
```
gulp test-fast
npm run test:fast
```

To run all of the unit tests on iOS and restart the emulators:
```
gulp test-ios --clean
CLEAN=true npm run test:ios
```

To run the core unit tests on Android and pull the plugin from NPM:
```
gulp test-android --core --npm
NPM=true CORE=true npm run test:android
```

...and so on!
20 changes: 14 additions & 6 deletions CodePush.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { AcquisitionManager as Sdk } from "code-push/script/acquisition-sdk";
import { Alert } from "./AlertAdapter";
import requestFetchAdapter from "./request-fetch-adapter";
import { AppState, Platform } from "react-native";
import RestartManager from "./RestartManager";
import log from "./logging";
import hoistStatics from 'hoist-non-react-statics';

Expand Down Expand Up @@ -39,7 +38,7 @@ async function checkForUpdate(deploymentKey = null, handleBinaryVersionMismatchC
* then we want to use its package hash to determine whether a new
* release has been made on the server. Otherwise, we only need
* to send the app version to the server, since we are interested
* in any updates for current app store version, regardless of hash.
* in any updates for current binary version, regardless of hash.
*/
let queryPackage;
if (localPackage) {
Expand All @@ -58,7 +57,7 @@ async function checkForUpdate(deploymentKey = null, handleBinaryVersionMismatchC
* ----------------------------------------------------------------
* 1) The server said there isn't an update. This is the most common case.
* 2) The server said there is an update but it requires a newer binary version.
* This would occur when end-users are running an older app store version than
* This would occur when end-users are running an older binary version than
* is available, and CodePush is making sure they don't get an update that
* potentially wouldn't be compatible with what they are running.
* 3) The server said there is an update, but the update's hash is the same as
Expand Down Expand Up @@ -189,6 +188,10 @@ async function tryReportStatus(statusReport, resumeListener) {
if (statusReport.appVersion) {
log(`Reporting binary update (${statusReport.appVersion})`);

if (!config.deploymentKey) {
throw new Error("Deployment key is missed");
}

const sdk = getPromisifiedSdk(requestFetchAdapter, config);
await sdk.reportStatusDeploy(/* deployedPackage */ null, /* status */ null, previousLabelOrAppVersion, previousDeploymentKey);
} else {
Expand Down Expand Up @@ -300,6 +303,10 @@ function setUpTestDependencies(testSdk, providedTestConfig, testNativeBridge) {
if (testNativeBridge) NativeCodePush = testNativeBridge;
}

async function restartApp(onlyIfUpdateIsPending = false) {
NativeCodePush.restartApp(onlyIfUpdateIsPending);
}

// This function allows only one syncInternal operation to proceed at any given time.
// Parallel calls to sync() while one is ongoing yields CodePush.SyncStatus.SYNC_IN_PROGRESS.
const sync = (() => {
Expand Down Expand Up @@ -698,12 +705,13 @@ if (NativeCodePush) {
log,
notifyAppReady: notifyApplicationReady,
notifyApplicationReady,
restartApp: RestartManager.restartApp,
restartApp,
setUpTestDependencies,
sync,
downloadAndInstall,
disallowRestart: RestartManager.disallow,
allowRestart: RestartManager.allow,
disallowRestart: NativeCodePush.disallow,
allowRestart: NativeCodePush.allow,
downloadAndInstall,
clearUpdates: NativeCodePush.clearUpdates,
InstallMode: {
IMMEDIATE: NativeCodePush.codePushInstallModeImmediate, // Restart the app immediately
Expand Down
10 changes: 5 additions & 5 deletions CodePush.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ Pod::Spec.new do |s|
s.author = package['author']
s.license = package['license']
s.homepage = package['homepage']
s.source = { :git => 'https://github.com/Microsoft/react-native-code-push.git', :tag => "v#{s.version}"}
s.ios.deployment_target = '7.0'
s.source = { :git => 'https://github.com/microsoft/react-native-code-push.git', :tag => "v#{s.version}"}
s.ios.deployment_target = '9.0'
s.tvos.deployment_target = '9.0'
s.preserve_paths = '*.js'
s.library = 'z'
Expand All @@ -20,8 +20,8 @@ Pod::Spec.new do |s|
# Note: Even though there are copy/pasted versions of some of these dependencies in the repo,
# we explicitly let CocoaPods pull in the versions below so all dependencies are resolved and
# linked properly at a parent workspace level.
s.dependency 'React'
s.dependency 'SSZipArchive', '~> 2.1'
s.dependency 'JWT', '~> 3.0.0-beta.7'
s.dependency 'React-Core'
s.dependency 'SSZipArchive', '~> 2.2.2'
s.dependency 'JWT', '~> 3.0.0-beta.12'
s.dependency 'Base64', '~> 1.1'
end
3 changes: 0 additions & 3 deletions Examples/CodePushDemoApp-pre0.49/.babelrc

This file was deleted.

Loading