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

upstream #5

Open
wants to merge 177 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
6ae9392
Fix capitalization of GitHub org (#1888)
friederbluemle Jun 26, 2020
69fe187
Update docs for using video component (#1900)
Jul 10, 2020
0d3d2d7
Move disallowRestart to native side (#1894)
andreidubov Jul 15, 2020
34508a6
Update documents for using Multi-Deployment Testing with Xcode 11 (#1…
Jul 15, 2020
af75ca2
Update dependency (#1922)
andreidubov Aug 7, 2020
0091878
Replace code-push CLI commands (#1926)
Aug 14, 2020
52bf70d
Fix typo (#1927)
Aug 14, 2020
de3f7ff
Add update notification (#1930)
andreidubov Aug 19, 2020
ba93fac
Update Google store guidelines (#1946)
alexandergoncharov-zz Sep 28, 2020
3541be2
Added installing cocoapods to script for creating apps (#1955)
alexChernyatiev Oct 12, 2020
b46b3e0
Fix creating app with script (#1956)
alexChernyatiev Oct 12, 2020
f45d04b
Update dependencies (#1940)
andreidubov Oct 13, 2020
14ce332
Fix Xcode 12 compatibility. (#1954)
jinshin1013 Oct 19, 2020
8d645af
Replace equal with strictEqual (#1962)
andreidubov Oct 22, 2020
cfaba00
Fixed problem with android versions <= 4.4 (#1957)
alexChernyatiev Oct 28, 2020
c0cc20e
Update setup-android.md (#1968)
ruslan-bikkinin Oct 30, 2020
0a3db5a
Block sending requests if the deployment key is missed (#1967)
andreidubov Nov 5, 2020
8614337
Added log in catch after creating app on appcenter (#1971)
alexChernyatiev Nov 6, 2020
b15a019
iOS: reset the timer in applicationDidBecomeActive method in case of …
Dec 7, 2020
75785cb
React Native Windows >=0.63.11 Initial Implementation PR (#1994)
alexmoroz15 Dec 16, 2020
9947037
No longer throw when attempting to hash (#2007)
alexmoroz15 Jan 4, 2021
cbc27ad
Update version of code-push dependency to fix superagent-proxy vulner…
dentuzhik Apr 12, 2021
102284d
Update dependecies (#2067)
alexandergoncharov-zz Apr 13, 2021
7f8ac64
docs: fix simple typo, seting -> setting (#2003)
timgates42 Apr 13, 2021
6e0e926
Remove example app for react-native-pre0.49 (#2075)
alexandergoncharov-zz Apr 15, 2021
d35a026
Update dependecies for example apps (#2074)
alexandergoncharov-zz Apr 15, 2021
a9d5e76
Fix MitM vulnerability (#2132)
andreidubov Aug 25, 2021
c5b7bed
Raised IPHONEOS_DEPLOYMENT_TARGET version (#2134)
andreidubov Aug 27, 2021
54dad33
fixed issue where foreign characters break data integrity check (#2078)
raen79 Aug 27, 2021
415aed0
Update compatability table (#2137)
alexandergoncharov-zz Sep 6, 2021
b9fb9fb
Update dependecies (#2144)
alexandergoncharov-zz Sep 21, 2021
041b1ce
Bump url-parse from 1.5.1 to 1.5.3 in /Examples/CodePushDemoAppCpp (#…
dependabot[bot] Oct 7, 2021
38fc4e4
Bump tmpl from 1.0.4 to 1.0.5 in /Examples/CodePushDemoAppCpp (#2146)
dependabot[bot] Oct 7, 2021
fa81954
Fixed 'pod install' failure (#2161)
DanilaMorozovAkvelon Oct 8, 2021
f72751f
fix: fix new File by only fileName (#2149)
LittleXianyu Oct 11, 2021
40099fc
Update dependecies for testing framework (#2165)
alexandergoncharov-zz Oct 12, 2021
a52a591
Update dependencies for CodePushDemoAppCpp (#2166)
alexandergoncharov-zz Oct 12, 2021
d18c47d
Update README.md (#2006)
bragboy Oct 12, 2021
d2f5d0e
README: fix dead links and terminology (#2145)
Naturalclar Oct 12, 2021
4ab8022
Update CodePushDemoApp (#2169)
alexandergoncharov-zz Oct 16, 2021
dc01505
Fix ios tests (#2175)
alexChernyatiev Oct 25, 2021
88c693e
Fix/create app script (#2188)
doomkit Dec 3, 2021
c5361c2
Add SECURITY.md (#2191)
alexnekrashevich Dec 7, 2021
3f6219c
Bump vm2 from 3.9.3 to 3.9.5 in package-lock.json (#2190)
alexnekrashevich Dec 13, 2021
cbd72e9
Bump vm2 from 3.9.3 to 3.9.5 in /Examples/CodePushDemoAppCpp (#2174)
dependabot[bot] Dec 23, 2021
db1b5b0
Bump appcenter-cli from 2.10.2 to 2.10.7 (#2198)
alexnekrashevich Dec 23, 2021
575ee54
Bump json-schema from 0.2.3 to 0.4.0 (#2202)
alexnekrashevich Jan 10, 2022
36cd937
Rework dependencies order for hash generation (#2204)
alexnekrashevich Jan 12, 2022
765e579
Bump shelljs to 0.8.5 via shx (#2207)
alexnekrashevich Jan 25, 2022
f5b4dce
Bump nanoid to 3.2.0 via mocha (#2208)
alexnekrashevich Jan 25, 2022
4c331db
Bump ansi-regex to 5.0.1 via resolutions (#2209)
alexnekrashevich Jan 25, 2022
6875b11
Bump ansi-regex to 5.0.1 via resolutions (#2210)
alexnekrashevich Jan 25, 2022
8d8613f
Bump node-fetch from 2.6.5 to 2.6.7 in /Examples/CodePushDemoApp (#2211)
dependabot[bot] Jan 25, 2022
73cdaff
Bump node-fetch to 2.6.7 in CodePushDemoAppCpp (#2212)
alexnekrashevich Jan 26, 2022
173d790
Bump vm2 from 3.9.5 to 3.9.7 (#2216)
dependabot[bot] Feb 22, 2022
4290a41
Bump vm2 from 3.9.4 to 3.9.7 in /Examples/CodePushDemoApp (#2217)
dependabot[bot] Feb 22, 2022
9768904
Bump vm2 from 3.9.5 to 3.9.7 in /Examples/CodePushDemoAppCpp (#2218)
dependabot[bot] Feb 22, 2022
41c39dc
Bump url-parse from 1.5.3 to 1.5.7 (#2222)
dependabot[bot] Feb 22, 2022
45af5e0
Bump url-parse from 1.5.4 to 1.5.7 in /Examples/CodePushDemoAppCpp (#…
dependabot[bot] Feb 22, 2022
773f942
Bump url-parse from 1.5.3 to 1.5.7 in /Examples/CodePushDemoApp (#2224)
dependabot[bot] Feb 22, 2022
bd883b8
Add terminating separator to avoid path escaping (#2288)
denysop Jul 28, 2022
48cd8e2
Update supported RN versions
denysop Jul 28, 2022
8452869
Fix pipeline tests (#2311)
denysop Jul 29, 2022
88ee6d1
Add `.github/fabricbot.json` (#2295)
Aug 2, 2022
a9da067
Create CODEOWNERS (#2329)
thewulf7 Sep 2, 2022
fcb347f
Update README.md (#2340)
betocode Sep 15, 2022
47f502d
Fix: react-native init command error (#2377)
Kwonkunkun Dec 13, 2022
9f903a9
Fix usage of removed method AppState.removeEventListener (#2385)
trcoffman Dec 15, 2022
c0d3394
Fix GA tests pipelines (#2394)
thewulf7 Jan 4, 2023
4ac9fdb
[Android] Fix issue where CODE_PUSH_APK_BUILD_TIME resource was not g…
Abbondanzo Jan 4, 2023
16d4724
Bump vm2 from 3.9.7 to 3.9.13 (#2408)
dependabot[bot] Jan 4, 2023
e879fc7
Bump vm2 from 3.9.7 to 3.9.13 in /Examples/CodePushDemoApp (#2409)
dependabot[bot] Jan 4, 2023
d6e0324
Bump vm2 from 3.9.7 to 3.9.13 in /Examples/CodePushDemoAppCpp (#2410)
dependabot[bot] Jan 4, 2023
f58d767
Bump Newtonsoft.Json from 10.0.3 to 13.0.2 in /windows-legacy/CodePus…
dependabot[bot] Jan 4, 2023
a1565b5
Bump qs from 6.5.2 to 6.5.3 in /Examples/CodePushDemoAppCpp (#2381)
dependabot[bot] Jan 4, 2023
3af06d4
Bump qs from 6.10.1 to 6.11.0 in /Examples/CodePushDemoApp (#2380)
dependabot[bot] Jan 4, 2023
6478ab5
Bump minimatch from 3.0.4 to 3.1.2 in /Examples/CodePushDemoAppCpp (#…
dependabot[bot] Jan 4, 2023
f11bb02
Bump minimatch from 3.0.4 to 3.1.2 in /Examples/CodePushDemoApp (#2374)
dependabot[bot] Jan 4, 2023
5b38631
Bump minimist from 1.2.5 to 1.2.7 in /Examples/CodePushDemoApp (#2405)
dependabot[bot] Jan 4, 2023
c7875db
Bump minimist from 1.2.5 to 1.2.7 (#2407)
dependabot[bot] Jan 4, 2023
5a59132
Bump qs from 6.10.1 to 6.11.0 (#2379)
dependabot[bot] Jan 4, 2023
cc87b9f
Bump async from 3.2.0 to 3.2.4 (#2406)
dependabot[bot] Jan 4, 2023
a0d2a6a
Bump json5 from 2.2.0 to 2.2.3 in /Examples/CodePushDemoApp (#2404)
dependabot[bot] Jan 4, 2023
04c9cbc
Bump json5 from 2.2.0 to 2.2.3 in /Examples/CodePushDemoAppCpp (#2403)
dependabot[bot] Jan 4, 2023
dec0006
Bump decode-uri-component in /Examples/CodePushDemoAppCpp (#2383)
dependabot[bot] Jan 4, 2023
9d16ab7
Bump decode-uri-component in /Examples/CodePushDemoApp (#2387)
dependabot[bot] Jan 4, 2023
c2a2131
Bump plist from 3.0.4 to 3.0.5 (#2315)
dependabot[bot] Jan 4, 2023
d34c6d9
Bump plist from 3.0.4 to 3.0.6 in /Examples/CodePushDemoApp (#2316)
dependabot[bot] Jan 4, 2023
8c36884
Bump Newtonsoft.Json in /windows-legacy/CodePush.Net46.Test (#2291)
dependabot[bot] Jan 4, 2023
1cd2b95
Bump minimatch from 3.0.4 to 3.0.5 (#2412)
dependabot[bot] Jan 4, 2023
6ac33ea
Bump Newtonsoft.Json in /windows-legacy/CodePush.Net46 (#2289)
dependabot[bot] Jan 4, 2023
a1a012a
Bump moment from 2.29.1 to 2.29.4 in /Examples/CodePushDemoAppCpp (#2…
dependabot[bot] Jan 4, 2023
6c6add7
Bump async from 2.6.3 to 2.6.4 in /Examples/CodePushDemoApp (#2262)
dependabot[bot] Jan 4, 2023
1eb052d
Bump async from 2.6.3 to 2.6.4 in /Examples/CodePushDemoAppCpp (#2261)
dependabot[bot] Jan 4, 2023
e2234fc
Bump simple-plist from 1.3.0 to 1.3.1 in /Examples/CodePushDemoAppCpp…
dependabot[bot] Jan 4, 2023
9045a31
Bump url-parse from 1.5.7 to 1.5.10 (#2230)
dependabot[bot] Jan 4, 2023
351b1e0
Bump url-parse from 1.5.7 to 1.5.10 in /Examples/CodePushDemoApp (#2231)
dependabot[bot] Jan 4, 2023
bdff675
Bump url-parse from 1.5.7 to 1.5.10 in /Examples/CodePushDemoAppCpp (…
dependabot[bot] Jan 4, 2023
ab067e8
Bump simple-plist from 1.1.1 to 1.3.1 in /Examples/CodePushDemoApp (#…
dependabot[bot] Jan 4, 2023
9bcf442
Bump simple-plist from 1.1.1 to 1.3.1 (#2277)
dependabot[bot] Jan 4, 2023
67debe6
fix new NativeEventEmitter() was called with a non-null argument with…
herparis Jan 5, 2023
c83dadf
Update deps and fix vulnerabilities (#2424)
DmitriyKirakosyan Jan 18, 2023
98cbc9c
Release 7.1.0 (#2425)
DmitriyKirakosyan Jan 19, 2023
a97df22
fix newtonsoft.json dep (#2427)
DmitriyKirakosyan Jan 24, 2023
d26464b
Support RN 0.71.0 (#2419)
johnf Mar 23, 2023
a07420c
Fix CVE-2022-36943 (#2447)
AnatolyPristensky Mar 24, 2023
e071a05
Fix CVE-2022-22912: Prototype pollution vulnerability via .parse() in…
DmitriyKirakosyan Mar 24, 2023
95a471b
Release 8.0.0 (#2466)
MikhailSuendukov Mar 24, 2023
4db90d2
Fix iOS tests after migration to react-native 0.71 (#2479)
MikhailSuendukov Apr 6, 2023
3fb5389
Bump vm2 from 3.9.13 to 3.9.16 (#2490)
dependabot[bot] Apr 17, 2023
412b43c
Bump vm2 from 3.9.13 to 3.9.16 in /Examples/CodePushDemoAppCpp (#2491)
dependabot[bot] Apr 17, 2023
4a55114
Bump vm2 from 3.9.13 to 3.9.16 in /Examples/CodePushDemoApp (#2492)
dependabot[bot] Apr 19, 2023
8ca0b4e
Bump code-push version to 4.1.1 (#2498)
DmitriyKirakosyan Apr 19, 2023
b8b2287
Release 8.0.1 (#2499)
AnatolyPristensky Apr 19, 2023
19ae61f
FixVM2 (#2502)
AnatolyPristensky Apr 19, 2023
c11fb65
Bump vm2 from 3.9.17 to 3.9.19 (#2519)
dependabot[bot] May 23, 2023
3c6986b
Release8-0-2 (#2522)
AnatolyPristensky May 24, 2023
6ff24c1
Fix CVE-2023-30547 (#2526)
AnatolyPristensky May 30, 2023
df9f82b
Update appcenter-cli and vm2 (#2537)
DmitriyKirakosyan Jun 26, 2023
ea296f1
Update code-push to version 4.2.0 (#2568)
DmitriyKirakosyan Aug 18, 2023
5355e68
Bump version to 8.1.0 (#2572)
DmitriyKirakosyan Aug 21, 2023
777e202
Update demo apps (#2573)
DmitriyKirakosyan Aug 22, 2023
b86e38a
Update react-native-code-push-ci.yml (#2608)
AnatolyPristensky Oct 27, 2023
cbbc331
Fix-traverse-CVE (#2609)
AnatolyPristensky Oct 30, 2023
2687807
implement client unique id using uuid for Android (#2592)
MikhailSuendukov Oct 30, 2023
df2de5e
Prioritize nodeModulesPath over config.root if present. (#2507)
joarkosberg Nov 1, 2023
2b37595
[swift] Fix imports for Cocoapods + Swift projects + (#2004)
liamxujia Nov 8, 2023
1f7c903
Windows plugin configuration steps in C# (#2072)
aalbaharnah Nov 9, 2023
64bcdba
Remove jcenter (#2215)
owjsub Nov 9, 2023
176121d
Update api-js.md (#2252)
ridvanaltun Nov 9, 2023
5ab89da
Release 8.1.1 (#2633)
AnatolyPristensky Dec 19, 2023
99c8c4e
Replace DevInternalSettings with DeveloperSettings for react-native 0…
DmitriyKirakosyan Jan 17, 2024
8d5cf4c
docs: update broken links (#2556)
gkartalis Jan 18, 2024
9ad95ab
Onboarding to GitOps.ResourceManagement (#2535)
microsoft-github-policy-service[bot] Jan 18, 2024
d84daa4
Fix README to refer to the correct version (#2469)
johnf Jan 18, 2024
ba6c77b
chore: remove dead link resolving to malware (#2465)
SeanSanker Jan 18, 2024
ad6e88c
Update setup-ios.md (#2361)
sturmenta Jan 18, 2024
7a919e3
created needed directories before accessing them (#2156)
AmyrAhmady Jan 18, 2024
61321a1
Release 8.2.0 (#2646)
MikhailSuendukov Jan 19, 2024
82c54a4
Update codepush.gradle: fix Could not find matching constructor for: …
hamdij0maa Jan 25, 2024
0aa39d3
Release 8.2.1 (#2651)
AnatolyPristensky Jan 26, 2024
5ea2296
Doc(setup-android): add kotlin code for MainApplication.kt (#2663)
Feb 19, 2024
c495ed4
[Pipeline] Migrate to 1ES (#2674)
AnatolyPristensky Mar 14, 2024
6899e68
[CI] Add APIScan (#2678)
DmitriyKirakosyan Mar 21, 2024
d57066b
fix: Clear updates on initializeUpdateAfterRestart in case codepush.j…
MAKARD Mar 22, 2024
dae22a7
Update updateDialog property type in SyncOptions interface (#2681)
MikhailSuendukov Mar 22, 2024
104cc38
Fix vulnerabilities (#2682)
DmitriyKirakosyan Mar 29, 2024
463fab6
Fix typo in readme (#2672)
simon-assistiq Apr 2, 2024
9d4e265
Update Nimbus-Jose-JWT (#2657)
AnatolyPristensky Apr 2, 2024
d093b33
8.2.2 (#2688)
MikhailSuendukov Apr 3, 2024
7ef2e76
Handle null values in CodePushUtils.java (#2707)
MikhailSuendukov Jun 19, 2024
ca3fd56
Migrate github actions to ADO (#2716)
DordeDimitrijev Jun 27, 2024
5addacb
Update codepush.gradle (#2471)
bmaluff Jun 27, 2024
c4b293d
Move DevSettingsActivity from main to debug (#2562)
floydkim Jul 2, 2024
6c5bdd9
Improve root component ref definition (#2705)
MikhailSuendukov Jul 3, 2024
41eebe3
Increase macOS job timeout to 2hrs (#2718)
DordeDimitrijev Jul 3, 2024
79b5f02
Added asset removal before gradle merges assets (#2697)
bestander Jul 5, 2024
a801da4
Bump min windows version to 10.0.17763.0 (#2719)
MikhailSuendukov Jul 8, 2024
ae7ff33
smarter node modules path resolving (#2558)
wjaykim Jul 8, 2024
fff86b3
Fix NPE when invoking `copyNecessaryFilesFromCurrentPackage()` method…
robxyy Jul 8, 2024
2503380
Fix braces vulnerability (#2720)
DordeDimitrijev Jul 8, 2024
32b229b
Update code-push version (#2721)
DordeDimitrijev Jul 8, 2024
2d5ad09
Bump version to 8.3.0 (#2722)
DordeDimitrijev Jul 8, 2024
c55b66a
Fix vulnerabilities (#2726)
DordeDimitrijev Jul 11, 2024
d1cab78
Revert code changes as it causes integrity check failure (#2730)
DordeDimitrijev Jul 25, 2024
acb9538
Bump version to 8.3.1 (#2731)
DordeDimitrijev Jul 25, 2024
60a7a7c
Add privacy manifest (#2735)
DordeDimitrijev Aug 12, 2024
2bae1de
Fix script for creating demo code push apps (#2739)
DordeDimitrijev Aug 21, 2024
1f1bd87
Move namespace definition to build.gradle (#2745)
MikhailSuendukov Sep 4, 2024
0113ed7
Bump the version of ZipArchive to 2.5.5 (#2709)
MikhailSuendukov Sep 9, 2024
94bcd15
Bump version to 9.0.0 (#2752)
MikhailSuendukov Sep 10, 2024
b6a5bea
Fix null pointer exception (#2761)
DordeDimitrijev Sep 23, 2024
3cd63dd
Bump serve-static from 1.15.0 to 1.16.2 in /Examples/CodePushDemoAppC…
dependabot[bot] Oct 25, 2024
5105a70
Update README as new arch won't be supported (#2779)
DordeDimitrijev Nov 6, 2024
a8e64fc
Fix app reloading with New Architecture (#2784)
esbenvb Dec 12, 2024
5a84030
Bump code-push version (#2788)
DordeDimitrijev Dec 19, 2024
6015386
Bump version to 9.0.1 (#2789)
DordeDimitrijev Dec 19, 2024
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
  •  
  •  
  •  
104 changes: 104 additions & 0 deletions .azurepipelines/build-rn-code-push-1es.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,104 @@
trigger:
- master

pr:
- master

resources:
repositories:
- repository: 1ESPipelineTemplates
type: git
name: 1ESPipelineTemplates/1ESPipelineTemplates
ref: refs/tags/release
name: $(Build.SourceBranchName)_$(date:yyyyMMdd)$(rev:.r)

extends:
${{ if eq(variables['Build.SourceBranch'], 'refs/heads/master') }}:
template: v1/1ES.Official.PipelineTemplate.yml@1ESPipelineTemplates
${{ else }}:
template: v1/1ES.Unofficial.PipelineTemplate.yml@1ESPipelineTemplates
parameters:
pool:
name: 1ES-PT-CBL-Mariner-2.0-Gen2
os: linux
customBuildTags:
- ES365AIMigrationTooling-BulkMigrated
sdl:
sourceAnalysisPool: 1ES-PT-Windows-2022
credscan:
suppressionsFile: $(Build.SourcesDirectory)/.config/CredScanSuppressions.json
stages:
- stage: Stage
jobs:
- job: HostJob
templateContext:
outputs:
- output: pipelineArtifact
displayName: "Publish Artifact: artifacts"
path: '$(Build.ArtifactStagingDirectory)/npm'
artifactName: npm

steps:
- task: NodeTool@0
inputs:
versionSpec: '14.x'
displayName: 'Install Node.js'

- script: |
npm pack
npm install -g react-native-code-push*.tgz
displayName: 'Package react-native-code-push'
workingDirectory: $(Build.SourcesDirectory)

- task: DeleteFiles@1
inputs:
contents: node_modules
displayName: 'Delete node_modules'

- task: ArchiveFiles@2
inputs:
rootFolderOrFile: '$(Build.SourcesDirectory)'
includeRootFolder: false
archiveType: 'tar'
archiveFile: '$(Build.ArtifactStagingDirectory)/npm/$(Build.BuildId).tgz'
replaceExistingArchive: true
verbose: true
displayName: 'Prepare npm artifact'

- stage: APIScan
dependsOn: Stage
pool:
name: 1ES-PT-Windows-2022
os: windows
variables:
"agent.source.skip": true
jobs:
- job: APIScan
steps:
- task: DownloadPipelineArtifact@2
displayName: Download Build Artifacts for APIScan
inputs:
artifactName: npm
targetPath: '$(Agent.BuildDirectory)/npm'
- task: ExtractFiles@1
inputs:
archiveFilePatterns: '$(Agent.BuildDirectory)/npm/*.tgz'
destinationFolder: '$(Agent.BuildDirectory)/npm_extracted'
- task: AzureKeyVault@2
inputs:
azureSubscription: 'AC - Dev Infra & Build Pool'
KeyVaultName: 'mobile-center-sdk'
SecretsFilter: 'appcenter-sdk-managed-identity-clientid'
RunAsPreJob: false
- task: APIScan@2
displayName: 'Run APIScan'
inputs:
softwareFolder: '$(Agent.BuildDirectory)\npm_extracted'
softwareName: 'react-native-code-push'
softwareVersionNum: '$(Build.BuildId)'
isLargeApp: false
toolVersion: 'Latest'
verbosityLevel: verbose
condition: and(succeeded(), ne(variables['DisableAPIScan'], 'true'))
env:
AzureServicesAuthConnectionString: 'runAs=App;AppId=$(appcenter-sdk-managed-identity-clientid)'
94 changes: 94 additions & 0 deletions .azurepipelines/test-rn-code-push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
trigger:
- master

pr:
- master

variables:
- name: api-level
value: '27'

pool:
vmImage: 'macOS-12'

stages:
- stage: RunTests
displayName: 'Run Android & IOS tests'
jobs:
- job: TestAndroid
timeoutInMinutes: 120
displayName: 'Test android'
steps:

- script: |
adb devices
displayName: 'Start adb server'

- script: |
$ANDROID_HOME/tools/bin/sdkmanager "system-images;android-$(api-level);google_apis;x86"
displayName: 'Download system image'

- script: |
$ANDROID_HOME/tools/bin/avdmanager create avd --force --name TestEmulator --abi google_apis/x86 --package 'system-images;android-$(api-level);google_apis;x86' --device "Nexus 6P"
displayName: 'Creating Android emulator'

- script: |
$ANDROID_HOME/emulator/emulator -avd TestEmulator -noaudio -no-window -no-snapshot-save -no-boot-anim -memory 6144 &
displayName: 'Start Android emulator'

- script: |
$ANDROID_HOME/platform-tools/adb wait-for-device shell 'while [[ -z $(getprop sys.boot_completed | tr -d '\r') ]]; do sleep 1; done'
displayName: 'Wait for emulator to boot'

- script: |
adb shell settings put global window_animation_scale 0.0
displayName: 'Disable animations and transitions'

- script: |
adb shell settings put global transition_animation_scale 0.0
displayName: 'Disable animations and transitions'

- script: |
adb shell settings put global animator_duration_scale 0.0
displayName: 'Disable animations and transitions'


- task: JavaToolInstaller@0
inputs:
versionSpec: '11'
jdkArchitectureOption: 'x64'
jdkSourceOption: 'PreInstalled'
displayName: 'Change Java version'

- script: |
npm install
displayName: 'Package Installation'

- script: |
npm run build:tests && npm run test:setup:android
displayName: 'Setup Android tests'

- script: |
npm run test:fast:android
displayName: 'Run Android test'

- job: TestIOS
timeoutInMinutes: 120
displayName: 'Test IOS'
steps:

- script: |
npm install
displayName: 'Install dependencies'

- script: |
npm run build:tests && npm run test:setup:ios
displayName: 'Setup iOS tests'

- script: |
npm run test:fast:ios
displayName: 'Run tests'




14 changes: 14 additions & 0 deletions .config/CredScanSuppressions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"tool": "Credential Scanner",
"suppressions": [
{
"file": "/Examples/CodePushDemoApp/android/app/debug.keystore",
"_justification": "Used only in DemoApp"
},
{
"file": "/Examples/CodePushDemoAppCpp/windows/CodePushDemoAppCpp/CodePushDemoAppCpp_TemporaryKey.pfx",
"_justification": "Used only in DemoApp"
}
]
}

1 change: 1 addition & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @microsoft/appcenter-fte
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.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
* 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.71.19 react-native-code-push@9.0.1` 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
64 changes: 64 additions & 0 deletions .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
id:
name: GitOps.PullRequestIssueManagement
description: GitOps.PullRequestIssueManagement primitive
owner:
resource: repository
disabled: false
where:
configuration:
resourceManagementConfiguration:
scheduledSearches:
- description:
frequencies:
- hourly:
hour: 4
filters:
- isOpen
- isNotLabeledWith:
label: bug
- isNotLabeledWith:
label: security
- isNotLabeledWith:
label: stale
- isNotLabeledWith:
label: do not close
- noActivitySince:
days: 60
- isIssue
- isNotAssigned
actions:
- addLabel:
label: stale
- addReply:
reply: This issue has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs within 15 days of this comment.
- description:
frequencies:
- hourly:
hour: 6
filters:
- isOpen
- isIssue
- hasLabel:
label: stale
- isNotLabeledWith:
label: bug
- isNotLabeledWith:
label: do not close
- isNotAssigned
- noActivitySince:
days: 15
actions:
- addReply:
reply: This issue will now be closed because it hasn't had any activity for 15 days after stale. Please feel free to open a new issue if you still have a question/issue or suggestion.
- closeIssue
eventResponderTasks:
- if:
- payloadType: Issue_Comment
- hasLabel:
label: stale
then:
- removeLabel:
label: stale
description:
onFailure:
onSuccess:
48 changes: 0 additions & 48 deletions .github/workflows/react-native-code-push-ci.yml

This file was deleted.

5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -188,4 +188,7 @@ ipch/
Ankh.NoLoad

# RN New Version App Generation
Examples/testapp_rn
Examples/testapp_rn

# Android debug build files (conflict ignoring #Visual Studio files)
!android/app/src/debug/
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ 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 `react-native-cli`.
Then, make sure you have installed `react-native`.

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

To run Android tests, make sure you have `sdk\tools`, `sdk\emulator` and `sdk\platform-tools` in your PATH.
Expand Down Expand Up @@ -131,4 +131,4 @@ To run the core unit tests on Android and pull the plugin from NPM:
NPM=true CORE=true npm run test:android
```

...and so on!
...and so on!
Loading