Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
example/ios/build
example/node_modules
key: ${{ runner.os }}-setup-cache-2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- run: yarn install --immutable

- run: yarn bootstrap

lint:
Expand All @@ -37,11 +40,13 @@ jobs:
example/ios/build
example/node_modules
key: ${{ runner.os }}-setup-cache-2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- run: yarn install --immutable
- run: yarn lint
- run: yarn typescript

Expand All @@ -58,10 +63,13 @@ jobs:
example/ios/build
example/node_modules
key: ${{ runner.os }}-setup-cache-2
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- run: yarn install --immutable
- run: yarn test

ios:
Expand Down Expand Up @@ -95,11 +103,13 @@ jobs:
run: xcrun simctl list devices available
shell: bash

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'

- run: yarn install --immutable
- run: yarn e2e:reset
- run: yarn bootstrap
- run: yarn e2e:build:ios:release
Expand All @@ -117,6 +127,7 @@ jobs:
distribution: 'temurin'
java-version: '17'

- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
Expand All @@ -135,6 +146,9 @@ jobs:
key: avd-31-arm64-macos

- name: Install dependencies
run: yarn install --immutable

- name: Bootstrap
run: yarn bootstrap

- name: Build Android app
Expand Down
28 changes: 26 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,28 @@ DerivedData
*.xcuserstate
project.xcworkspace
*.hprof
**/.xcode.env.local
artifacts/*

# Android/IJ
#
.idea
.classpath
.cxx
.gradle
.idea
.project
.settings
local.properties
android.iml

# Cocoapods / Ruby
# Cocoapods
#
example/ios/Pods
/vendor/bundle/

# Ruby
example/vendor/

# node.js
#
node_modules/
Expand All @@ -55,9 +64,21 @@ buck-out/
android/app/libs
android/keystores/debug.keystore

# Yarn
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
example/.yarn/*

# Expo
.expo/*

# Turborepo
.turbo/

# generated by bob
lib/
artifacts
Expand All @@ -70,3 +91,6 @@ example/ios/.xcode.env.local

# env var
example/.env
# React Native Codegen
ios/generated
android/generated
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.7.5
3.3.6
2 changes: 2 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
nodeLinker: node-modules
nmHoistingLimits: workspaces
22 changes: 22 additions & 0 deletions AmazonIvs.podspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
require "json"

package = JSON.parse(File.read(File.join(__dir__, "package.json")))

Pod::Spec.new do |s|
s.name = "AmazonIvs"
s.version = package["version"]
s.summary = package["description"]
s.homepage = package["homepage"]
s.license = package["license"]
s.authors = package["author"]

s.platforms = { :ios => min_ios_version_supported }
s.source = { :git => "https://github.com/aws/amazon-ivs-react-native-player.git", :tag => "#{s.version}" }


s.source_files = "ios/**/*.{h,m,mm,cpp,swift}"
s.private_header_files = "ios/**/*.h"

s.dependency "AmazonIVSPlayer", "1.46.0"
install_modules_dependencies(s)
end
31 changes: 0 additions & 31 deletions amazon-ivs-react-native-player.podspec

This file was deleted.

17 changes: 0 additions & 17 deletions android/.project

This file was deleted.

13 changes: 0 additions & 13 deletions android/.settings/org.eclipse.buildship.core.prefs

This file was deleted.

Loading
Loading