Skip to content

Commit

Permalink
Merge branch 'release/1.0' into add_tests
Browse files Browse the repository at this point in the history
* release/1.0: (73 commits)
  fix styling on tizenwear
  use build folder only when bundling assets
  chore: disable apple e2e
  chore: enable android e2e
  chore: remove intel label from e2e
  add react-native-photo-editor for ios + fix copying of builds folder from external pluginTemplatess
  clean code
  remove unnecessary changes
  add react-native-photo-editor overrides
  fix fetchAndMovePhoto
  add PhotoEditor for android
  fix kaios sim run command
  update logger
  small fix
  regen schema, move rnvNewPatchDependencies to bootstrapConfig, add template spec for testing schemas
  add await
  alternative execute
  fix UTs, linter
  additional c cleanup
  more c cleanup
  ...

# Conflicts:
#	packages/sdk-android/src/runner.ts
  • Loading branch information
pavjacko committed Mar 15, 2024
2 parents 4a74d03 + f9d335d commit 435b849
Show file tree
Hide file tree
Showing 242 changed files with 4,058 additions and 3,254 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/e2e-harness-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ defaults:
shell: zsh -l {0}
on:
workflow_dispatch:
# push:
# branches:
# - main
# - 'release/**'
# paths-ignore:
# - 'docs/**'
# - '**/README.md'
# - '**/lerna.json'
# - '**/metadata.json'
# - '**/renative.json'
# - '**/package.json'
# pull_request:
# types: [labeled]
push:
branches:
- main
- 'release/**'
paths-ignore:
- 'docs/**'
- '**/README.md'
- '**/lerna.json'
- '**/metadata.json'
- '**/renative.json'
- '**/package.json'
pull_request:
types: [labeled]

jobs:
e2e-harness-android:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.label.name == 'e2e-harness-android' || github.event.label.name == 'e2e' }}
runs-on: [self-hosted, macos, intel]
runs-on: [self-hosted, macos]
steps:
- uses: actions/checkout@v2
- name: Setup
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/e2e-harness-androidtv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ defaults:
shell: zsh -l {0}
on:
workflow_dispatch:
# push:
# branches:
# - main
# - 'release/**'
# paths-ignore:
# - 'docs/**'
# - '**/README.md'
# - '**/lerna.json'
# - '**/metadata.json'
# - '**/renative.json'
# - '**/package.json'
# pull_request:
# types: [labeled]
push:
branches:
- main
- 'release/**'
paths-ignore:
- 'docs/**'
- '**/README.md'
- '**/lerna.json'
- '**/metadata.json'
- '**/renative.json'
- '**/package.json'
pull_request:
types: [labeled]

jobs:
e2e-harness-androidtv:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.label.name == 'e2e-harness-androidtv' || github.event.label.name == 'e2e' }}
runs-on: [self-hosted, macos, intel]
runs-on: [self-hosted, macos]
steps:
- uses: actions/checkout@v2
- name: Setup
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/e2e-template-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ defaults:
shell: zsh -l {0}
on:
workflow_dispatch:
# push:
# branches:
# - main
# - 'release/**'
# paths-ignore:
# - 'docs/**'
# - '**/README.md'
# - '**/lerna.json'
# - '**/metadata.json'
# - '**/renative.json'
# - '**/package.json'
# pull_request:
# types: [labeled]
push:
branches:
- main
- 'release/**'
paths-ignore:
- 'docs/**'
- '**/README.md'
- '**/lerna.json'
- '**/metadata.json'
- '**/renative.json'
- '**/package.json'
pull_request:
types: [labeled]

jobs:
e2e-template-android:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.label.name == 'e2e-template-android' || github.event.label.name == 'e2e' }}
runs-on: [self-hosted, macos, intel]
runs-on: [self-hosted, macos]
steps:
- uses: actions/checkout@v2
- name: Setup
Expand Down
28 changes: 14 additions & 14 deletions .github/workflows/e2e-template-androidtv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@ defaults:
shell: zsh -l {0}
on:
workflow_dispatch:
# push:
# branches:
# - main
# - 'release/**'
# paths-ignore:
# - 'docs/**'
# - '**/README.md'
# - '**/lerna.json'
# - '**/metadata.json'
# - '**/renative.json'
# - '**/package.json'
# pull_request:
# types: [labeled]
push:
branches:
- main
- 'release/**'
paths-ignore:
- 'docs/**'
- '**/README.md'
- '**/lerna.json'
- '**/metadata.json'
- '**/renative.json'
- '**/package.json'
pull_request:
types: [labeled]

jobs:
e2e-template-androidtv:
if: ${{ github.event_name == 'workflow_dispatch' || github.event_name == 'push' || github.event.label.name == 'e2e-template-androidtv' || github.event.label.name == 'e2e' }}
runs-on: [self-hosted, macos, intel]
runs-on: [self-hosted, macos]
steps:
- uses: actions/checkout@v2
- name: Setup
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/rnvUnitTest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ jobs:
run: |
yarn
yarn bootstrap
yarn lint
yarn test
env:
CI: true
Expand Down
3 changes: 1 addition & 2 deletions packages/app-harness/appConfigs/base/renative.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@
"{{resolvePackage(react-native-vector-icons)}}/Fonts"
],
"excludedPlugins": [
"@react-native-firebase/app",
"react-native-photo-editor"
"@react-native-firebase/app"
]
},
"platforms": {
Expand Down
7 changes: 0 additions & 7 deletions packages/app-harness/buildHooks/tsconfig.json

This file was deleted.

6 changes: 4 additions & 2 deletions packages/app-harness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,12 @@
"react-native-gesture-handler": "2.14.1",
"react-native-orientation-locker": "1.5.0",
"react-native-permissions": "4.1.4",
"react-native-photo-editor": "1.0.13",
"react-native-photo-editor": "github:AppGyver/react-native-photo-editor#v0.1.2",
"react-native-splash-screen": "3.3.0",
"react-native-tvos": "0.73.1-3",
"react-native-web": "0.19.9"
"react-native-web": "0.19.9",
"react-native-fs": "2.20.0",
"rn-fetch-blob": "0.12.0"
},
"devDependencies": {
"@flexn/assets-renative-outline": "0.3.3",
Expand Down
39 changes: 35 additions & 4 deletions packages/app-harness/renative.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"react-native-splash-screen": {
"android": {
"templateAndroid": {
"MainActivity_java": {
"MainActivity_kt": {
"createMethods": ["SplashScreen.show(this)"],
"imports": ["org.devio.rn.splashscreen.SplashScreen"]
}
Expand Down Expand Up @@ -40,13 +40,14 @@
"TestNativeModule": {
"android": {
"templateAndroid": {
"MainApplication_java": {
"MainApplication_kt": {
"packages": ["MyAppPackage"]
}
},
"forceLinking": true
}
},
"rn-fetch-blob": { "tvos": { "disabled": true }, "version": "0.12.0" },
"react-native-carplay": {
"ios": {
"templateXcode": {
Expand Down Expand Up @@ -100,6 +101,11 @@
"tag": "manifest",
"android:name": "",
"children": [
{
"tag": "uses-permission ",
"android:name": "android.permission.WRITE_EXTERNAL_STORAGE",
"children": []
},
{
"tag": "application",
"android:name": ".MainApplication",
Expand All @@ -126,10 +132,29 @@
"podName": "iOSPhotoEditor",
"git": "https://github.com/prscX/photo-editor",
"commit": "4924e9ec984d25d03644e58aa148282642171de9",
"buildType": "dynamic"
"buildType": "dynamic",
"templateXcode": {
"Podfile": {
"header": ["plugin 'cocoapods-user-defined-build-types'", "enable_user_defined_build_types!"]
},
"project_pbxproj": {
"resourceFiles": [
"Resources/arrow1.png",
"Resources/arrow2.png",
"Resources/arrow3.png",
"Resources/arrow4.png",
"Resources/arrow5.png"
],
"sourceFiles": ["RNPhotoEditor/RNPhotoEditor.m"],
"headerFiles": ["RNPhotoEditor/RNPhotoEditor.h"]
}
}
},
"tvos": {
"disabled": true
},
"pluginDependencies": null,
"version": "1.0.13"
"version": "github:AppGyver/react-native-photo-editor#v0.1.2"
},
"react-native-permissions": {
"ios": {
Expand Down Expand Up @@ -208,6 +233,12 @@
},
"NSContactsUsageDescription": {
"desc": "Contacts usage description"
},
"NSPhotoLibraryAddUsageDescription": {
"desc": "Application needs permission to write photos..."
},
"NSPhotoLibraryUsageDescription": {
"desc": "iOS 10 needs permission to write photos..."
}
}
}
Expand Down

0 comments on commit 435b849

Please sign in to comment.