diff --git a/demo/StreamRtmp/.bundle/config b/demo/StreamRtmp/.bundle/config new file mode 100644 index 0000000..848943b --- /dev/null +++ b/demo/StreamRtmp/.bundle/config @@ -0,0 +1,2 @@ +BUNDLE_PATH: "vendor/bundle" +BUNDLE_FORCE_RUBY_PLATFORM: 1 diff --git a/demo/StreamRtmp/.env b/demo/StreamRtmp/.env new file mode 100644 index 0000000..103fe29 --- /dev/null +++ b/demo/StreamRtmp/.env @@ -0,0 +1,17 @@ +API_URL= +APP_ENV=development +CODEPUSH_KEY_IOS= +CODEPUSH_KEY_ANDROID= +APP_ID=com.saigontechnology.streamrtmp.development +APP_NAME=BaseDev +PROJECT_NAME=StreamRtmp + +#Config for codepush and build +APPCENTER_TOKEN_ANDROID= +APPCENTER_TOKEN_IOS= +APPCENTER_APP_NAME_ANDROID= +APPCENTER_APP_NAME_IOS= +APPCENTER_APP_DISPLAY_NAME= +APPCENTER_RELEASE_NOTE= +APPCENTER_DISTRIBUTE_DESTINATIONS=Public +APPLE_TEAM_ID= diff --git a/demo/StreamRtmp/.env.development b/demo/StreamRtmp/.env.development new file mode 100644 index 0000000..76c2159 --- /dev/null +++ b/demo/StreamRtmp/.env.development @@ -0,0 +1,17 @@ +API_URL= +APP_ENV=development +CODEPUSH_KEY_IOS= +CODEPUSH_KEY_ANDROID= +APP_ID=com.saigontechnology.streamrtmp.development +APP_NAME=BaseDevelopment +PROJECT_NAME=StreamRtmp + +#Config for codepush and build +APPCENTER_TOKEN_ANDROID= +APPCENTER_TOKEN_IOS= +APPCENTER_APP_NAME_ANDROID= +APPCENTER_APP_NAME_IOS= +APPCENTER_APP_DISPLAY_NAME= +APPCENTER_RELEASE_NOTE= +APPCENTER_DISTRIBUTE_DESTINATIONS=Public +APPLE_TEAM_ID= diff --git a/demo/StreamRtmp/.env.production b/demo/StreamRtmp/.env.production new file mode 100644 index 0000000..0b3f4ed --- /dev/null +++ b/demo/StreamRtmp/.env.production @@ -0,0 +1,16 @@ +API_URL= +APP_ENV=production +CODEPUSH_KEY_IOS= +CODEPUSH_KEY_ANDROID= +APP_ID=com.saigontechnology.streamrtmp +APP_NAME=Base + +#Config for codepush and build +APPCENTER_TOKEN_ANDROID= +APPCENTER_TOKEN_IOS= +APPCENTER_APP_NAME_ANDROID= +APPCENTER_APP_NAME_IOS= +APPCENTER_APP_DISPLAY_NAME= +APPCENTER_RELEASE_NOTE= +APPCENTER_DISTRIBUTE_DESTINATIONS=Public +APPLE_TEAM_ID= diff --git a/demo/StreamRtmp/.env.staging b/demo/StreamRtmp/.env.staging new file mode 100644 index 0000000..7d5368c --- /dev/null +++ b/demo/StreamRtmp/.env.staging @@ -0,0 +1,16 @@ +API_URL= +APP_ENV=staging +CODEPUSH_KEY_IOS= +CODEPUSH_KEY_ANDROID= +APP_ID=com.saigontechnology.streamrtmp.staging +APP_NAME=BaseStaging + +#Config for codepush and build +APPCENTER_TOKEN_ANDROID= +APPCENTER_TOKEN_IOS= +APPCENTER_APP_NAME_ANDROID= +APPCENTER_APP_NAME_IOS= +APPCENTER_APP_DISPLAY_NAME= +APPCENTER_RELEASE_NOTE= +APPCENTER_DISTRIBUTE_DESTINATIONS=Public +APPLE_TEAM_ID= diff --git a/demo/StreamRtmp/.eslintrc.js b/demo/StreamRtmp/.eslintrc.js new file mode 100644 index 0000000..2e5e663 --- /dev/null +++ b/demo/StreamRtmp/.eslintrc.js @@ -0,0 +1,31 @@ +module.exports = { + root: true, + extends: [ + '@react-native', + 'eslint:recommended', + 'plugin:react/recommended', + 'plugin:react-hooks/recommended', + 'plugin:@typescript-eslint/eslint-recommended', + 'plugin:@typescript-eslint/recommended', + ], + parser: '@typescript-eslint/parser', + plugins: ['@typescript-eslint', 'import', 'unused-imports'], + overrides: [ + { + files: ['*.ts', '*.tsx', '*.js'], + rules: { + semi: 'off', + 'comma-dangle': 'off', + 'no-shadow': 'off', + 'no-undef': 'off', + 'import/no-cycle': 'warn', + 'import/first': 'error', + 'import/no-duplicates': 'error', + 'unused-imports/no-unused-imports': 'error', + 'arrow-body-style': ['error', 'as-needed'], + '@typescript-eslint/no-shadow': ['error'], + '@typescript-eslint/no-empty-interface': 'warn', + }, + }, + ], +} diff --git a/demo/StreamRtmp/.husky/pre-commit b/demo/StreamRtmp/.husky/pre-commit new file mode 100755 index 0000000..96239da --- /dev/null +++ b/demo/StreamRtmp/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/usr/bin/env sh +. "$(dirname -- "$0")/_/husky.sh" + +yarn pretty && yarn lint:fix diff --git a/demo/StreamRtmp/.prettierrc.js b/demo/StreamRtmp/.prettierrc.js new file mode 100644 index 0000000..ba0f44f --- /dev/null +++ b/demo/StreamRtmp/.prettierrc.js @@ -0,0 +1,9 @@ +module.exports = { + arrowParens: 'avoid', + bracketSameLine: true, + bracketSpacing: false, + singleQuote: true, + trailingComma: 'all', + semi: false, + printWidth: 110, +} diff --git a/demo/StreamRtmp/.watchmanconfig b/demo/StreamRtmp/.watchmanconfig new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/demo/StreamRtmp/.watchmanconfig @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/demo/StreamRtmp/App.tsx b/demo/StreamRtmp/App.tsx new file mode 100644 index 0000000..fcd4d43 --- /dev/null +++ b/demo/StreamRtmp/App.tsx @@ -0,0 +1,67 @@ +import React, {useEffect} from 'react' +import {LogBox, PermissionsAndroid, Text} from 'react-native' +import {SafeAreaProvider} from 'react-native-safe-area-context' +import {Provider} from 'react-redux' +import {configureLocalization} from './src/locale/I18nConfig' +import MainLayout from './src/MainLayout' +import {injectStore} from './src/services/networking/axios' +import {store, persistor} from './src/store/store' +import {PersistGate} from 'redux-persist/integration/react' + +interface TextWithDefaultProps extends Text { + defaultProps?: { + allowFontScaling?: boolean + underlineColorAndroid?: 'transparent' + } +} +/* eslint-disable @typescript-eslint/no-extra-semi */ +;(Text as unknown as TextWithDefaultProps).defaultProps = { + ...(Text as unknown as TextWithDefaultProps).defaultProps, + allowFontScaling: false, + underlineColorAndroid: 'transparent', +} +LogBox.ignoreAllLogs(true) + +injectStore(store) +configureLocalization('en') + +/** + * @name requestCameraAndAudioPermission + * @description Function to request permission for Audio and Camera + */ +const requestCameraAndAudioPermission = async () => { + try { + const granted = await PermissionsAndroid.requestMultiple([ + PermissionsAndroid.PERMISSIONS.CAMERA, + PermissionsAndroid.PERMISSIONS.RECORD_AUDIO, + ]) + if ( + granted['android.permission.RECORD_AUDIO'] === PermissionsAndroid.RESULTS.GRANTED && + granted['android.permission.CAMERA'] === PermissionsAndroid.RESULTS.GRANTED + ) { + console.log('You can use the cameras & mic') + } else { + console.log('Permission denied') + } + } catch (err) { + console.warn(err) + } +} + +function App(): React.JSX.Element { + useEffect(() => { + requestCameraAndAudioPermission() + }, []) + + return ( + + + + + + + + ) +} + +export default App diff --git a/demo/StreamRtmp/Gemfile b/demo/StreamRtmp/Gemfile new file mode 100644 index 0000000..8bcc46a --- /dev/null +++ b/demo/StreamRtmp/Gemfile @@ -0,0 +1,13 @@ +source "https://rubygems.org" + +# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version +ruby ">= 2.6.10" + +# Cocoapods 1.15 introduced a bug which break the build. We will remove the upper +# bound in the template on Cocoapods with next React Native release. +gem 'cocoapods', '>= 1.13', '< 1.15' +gem 'activesupport', '>= 6.1.7.5', '< 7.1.0' +gem 'fastlane' + +plugins_path = File.join(File.dirname(__FILE__), 'fastlane', 'Pluginfile') +eval_gemfile(plugins_path) if File.exist?(plugins_path) diff --git a/demo/StreamRtmp/Gemfile.lock b/demo/StreamRtmp/Gemfile.lock new file mode 100644 index 0000000..ab25526 --- /dev/null +++ b/demo/StreamRtmp/Gemfile.lock @@ -0,0 +1,103 @@ +GEM + remote: https://rubygems.org/ + specs: + CFPropertyList (3.0.7) + base64 + nkf + rexml + activesupport (7.0.8.1) + concurrent-ruby (~> 1.0, >= 1.0.2) + i18n (>= 1.6, < 2) + minitest (>= 5.1) + tzinfo (~> 2.0) + addressable (2.8.6) + public_suffix (>= 2.0.2, < 6.0) + algoliasearch (1.27.5) + httpclient (~> 2.8, >= 2.8.3) + json (>= 1.5.1) + atomos (0.1.3) + base64 (0.2.0) + claide (1.1.0) + cocoapods (1.14.3) + addressable (~> 2.8) + claide (>= 1.0.2, < 2.0) + cocoapods-core (= 1.14.3) + cocoapods-deintegrate (>= 1.0.3, < 2.0) + cocoapods-downloader (>= 2.1, < 3.0) + cocoapods-plugins (>= 1.0.0, < 2.0) + cocoapods-search (>= 1.0.0, < 2.0) + cocoapods-trunk (>= 1.6.0, < 2.0) + cocoapods-try (>= 1.1.0, < 2.0) + colored2 (~> 3.1) + escape (~> 0.0.4) + fourflusher (>= 2.3.0, < 3.0) + gh_inspector (~> 1.0) + molinillo (~> 0.8.0) + nap (~> 1.0) + ruby-macho (>= 2.3.0, < 3.0) + xcodeproj (>= 1.23.0, < 2.0) + cocoapods-core (1.14.3) + activesupport (>= 5.0, < 8) + addressable (~> 2.8) + algoliasearch (~> 1.0) + concurrent-ruby (~> 1.1) + fuzzy_match (~> 2.0.4) + nap (~> 1.0) + netrc (~> 0.11) + public_suffix (~> 4.0) + typhoeus (~> 1.0) + cocoapods-deintegrate (1.0.5) + cocoapods-downloader (2.1) + cocoapods-plugins (1.0.0) + nap + cocoapods-search (1.0.1) + cocoapods-trunk (1.6.0) + nap (>= 0.8, < 2.0) + netrc (~> 0.11) + cocoapods-try (1.2.0) + colored2 (3.1.2) + concurrent-ruby (1.2.3) + escape (0.0.4) + ethon (0.16.0) + ffi (>= 1.15.0) + ffi (1.16.3) + fourflusher (2.3.1) + fuzzy_match (2.0.4) + gh_inspector (1.1.3) + httpclient (2.8.3) + i18n (1.14.4) + concurrent-ruby (~> 1.0) + json (2.7.2) + minitest (5.22.3) + molinillo (0.8.0) + nanaimo (0.3.0) + nap (1.1.0) + netrc (0.11.0) + nkf (0.2.0) + public_suffix (4.0.7) + rexml (3.2.6) + ruby-macho (2.5.1) + typhoeus (1.4.1) + ethon (>= 0.9.0) + tzinfo (2.0.6) + concurrent-ruby (~> 1.0) + xcodeproj (1.24.0) + CFPropertyList (>= 2.3.3, < 4.0) + atomos (~> 0.1.3) + claide (>= 1.0.2, < 2.0) + colored2 (~> 3.1) + nanaimo (~> 0.3.0) + rexml (~> 3.2.4) + +PLATFORMS + ruby + +DEPENDENCIES + activesupport (>= 6.1.7.5, < 7.1.0) + cocoapods (>= 1.13, < 1.15) + +RUBY VERSION + ruby 2.7.5p203 + +BUNDLED WITH + 2.1.4 diff --git a/demo/StreamRtmp/README.md b/demo/StreamRtmp/README.md new file mode 100644 index 0000000..f6a1bf3 --- /dev/null +++ b/demo/StreamRtmp/README.md @@ -0,0 +1,15 @@ +React Native RTMP Streaming Demo +This repository demonstrates how to create a React Native app that connects to an RTMP (Real-Time Messaging Protocol) URL for live streaming. The app allows users to start a live video stream by connecting to an RTMP server, which is commonly used for video streaming platforms. This example covers the setup of video streaming using an RTMP-compatible video player in React Native and provides configuration guidance for connecting to an RTMP URL. + +Features: + +Connect and stream video to an RTMP URL +Supports live video broadcast for streaming applications +Technologies Used: + +React Native +RTMP streaming protocol + +**Video Demo** + +https://github.com/user-attachments/assets/89cb93a2-6d32-4c87-98f6-df46afa41689 diff --git a/demo/StreamRtmp/__tests__/App.test.js b/demo/StreamRtmp/__tests__/App.test.js new file mode 100644 index 0000000..351e770 --- /dev/null +++ b/demo/StreamRtmp/__tests__/App.test.js @@ -0,0 +1,14 @@ +/** + * @format + */ + +import 'react-native' +import React from 'react' +import App from '../App' + +// Note: test renderer must be required after react-native. +import renderer from 'react-test-renderer' + +it('renders correctly', () => { + renderer.create() +}) diff --git a/demo/StreamRtmp/__tests__/App.test.tsx b/demo/StreamRtmp/__tests__/App.test.tsx new file mode 100644 index 0000000..776d5a1 --- /dev/null +++ b/demo/StreamRtmp/__tests__/App.test.tsx @@ -0,0 +1,17 @@ +/** + * @format + */ + +import 'react-native' +import React from 'react' +import App from '../App' + +// Note: import explicitly to use the types shipped with jest. +import {it} from '@jest/globals' + +// Note: test renderer must be required after react-native. +import renderer from 'react-test-renderer' + +it('renders correctly', () => { + renderer.create() +}) diff --git a/demo/StreamRtmp/android/app/build.gradle b/demo/StreamRtmp/android/app/build.gradle new file mode 100644 index 0000000..2fea38c --- /dev/null +++ b/demo/StreamRtmp/android/app/build.gradle @@ -0,0 +1,136 @@ +apply plugin: "com.android.application" +apply plugin: "org.jetbrains.kotlin.android" +apply plugin: "com.facebook.react" + +project.ext.envConfigFiles = [ + development: ".env.development", + staging: ".env.staging", + production: ".env.production", +] + +apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle" + +/** + * This is the configuration block to customize your React Native Android app. + * By default you don't need to apply any configuration, just uncomment the lines you need. + */ +react { + /* Folders */ + // The root of your project, i.e. where "package.json" lives. Default is '..' + // root = file("../") + // The folder where the react-native NPM package is. Default is ../node_modules/react-native + // reactNativeDir = file("../node_modules/react-native") + // The folder where the react-native Codegen package is. Default is ../node_modules/@react-native/codegen + // codegenDir = file("../node_modules/@react-native/codegen") + // The cli.js file which is the React Native CLI entrypoint. Default is ../node_modules/react-native/cli.js + // cliFile = file("../node_modules/react-native/cli.js") + /* Variants */ + // The list of variants to that are debuggable. For those we're going to + // skip the bundling of the JS bundle and the assets. By default is just 'debug'. + // If you add flavors like lite, prod, etc. you'll have to list your debuggableVariants. + // debuggableVariants = ["liteDebug", "prodDebug"] + /* Bundling */ + // A list containing the node command and its flags. Default is just 'node'. + // nodeExecutableAndArgs = ["node"] + // + // The command to run when bundling. By default is 'bundle' + // bundleCommand = "ram-bundle" + // + // The path to the CLI configuration file. Default is empty. + // bundleConfig = file(../rn-cli.config.js) + // + // The name of the generated asset file containing your JS bundle + // bundleAssetName = "MyApplication.android.bundle" + // + // The entry file for bundle generation. Default is 'index.android.js' or 'index.js' + // entryFile = file("../js/MyApplication.android.js") + // + // A list of extra flags to pass to the 'bundle' commands. + // See https://github.com/react-native-community/cli/blob/main/docs/commands.md#bundle + // extraPackagerArgs = [] + /* Hermes Commands */ + // The hermes compiler command to run. By default it is 'hermesc' + // hermesCommand = "$rootDir/my-custom-hermesc/bin/hermesc" + // + // The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map" + // hermesFlags = ["-O", "-output-source-map"] +} + +apply from: "../../node_modules/react-native-code-push/android/codepush.gradle" + +/** +* Set this to true to Run Proguard on Release builds to minify the Java bytecode. + */ +def enableProguardInReleaseBuilds = false + +/** + * The preferred build flavor of JavaScriptCore (JSC) + * + * For example, to use the international variant, you can use: + * `def jscFlavor = 'org.webkit:android-jsc-intl:+'` + * + * The international variant includes ICU i18n library and necessary data + * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that + * give correct results when using with locales other than en-US. Note that + * this variant is about 6MiB larger per architecture than default. + */ +def jscFlavor = 'org.webkit:android-jsc:+' + +android { + ndkVersion rootProject.ext.ndkVersion + + buildToolsVersion rootProject.ext.buildToolsVersion + compileSdk rootProject.ext.compileSdkVersion + + // add this block + flavorDimensions "default" + productFlavors { + development {} + staging {} + production {} + } + + namespace "com.saigontechnology.streamrtmp" + defaultConfig { + applicationId project.env.get("APP_ID") + minSdkVersion rootProject.ext.minSdkVersion + targetSdkVersion rootProject.ext.targetSdkVersion + versionCode project.hasProperty('versionCode') ? Integer.parseInt(project.versionCode) : 1 + versionName VERSION_NAME + resValue "string", "build_config_package", "com.saigontechnology.streamrtmp" + } + signingConfigs { + debug { + storeFile file('debug.keystore') + storePassword 'android' + keyAlias 'androiddebugkey' + keyPassword 'android' + } + } + buildTypes { + debug { + signingConfig signingConfigs.debug + matchingFallbacks = ['debug', 'release'] + } + release { + // Caution! In production, you need to generate your own keystore file. + // see https://reactnative.dev/docs/signed-apk-android. + signingConfig signingConfigs.debug + minifyEnabled enableProguardInReleaseBuilds + proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" + } + } +} + +dependencies { + // The version of react-native is set by the React Native Gradle Plugin + implementation("com.facebook.react:react-android") + + if (hermesEnabled.toBoolean()) { + implementation("com.facebook.react:hermes-android") + } else { + implementation jscFlavor + } +} + +apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project) diff --git a/demo/StreamRtmp/android/app/debug.keystore b/demo/StreamRtmp/android/app/debug.keystore new file mode 100644 index 0000000..364e105 Binary files /dev/null and b/demo/StreamRtmp/android/app/debug.keystore differ diff --git a/demo/StreamRtmp/android/app/proguard-rules.pro b/demo/StreamRtmp/android/app/proguard-rules.pro new file mode 100644 index 0000000..a1569dd --- /dev/null +++ b/demo/StreamRtmp/android/app/proguard-rules.pro @@ -0,0 +1,13 @@ +# Add project specific ProGuard rules here. +# By default, the flags in this file are appended to flags specified +# in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt +# You can edit the include path and order by changing the proguardFiles +# directive in build.gradle. +# +# For more details, see +# http://developer.android.com/guide/developing/tools/proguard.html + +# Add any project specific keep options here: + +-keep class com.swmansion.reanimated.** { *; } +-keep class com.facebook.react.turbomodule.** { *; } diff --git a/demo/StreamRtmp/android/app/src/debug/AndroidManifest.xml b/demo/StreamRtmp/android/app/src/debug/AndroidManifest.xml new file mode 100644 index 0000000..ced5aab --- /dev/null +++ b/demo/StreamRtmp/android/app/src/debug/AndroidManifest.xml @@ -0,0 +1,11 @@ + + + + + + + diff --git a/demo/StreamRtmp/android/app/src/main/AndroidManifest.xml b/demo/StreamRtmp/android/app/src/main/AndroidManifest.xml new file mode 100644 index 0000000..6677f68 --- /dev/null +++ b/demo/StreamRtmp/android/app/src/main/AndroidManifest.xml @@ -0,0 +1,25 @@ + + + + + + + + + + + + + diff --git a/demo/StreamRtmp/android/app/src/main/assets/fonts/Roboto-Bold.ttf b/demo/StreamRtmp/android/app/src/main/assets/fonts/Roboto-Bold.ttf new file mode 100644 index 0000000..a355c27 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/assets/fonts/Roboto-Bold.ttf differ diff --git a/demo/StreamRtmp/android/app/src/main/assets/fonts/Roboto-Regular.ttf b/demo/StreamRtmp/android/app/src/main/assets/fonts/Roboto-Regular.ttf new file mode 100755 index 0000000..2b6392f Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/assets/fonts/Roboto-Regular.ttf differ diff --git a/demo/StreamRtmp/android/app/src/main/java/com/saigontechnology/streamrtmp/MainActivity.kt b/demo/StreamRtmp/android/app/src/main/java/com/saigontechnology/streamrtmp/MainActivity.kt new file mode 100644 index 0000000..5c3ca82 --- /dev/null +++ b/demo/StreamRtmp/android/app/src/main/java/com/saigontechnology/streamrtmp/MainActivity.kt @@ -0,0 +1,23 @@ +package com.saigontechnology.streamrtmp + +import com.facebook.react.ReactActivity +import com.facebook.react.ReactActivityDelegate +import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled +import com.facebook.react.defaults.DefaultReactActivityDelegate + +class MainActivity : ReactActivity() { + + /** + * Returns the name of the main component registered from JavaScript. This is used to schedule + * rendering of the component. + */ + + override fun getMainComponentName(): String = "StreamRtmp" + + /** + * Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate] + * which allows you to enable New Architecture with a single boolean flags [fabricEnabled] + */ + override fun createReactActivityDelegate(): ReactActivityDelegate = + DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled) +} diff --git a/demo/StreamRtmp/android/app/src/main/java/com/saigontechnology/streamrtmp/MainApplication.kt b/demo/StreamRtmp/android/app/src/main/java/com/saigontechnology/streamrtmp/MainApplication.kt new file mode 100644 index 0000000..2b3b21f --- /dev/null +++ b/demo/StreamRtmp/android/app/src/main/java/com/saigontechnology/streamrtmp/MainApplication.kt @@ -0,0 +1,48 @@ +package com.saigontechnology.streamrtmp; + +import android.app.Application +import com.facebook.react.PackageList +import com.facebook.react.ReactApplication +import com.facebook.react.ReactHost +import com.facebook.react.ReactNativeHost +import com.facebook.react.ReactPackage +import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.load +import com.facebook.react.defaults.DefaultReactHost.getDefaultReactHost +import com.facebook.react.defaults.DefaultReactNativeHost +import com.facebook.soloader.SoLoader +import com.microsoft.codepush.react.CodePush + +class MainApplication : Application(), ReactApplication { + + override val reactNativeHost: ReactNativeHost = + object : DefaultReactNativeHost(this) { + override fun getPackages(): List = + PackageList(this).packages.apply { + // Packages that cannot be autolinked yet can be added manually here, for example: + // add(MyReactNativePackage()) + } + + override fun getJSMainModuleName(): String = "index" + + override fun getUseDeveloperSupport(): Boolean = BuildConfig.DEBUG + + override fun getJSBundleFile(): String { + return CodePush.getJSBundleFile() + } + + override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED + override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED + } + + override val reactHost: ReactHost + get() = getDefaultReactHost(applicationContext, reactNativeHost) + + override fun onCreate() { + super.onCreate() + SoLoader.init(this, false) + if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) { + // If you opted-in for the New Architecture, we load the native entry point for this app. + load() + } + } +} diff --git a/demo/StreamRtmp/android/app/src/main/res/drawable/rn_edit_text_material.xml b/demo/StreamRtmp/android/app/src/main/res/drawable/rn_edit_text_material.xml new file mode 100644 index 0000000..73b37e4 --- /dev/null +++ b/demo/StreamRtmp/android/app/src/main/res/drawable/rn_edit_text_material.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png new file mode 100644 index 0000000..2b74912 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png new file mode 100644 index 0000000..a4d2db3 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-mdpi/ic_launcher.png new file mode 100644 index 0000000..bd48452 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png new file mode 100644 index 0000000..68e9f6d Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png new file mode 100644 index 0000000..8a06577 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png new file mode 100644 index 0000000..d59707f Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png new file mode 100644 index 0000000..13c33b8 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..a6f60c8 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png new file mode 100644 index 0000000..e8380a8 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/demo/StreamRtmp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png new file mode 100644 index 0000000..f689922 Binary files /dev/null and b/demo/StreamRtmp/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ diff --git a/demo/StreamRtmp/android/app/src/main/res/values/strings.xml b/demo/StreamRtmp/android/app/src/main/res/values/strings.xml new file mode 100644 index 0000000..5a0cb47 --- /dev/null +++ b/demo/StreamRtmp/android/app/src/main/res/values/strings.xml @@ -0,0 +1,4 @@ + + @string/APP_NAME + @string/CODEPUSH_KEY_ANDROID + diff --git a/demo/StreamRtmp/android/app/src/main/res/values/styles.xml b/demo/StreamRtmp/android/app/src/main/res/values/styles.xml new file mode 100644 index 0000000..7ba83a2 --- /dev/null +++ b/demo/StreamRtmp/android/app/src/main/res/values/styles.xml @@ -0,0 +1,9 @@ + + + + + + diff --git a/demo/StreamRtmp/android/build.gradle b/demo/StreamRtmp/android/build.gradle new file mode 100644 index 0000000..7190237 --- /dev/null +++ b/demo/StreamRtmp/android/build.gradle @@ -0,0 +1,23 @@ +// Top-level build file where you can add configuration options common to all sub-projects/modules. + +buildscript { + ext { + buildToolsVersion = "34.0.0" + minSdkVersion = 23 + compileSdkVersion = 34 + targetSdkVersion = 34 + ndkVersion = "26.1.10909125" + kotlinVersion = "1.9.22" + } + repositories { + google() + mavenCentral() + } + dependencies { + classpath("com.android.tools.build:gradle") + classpath("com.facebook.react:react-native-gradle-plugin") + classpath("org.jetbrains.kotlin:kotlin-gradle-plugin") + } +} + +apply plugin: "com.facebook.react.rootproject" diff --git a/demo/StreamRtmp/android/gradle.properties b/demo/StreamRtmp/android/gradle.properties new file mode 100644 index 0000000..715b01a --- /dev/null +++ b/demo/StreamRtmp/android/gradle.properties @@ -0,0 +1,43 @@ +# Project-wide Gradle settings. + +# IDE (e.g. Android Studio) users: +# Gradle settings configured through the IDE *will override* +# any settings specified in this file. + +# For more details on how to configure your build environment visit +# http://www.gradle.org/docs/current/userguide/build_environment.html + +# Specifies the JVM arguments used for the daemon process. +# The setting is particularly useful for tweaking memory settings. +# Default value: -Xmx512m -XX:MaxMetaspaceSize=256m +org.gradle.jvmargs=-Xmx2048m -XX:MaxMetaspaceSize=512m + +# When configured, Gradle will run in incubating parallel mode. +# This option should only be used with decoupled projects. More details, visit +# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects +# org.gradle.parallel=true + +# AndroidX package structure to make it clearer which packages are bundled with the +# Android operating system, and which are packaged with your app's APK +# https://developer.android.com/topic/libraries/support-library/androidx-rn +android.useAndroidX=true +# Automatically convert third-party libraries to use AndroidX +android.enableJetifier=true + +# Use this property to specify which architecture you want to build. +# You can also override it from the CLI using +# ./gradlew -PreactNativeArchitectures=x86_64 +reactNativeArchitectures=armeabi-v7a,arm64-v8a,x86,x86_64 + +# Use this property to enable support to the new architecture. +# This will allow you to use TurboModules and the Fabric render in +# your application. You should enable this flag either if you want +# to write custom TurboModules/Fabric components OR use libraries that +# are providing them. +newArchEnabled=false + +# Use this property to enable or disable the Hermes JS engine. +# If set to false, you will be using JSC instead. +hermesEnabled=true + +VERSION_NAME=1.0.0 diff --git a/demo/StreamRtmp/android/gradle/wrapper/gradle-wrapper.jar b/demo/StreamRtmp/android/gradle/wrapper/gradle-wrapper.jar new file mode 100644 index 0000000..7f93135 Binary files /dev/null and b/demo/StreamRtmp/android/gradle/wrapper/gradle-wrapper.jar differ diff --git a/demo/StreamRtmp/android/gradle/wrapper/gradle-wrapper.properties b/demo/StreamRtmp/android/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..fd36fe6 --- /dev/null +++ b/demo/StreamRtmp/android/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip +networkTimeout=10000 +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists +validateDistributionUrl=true \ No newline at end of file diff --git a/demo/StreamRtmp/android/gradlew b/demo/StreamRtmp/android/gradlew new file mode 100755 index 0000000..fc35242 --- /dev/null +++ b/demo/StreamRtmp/android/gradlew @@ -0,0 +1,249 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} + +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/demo/StreamRtmp/android/gradlew.bat b/demo/StreamRtmp/android/gradlew.bat new file mode 100644 index 0000000..7101f8e --- /dev/null +++ b/demo/StreamRtmp/android/gradlew.bat @@ -0,0 +1,92 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/demo/StreamRtmp/android/link-assets-manifest.json b/demo/StreamRtmp/android/link-assets-manifest.json new file mode 100644 index 0000000..1f17afa --- /dev/null +++ b/demo/StreamRtmp/android/link-assets-manifest.json @@ -0,0 +1,13 @@ +{ + "migIndex": 1, + "data": [ + { + "path": "assets/fonts/Roboto-Bold.ttf", + "sha1": "0a1793926e2ee724cf2ff3fc7adc745348659f82" + }, + { + "path": "assets/fonts/Roboto-Regular.ttf", + "sha1": "096c9245b6a192d1403a82848e104a65f578a8ec" + } + ] +} diff --git a/demo/StreamRtmp/android/settings.gradle b/demo/StreamRtmp/android/settings.gradle new file mode 100644 index 0000000..ea4945f --- /dev/null +++ b/demo/StreamRtmp/android/settings.gradle @@ -0,0 +1,5 @@ +rootProject.name = 'StreamRtmp' +apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) +include ':app', ':react-native-code-push' +includeBuild('../node_modules/@react-native/gradle-plugin') +project(':react-native-code-push').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-code-push/android/app') diff --git a/demo/StreamRtmp/app.json b/demo/StreamRtmp/app.json new file mode 100644 index 0000000..b572516 --- /dev/null +++ b/demo/StreamRtmp/app.json @@ -0,0 +1,4 @@ +{ + "name": "StreamRtmp", + "displayName": "StreamRtmp" +} diff --git a/demo/StreamRtmp/assets/fonts/Roboto-Bold.ttf b/demo/StreamRtmp/assets/fonts/Roboto-Bold.ttf new file mode 100644 index 0000000..a355c27 Binary files /dev/null and b/demo/StreamRtmp/assets/fonts/Roboto-Bold.ttf differ diff --git a/demo/StreamRtmp/assets/fonts/Roboto-Regular.ttf b/demo/StreamRtmp/assets/fonts/Roboto-Regular.ttf new file mode 100755 index 0000000..2b6392f Binary files /dev/null and b/demo/StreamRtmp/assets/fonts/Roboto-Regular.ttf differ diff --git a/demo/StreamRtmp/azure-pipelines.yml b/demo/StreamRtmp/azure-pipelines.yml new file mode 100644 index 0000000..b5706e7 --- /dev/null +++ b/demo/StreamRtmp/azure-pipelines.yml @@ -0,0 +1,57 @@ +# Starter pipeline +# Start with a minimal pipeline that you can customize to build and deploy your code. +# Add steps that build, run tests, deploy, and more: +# https://aka.ms/yaml + +trigger: + - develop + - staging + - master + +pool: + name: 'Mobile Pipeline' + +stages: + - stage: Codepush + condition: eq(variables['Build.SourceBranchName'], 'develop') + jobs: + - job: Codepush + steps: + - script: yarn install + displayName: Install Dependencies + - script: yarn codepush:qa + displayName: Codepush + - stage: Build_Development + condition: and(eq(variables['Build.SourceBranchName'], 'develop'), contains(variables['Build.SourceVersionMessage'], '[BUILD]')) + jobs: + - job: Build + steps: + - script: yarn install + displayName: Install Dependencies + - script: fastlane android build type:build buildNumber:variables['Build.BuildNumber'] --env development + displayName: Build Android + - script: fastlane ios build type:build ci:true buildNumber:variables['Build.BuildNumber'] --env development + displayName: Build iOS + - stage: Build_Staging + condition: eq(variables['Build.SourceBranchName'], 'staging') + jobs: + - job: Build + steps: + - script: yarn install + displayName: Install Dependencies + - script: fastlane android build type:build buildNumber:variables['Build.BuildNumber'] --env staging + displayName: Build Android + - script: fastlane ios build type:build ci:true buildNumber:variables['Build.BuildNumber'] --env staging + displayName: Build iOS + - stage: Build_Production + condition: eq(variables['Build.SourceBranchName'], 'master') + jobs: + - job: Build + steps: + - script: yarn install + displayName: Install Dependencies + - script: fastlane android build type:build buildNumber:variables['Build.BuildNumber'] --env production + displayName: Build Android + - script: fastlane ios build type:build ci:true buildNumber:variables['Build.BuildNumber'] --env production + displayName: Build iOS + diff --git a/demo/StreamRtmp/babel.config.js b/demo/StreamRtmp/babel.config.js new file mode 100644 index 0000000..ceaa45b --- /dev/null +++ b/demo/StreamRtmp/babel.config.js @@ -0,0 +1,6 @@ +module.exports = { + presets: ['module:@react-native/babel-preset'], + plugins: [ + 'react-native-reanimated/plugin', // this has to be list last + ], +} diff --git a/demo/StreamRtmp/bitbucket-pipelines.yml b/demo/StreamRtmp/bitbucket-pipelines.yml new file mode 100644 index 0000000..dcb82c8 --- /dev/null +++ b/demo/StreamRtmp/bitbucket-pipelines.yml @@ -0,0 +1,95 @@ +pipelines: + branches: + develop: + - step: + name: "Build" + deployment: Development + runs-on: + - 'self.hosted' + - 'macos' + condition: + changesets: + includePaths: + - "ios/**" + - "android/**" + - "package.json" + - "*.env.*" + script: + - yarn install + - fastlane android build type:build buildNumber:$BITBUCKET_BUILD_NUMBER --env development + - fastlane ios build type:build ci:true buildNumber:$BITBUCKET_BUILD_NUMBER --env development + - step: + name: "CodePush" + runs-on: + - 'self.hosted' + - 'macos' + deployment: Test + script: + - yarn install + - yarn codepush:qa + staging: + - step: + name: "Build" + deployment: Staging + runs-on: + - 'self.hosted' + - 'macos' + script: + - yarn install + - fastlane android build type:build buildNumber:$BITBUCKET_BUILD_NUMBER --env staging + - fastlane ios build type:build ci:true buildNumber:$BITBUCKET_BUILD_NUMBER --env staging + production: + - step: + name: "Build" + deployment: Production + runs-on: + - 'self.hosted' + - 'macos' + script: + - yarn install + - fastlane android build type:build buildNumber:$BITBUCKET_BUILD_NUMBER --env production + - fastlane ios build type:build ci:true buildNumber:$BITBUCKET_BUILD_NUMBER --env production + custom: + buildDev: + - step: + name: "Build - Dev" + runs-on: + - 'self.hosted' + - 'macos' + deployment: Test + script: + - yarn install + - fastlane android build type:build buildNumber:$BITBUCKET_BUILD_NUMBER --env development + - fastlane ios build type:build ci:true buildNumber:$BITBUCKET_BUILD_NUMBER --env development + codepushDev: + - step: + name: "CodePush - Dev" + runs-on: + - 'self.hosted' + - 'macos' + deployment: Test + script: + - yarn install + - yarn codepush:qa + buildStaging: + - step: + name: "Build - Staging" + runs-on: + - 'self.hosted' + - 'macos' + deployment: Staging + script: + - yarn install + - fastlane android build type:build buildNumber:$BITBUCKET_BUILD_NUMBER --env staging + - fastlane ios build type:build ci:true buildNumber:$BITBUCKET_BUILD_NUMBER --env staging + buildProduction: + - step: + name: "Build - Production" + runs-on: + - 'self.hosted' + - 'macos' + deployment: Production + script: + - yarn install + - fastlane android build type:build buildNumber:$BITBUCKET_BUILD_NUMBER --env production + - fastlane ios build type:build ci:true buildNumber:$BITBUCKET_BUILD_NUMBER --env production diff --git a/demo/StreamRtmp/fastlane/Appfile b/demo/StreamRtmp/fastlane/Appfile new file mode 100644 index 0000000..e344c8b --- /dev/null +++ b/demo/StreamRtmp/fastlane/Appfile @@ -0,0 +1,18 @@ +# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app +# apple_id("[[APPLE_ID]]") # Your Apple Developer Portal username + + +# For more information about the Appfile, see: +# https://docs.fastlane.tools/advanced/#appfile +app_identifier("your_bundle_id") # The bundle identifier of your app +apple_id("#{ENV['APPLE_ID']}") # Your Apple email address + +itc_team_id("your_app_store_connect_id") # App Store Connect Team ID +team_id(ENV["APPLE_TEAM_ID"]) # Developer Portal Team ID + +# For more information about the Appfile, see: +# https://docs.fastlane.tools/advanced/#appfile + +json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one +package_name("com.saigontechnology.streamrtmp") # e.g. com.krausefx.app + diff --git a/demo/StreamRtmp/fastlane/Fastfile b/demo/StreamRtmp/fastlane/Fastfile new file mode 100644 index 0000000..b47bb0e --- /dev/null +++ b/demo/StreamRtmp/fastlane/Fastfile @@ -0,0 +1,193 @@ +# This file contains the fastlane.tools configuration +# You can find the documentation at https://docs.fastlane.tools +# +# For a list of all available actions, check out +# +# https://docs.fastlane.tools/actions +# +# For a list of all available plugins, check out +# +# https://docs.fastlane.tools/plugins/available-plugins +# + +# Uncomment the line if you want fastlane to automatically update itself +# update_fastlane + +require 'dotenv' + +package_json_content = File.read('../package.json') +package_json = JSON.parse(package_json_content) +version = package_json['version'] + +default_platform(:ios) + +owner_name = "STS-ReactNative" # Update this value if you are not work on Saigon Technology Solutions + +teamId = ENV["APPLE_TEAM_ID"] +envs = ['development', 'staging', 'production'] +env = '' + + +my_ios_app = ENV["APPCENTER_APP_NAME_IOS"] +my_android_app = ENV["APPCENTER_APP_NAME_ANDROID"] + + + +platform :ios do + before_all do |lane, options| + env = assert_environment(**options) + end + + desc "Build and upload to TestFlight" + lane :upload do |options| + projectName = ENV["PROJECT_NAME"] + workspace ="./ios/#{projectName}.xcworkspace" + xcodeproj = "./ios/#{projectName}.xcodeproj" + scheme = case env + when "development" + "#{projectName}Dev" + when "staging" + "#{projectName}Stg" + when "production" + projectName + else + raise "Invalid environment: #{env}" + end + increment_version_number(xcodeproj: xcodeproj, version_number: version) + if options[:ci] + increment_build_number(xcodeproj: xcodeproj, build_number: options[:buildNumber]) + cert + sigh( + force: true, + app_identifier: ENV["APP_ID"], + team_id: teamId, + ) + update_code_signing_settings( + use_automatic_signing: false, + team_id: teamId, + bundle_identifier: ENV["APP_ID"], + profile_name: ENV["APP_ID"] + " AppStore", + targets: [projectName], + code_sign_identity: 'Apple Distribution', + path: xcodeproj + ) + # Uncomment the line if your app have OneSignalNotificationServiceExtension + # sigh( + # force: true, + # app_identifier: ENV["APP_ID"] + ".OneSignalNotificationServiceExtension", + # team_id: teamId, + # ) + # update_code_signing_settings( + # use_automatic_signing: false, + # team_id: teamId, + # bundle_identifier: ENV["APP_ID"] + ".OneSignalNotificationServiceExtension", + # profile_name: ENV["APP_ID"] + ".OneSignalNotificationServiceExtension AppStore", + # targets: ["OneSignalNotificationServiceExtension"] + # ) + unlock_keychain( + password: ENV["KEYCHAIN_PASSWORD"] + ) + end + build_app( + workspace: workspace, + scheme: scheme, + clean: true, + xcargs: "-allowProvisioningUpdates", + export_method: "app-store", + export_options: { + uploadBitcode: false, + compileBitcode: false, + provisioningProfiles: { + ENV["APP_ID"] => ENV["APP_ID"] + " AppStore" + } + }) + + upload_to_testflight( + skip_waiting_for_build_processing: true, + app_identifier: ENV["APP_ID"], + changelog: "#{ENV["APPCENTER_RELEASE_NOTE"]}", + itc_provider: teamId + ) + end + + desc "====CODE PUSH====" + lane :codepush do |options| + sh "appcenter codepush release-react --token #{ENV["APPCENTER_TOKEN_IOS"]} -a #{owner_name}/#{my_ios_app} -d #{options[:env]} -t #{version} --mandatory true" + end + + desc "Build or codepush" #type = [codepush, build] + lane :build do |options| + type = options[:type] + if type === 'codepush' + codepush(env:options[:env]) + elsif type === 'build' + upload(env:options[:env], buildNumber: options[:buildNumber], ci: options[:ci]) + else + printf "\nPlease enter type is [codepush, build]\n" + end + end +end + + + +platform :android do + + before_all do |lane, options| + env = assert_environment(**options) + end + + desc "Build file apk and upload to appcenter" + lane :upload do |options| + file = "android/app/build/outputs/apk/#{env}/release/app-#{env}-release.apk" #You can change this path to get file apk + gradle( + task: "assemble", + flavor: "#{env.capitalize}", + build_type: "Release", + properties: { + "VERSION_NAME" => version, + "versionCode" => options[:buildNumber] + }, + project_dir: 'android/' + ) + appcenter_upload( + api_token: ENV["APPCENTER_TOKEN_ANDROID"], + owner_name: owner_name, + app_name: ENV["APPCENTER_APP_NAME_ANDROID"], + app_display_name: ENV["APPCENTER_APP_DISPLAY_NAME"], + app_os: "Android", + file: file, + release_notes: ENV["APPCENTER_RELEASE_NOTE"], + destinations: ENV["APPCENTER_DISTRIBUTE_DESTINATIONS"], + notify_testers: true + ) + end + + desc "====CODE PUSH====" + lane :codepush do |options| + sh "appcenter codepush release-react --token #{ENV["APPCENTER_TOKEN_ANDROID"]} -a #{owner_name}/#{my_android_app} -d #{options[:env]} -t #{version} --mandatory true" + end + + desc "Build or codepush" #type = [codepush, build] + lane :build do |options| + type = options[:type] + if type === 'codepush' + codepush(env: options[:env]) + elsif type === 'build' + upload(env: options[:env], buildNumber: options[:buildNumber]) + else + printf "\nPlease enter type is [codepush, build]\n" + end + end +end + +private_lane :assert_environment do |options| + env = if options[:env] != nil + options[:env].downcase + elsif ENV.key?('APP_ENV') + ENV['APP_ENV'] + else + UI.user_error!('Whoops, missing environment: Use `fastlane --env VALUE` where VALUE can be: ' + envs.inspect) + prompt_for_environment + end + env +end diff --git a/demo/StreamRtmp/fastlane/Pluginfile b/demo/StreamRtmp/fastlane/Pluginfile new file mode 100644 index 0000000..8b9ba8a --- /dev/null +++ b/demo/StreamRtmp/fastlane/Pluginfile @@ -0,0 +1,6 @@ +# Autogenerated by fastlane +# +# Ensure this file is checked in to source control! + +gem 'fastlane-plugin-appcenter' +gem 'fastlane-plugin-google_chat' diff --git a/demo/StreamRtmp/fastlane/README.md b/demo/StreamRtmp/fastlane/README.md new file mode 100644 index 0000000..990ef82 --- /dev/null +++ b/demo/StreamRtmp/fastlane/README.md @@ -0,0 +1,77 @@ +fastlane documentation +---- + +# Installation + +Make sure you have the latest version of the Xcode command line tools installed: + +```sh +xcode-select --install +``` + +For _fastlane_ installation instructions, see [Installing _fastlane_](https://docs.fastlane.tools/#installing-fastlane) + +# Available Actions + +## iOS + +### ios upload + +```sh +[bundle exec] fastlane ios upload +``` + +Build and upload to TestFlight + +### ios codepush + +```sh +[bundle exec] fastlane ios codepush +``` + +====CODE PUSH==== + +### ios build + +```sh +[bundle exec] fastlane ios build +``` + +Build or codepush + +---- + + +## Android + +### android upload + +```sh +[bundle exec] fastlane android upload +``` + +Build file apk and upload to appcenter + +### android codepush + +```sh +[bundle exec] fastlane android codepush +``` + +====CODE PUSH==== + +### android build + +```sh +[bundle exec] fastlane android build +``` + +Build or codepush + +---- + +This README.md is auto-generated and will be re-generated every time [_fastlane_](https://fastlane.tools) is run. + +More information about _fastlane_ can be found on [fastlane.tools](https://fastlane.tools). + +The documentation of _fastlane_ can be found on [docs.fastlane.tools](https://docs.fastlane.tools). diff --git a/demo/StreamRtmp/generators/component/index.js.hbs b/demo/StreamRtmp/generators/component/index.js.hbs new file mode 100644 index 0000000..5bb8a7d --- /dev/null +++ b/demo/StreamRtmp/generators/component/index.js.hbs @@ -0,0 +1,23 @@ +import React, {ReactElement} from 'react' +import {StyleSheet, View, ViewStyle, StyleProp} from 'react-native' + +interface IProps { + children: ReactElement | null + style?: StyleProp +} + +const {{properCase name}} = ({children, style, ...rest}: IProps) => { + return ( + + {children} + + ) +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + }, +}) + +export default {{properCase name}} diff --git a/demo/StreamRtmp/generators/module/Module.index.js.hbs b/demo/StreamRtmp/generators/module/Module.index.js.hbs new file mode 100644 index 0000000..f7bdce7 --- /dev/null +++ b/demo/StreamRtmp/generators/module/Module.index.js.hbs @@ -0,0 +1 @@ +export * from './{{properCase name}}Screen' diff --git a/demo/StreamRtmp/generators/module/Module.view.js.hbs b/demo/StreamRtmp/generators/module/Module.view.js.hbs new file mode 100644 index 0000000..86632b4 --- /dev/null +++ b/demo/StreamRtmp/generators/module/Module.view.js.hbs @@ -0,0 +1,14 @@ +import {NativeStackScreenProps} from '@react-navigation/native-stack' +import React from 'react' +import {ScreenContainer} from '../../components' +import RouteKey from '../../navigation/RouteKey' +import {AppStackParamList} from '../../navigation/types' + +type Props = NativeStackScreenProps + +const {{properCase name}}Screen: React.FC = props => { + const {navigation, route} = props + return } /> +} + +export default {{properCase name}}Screen diff --git a/demo/StreamRtmp/generators/redux/constants.js.hbs b/demo/StreamRtmp/generators/redux/constants.js.hbs new file mode 100644 index 0000000..68bd89a --- /dev/null +++ b/demo/StreamRtmp/generators/redux/constants.js.hbs @@ -0,0 +1,8 @@ +import {actionTypes} from '../actionTypes' +import {IActionTypes} from '../types' + +const {{constantCase name}}_ACTIONS: IActionTypes = actionTypes('{{constantCase name}}_ACTIONS') + +export const {{constantCase name}}_CONSTANTS_ACTIONS = { + {{constantCase name}}_ACTIONS, +} diff --git a/demo/StreamRtmp/generators/redux/interface.js.hbs b/demo/StreamRtmp/generators/redux/interface.js.hbs new file mode 100644 index 0000000..a25ec7c --- /dev/null +++ b/demo/StreamRtmp/generators/redux/interface.js.hbs @@ -0,0 +1,12 @@ +import {IActionDispatch} from './action' + +export interface I{{properCase name}} { + [key: string]: any +} + +export interface I{{properCase name}}Actions { + {{camelCase name}}Handle: IActionDispatch + {{camelCase name}}Success: IActionDispatch + {{camelCase name}}Failure: IActionDispatch + getAction: IActionDispatch +} diff --git a/demo/StreamRtmp/generators/redux/reducer.js.hbs b/demo/StreamRtmp/generators/redux/reducer.js.hbs new file mode 100644 index 0000000..db925d4 --- /dev/null +++ b/demo/StreamRtmp/generators/redux/reducer.js.hbs @@ -0,0 +1,21 @@ +import {PayloadAction, createSlice} from '@reduxjs/toolkit' +import { {{constantCase name}}_CONSTANTS_ACTIONS } from '../constants/{{camelCase name}}' +import {I{{properCase name}} } from '../types/{{camelCase name}}' + +export const initialState: I{{properCase name}} = {} + +export const {{camelCase name}}Slice = createSlice({ + name: '{{camelCase name}}', + initialState, + reducers: { + [{{constantCase name}}_CONSTANTS_ACTIONS.{{constantCase name}}_ACTIONS.HANDLER]: (state, action: PayloadAction): void => {}, + [{{constantCase name}}_CONSTANTS_ACTIONS.{{constantCase name}}_ACTIONS.SUCCESS]: (state, action: PayloadAction): void => {}, + [{{constantCase name}}_CONSTANTS_ACTIONS.{{constantCase name}}_ACTIONS.FAILURE]: (state, action: PayloadAction): void => {}, + getAction: (state, action: PayloadAction): void => {} + }, + extraReducers: builder => {}, +}) + +export const {{camelCase name}}Actions = {{camelCase name}}Slice.actions + +export default {{camelCase name}}Slice.reducer diff --git a/demo/StreamRtmp/generators/redux/saga.js.hbs b/demo/StreamRtmp/generators/redux/saga.js.hbs new file mode 100644 index 0000000..4bf54f9 --- /dev/null +++ b/demo/StreamRtmp/generators/redux/saga.js.hbs @@ -0,0 +1,19 @@ +import {AnyAction} from 'redux' +import {takeLatest, call, put} from 'redux-saga/effects' +import {appActions, {{camelCase name}}Actions} from '../reducers' +import {Toast} from '../../components' + +function* {{camelCase name}}Saga(action: any): IterableIterator { + try { + yield put(appActions.setShowGlobalIndicator(true)) + // TODO: + } catch (e) { + if (e instanceof Error) { + Toast.error(e.message) + } + } finally { + yield put(appActions.setShowGlobalIndicator(false)) + } +} + +export default [takeLatest({{camelCase name}}Actions.getAction.type, {{camelCase name}}Saga)] diff --git a/demo/StreamRtmp/generators/redux/selectors.js.hbs b/demo/StreamRtmp/generators/redux/selectors.js.hbs new file mode 100644 index 0000000..5723cfa --- /dev/null +++ b/demo/StreamRtmp/generators/redux/selectors.js.hbs @@ -0,0 +1,5 @@ +import {I{{properCase name}}, IInitialState} from '../types' + +const get{{properCase name}}Data = (state: IInitialState): I{{properCase name}} => state.{{camelCase name}} + +export const get{{properCase name}}StateData = (state: IInitialState): I{{properCase name}} => get{{properCase name}}Data(state).data \ No newline at end of file diff --git a/demo/StreamRtmp/index.js b/demo/StreamRtmp/index.js new file mode 100644 index 0000000..e64f4e7 --- /dev/null +++ b/demo/StreamRtmp/index.js @@ -0,0 +1,10 @@ +/** + * @format + */ +import 'intl-pluralrules' +import 'react-native-gesture-handler' +import {AppRegistry} from 'react-native' +import App from './App' +import {name as appName} from './app.json' + +AppRegistry.registerComponent(appName, () => App) diff --git a/demo/StreamRtmp/ios/.xcode.env b/demo/StreamRtmp/ios/.xcode.env new file mode 100644 index 0000000..3d5782c --- /dev/null +++ b/demo/StreamRtmp/ios/.xcode.env @@ -0,0 +1,11 @@ +# This `.xcode.env` file is versioned and is used to source the environment +# used when running script phases inside Xcode. +# To customize your local environment, you can create an `.xcode.env.local` +# file that is not versioned. + +# NODE_BINARY variable contains the PATH to the node executable. +# +# Customize the NODE_BINARY variable here. +# For example, to use nvm with brew, add the following line +# . "$(brew --prefix nvm)/nvm.sh" --no-use +export NODE_BINARY=$(command -v node) diff --git a/demo/StreamRtmp/ios/Podfile b/demo/StreamRtmp/ios/Podfile new file mode 100644 index 0000000..09c5193 --- /dev/null +++ b/demo/StreamRtmp/ios/Podfile @@ -0,0 +1,48 @@ +# Resolve react_native_pods.rb with node to allow for hoisting +require Pod::Executable.execute_command('node', ['-p', + 'require.resolve( + "react-native/scripts/react_native_pods.rb", + {paths: [process.argv[1]]}, + )', __dir__]).strip + +platform :ios, min_ios_version_supported +prepare_react_native_project! + +linkage = ENV['USE_FRAMEWORKS'] +if linkage != nil + Pod::UI.puts "Configuring Pod with #{linkage}ally linked Frameworks".green + use_frameworks! :linkage => linkage.to_sym +end + +target 'StreamRtmp' do + config = use_native_modules! + + use_react_native!( + :path => config[:reactNativePath], + # An absolute path to your application root. + :app_path => "#{Pod::Config.instance.installation_root}/.." + ) + + target 'StreamRtmpTests' do + inherit! :complete + # Pods for testing + end + + post_install do |installer| + # https://github.com/facebook/react-native/blob/main/packages/react-native/scripts/react_native_pods.rb#L197-L202 + react_native_post_install( + installer, + config[:reactNativePath], + :mac_catalyst_enabled => false, + # :ccache_enabled => true + ) + installer.pods_project.targets.each do |target| + target.build_configurations.each do |config| + # NOTE: Change IPHONEOS_DEPLOYMENT_TARGET to 12.4 + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4' + # NOTE: Add `arm64` to EXCLUDED_ARCHS in Pods + config.build_settings["EXCLUDED_ARCHS[sdk=iphonesimulator*]"] = "arm64" + end + end + end +end diff --git a/demo/StreamRtmp/ios/Podfile.lock b/demo/StreamRtmp/ios/Podfile.lock new file mode 100644 index 0000000..d157d31 --- /dev/null +++ b/demo/StreamRtmp/ios/Podfile.lock @@ -0,0 +1,1632 @@ +PODS: + - ApiVideoLiveStream (1.4.4): + - HaishinKit (= 1.9.3) + - Base64 (1.1.2) + - boost (1.83.0) + - CodePush (8.3.1): + - Base64 (~> 1.1) + - JWT (~> 3.0.0-beta.12) + - React-Core + - SSZipArchive (~> 2.2.2) + - DoubleConversion (1.1.6) + - FBLazyVector (0.74.5) + - fmt (9.1.0) + - glog (0.3.5) + - HaishinKit (1.9.3): + - Logboard (~> 2.5.0) + - hermes-engine (0.74.5): + - hermes-engine/Pre-built (= 0.74.5) + - hermes-engine/Pre-built (0.74.5) + - JWT (3.0.0-beta.14): + - Base64 (~> 1.1.2) + - Logboard (2.5.0) + - RCT-Folly (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Default (= 2024.01.01.00) + - RCT-Folly/Default (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (2024.01.01.00): + - boost + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCTDeprecation (0.74.5) + - RCTRequired (0.74.5) + - RCTTypeSafety (0.74.5): + - FBLazyVector (= 0.74.5) + - RCTRequired (= 0.74.5) + - React-Core (= 0.74.5) + - React (0.74.5): + - React-Core (= 0.74.5) + - React-Core/DevSupport (= 0.74.5) + - React-Core/RCTWebSocket (= 0.74.5) + - React-RCTActionSheet (= 0.74.5) + - React-RCTAnimation (= 0.74.5) + - React-RCTBlob (= 0.74.5) + - React-RCTImage (= 0.74.5) + - React-RCTLinking (= 0.74.5) + - React-RCTNetwork (= 0.74.5) + - React-RCTSettings (= 0.74.5) + - React-RCTText (= 0.74.5) + - React-RCTVibration (= 0.74.5) + - React-callinvoker (0.74.5) + - React-Codegen (0.74.5): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly + - RCTRequired + - RCTTypeSafety + - React-Core + - React-debug + - React-Fabric + - React-FabricImage + - React-featureflags + - React-graphics + - React-jsi + - React-jsiexecutor + - React-NativeModulesApple + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - React-Core (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.5) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/CoreModulesHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/Default (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/DevSupport (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.5) + - React-Core/RCTWebSocket (= 0.74.5) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTActionSheetHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTAnimationHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTBlobHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTImageHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTLinkingHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTNetworkHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTSettingsHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTTextHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTVibrationHeaders (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-Core/RCTWebSocket (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTDeprecation + - React-Core/Default (= 0.74.5) + - React-cxxreact + - React-featureflags + - React-hermes + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-perflogger + - React-runtimescheduler + - React-utils + - SocketRocket (= 0.7.0) + - Yoga + - React-CoreModules (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety (= 0.74.5) + - React-Codegen + - React-Core/CoreModulesHeaders (= 0.74.5) + - React-jsi (= 0.74.5) + - React-jsinspector + - React-NativeModulesApple + - React-RCTBlob + - React-RCTImage (= 0.74.5) + - ReactCommon + - SocketRocket (= 0.7.0) + - React-cxxreact (0.74.5): + - boost (= 1.83.0) + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.5) + - React-debug (= 0.74.5) + - React-jsi (= 0.74.5) + - React-jsinspector + - React-logger (= 0.74.5) + - React-perflogger (= 0.74.5) + - React-runtimeexecutor (= 0.74.5) + - React-debug (0.74.5) + - React-Fabric (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/animations (= 0.74.5) + - React-Fabric/attributedstring (= 0.74.5) + - React-Fabric/componentregistry (= 0.74.5) + - React-Fabric/componentregistrynative (= 0.74.5) + - React-Fabric/components (= 0.74.5) + - React-Fabric/core (= 0.74.5) + - React-Fabric/imagemanager (= 0.74.5) + - React-Fabric/leakchecker (= 0.74.5) + - React-Fabric/mounting (= 0.74.5) + - React-Fabric/scheduler (= 0.74.5) + - React-Fabric/telemetry (= 0.74.5) + - React-Fabric/templateprocessor (= 0.74.5) + - React-Fabric/textlayoutmanager (= 0.74.5) + - React-Fabric/uimanager (= 0.74.5) + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/animations (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/attributedstring (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/componentregistry (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/componentregistrynative (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/components/inputaccessory (= 0.74.5) + - React-Fabric/components/legacyviewmanagerinterop (= 0.74.5) + - React-Fabric/components/modal (= 0.74.5) + - React-Fabric/components/rncore (= 0.74.5) + - React-Fabric/components/root (= 0.74.5) + - React-Fabric/components/safeareaview (= 0.74.5) + - React-Fabric/components/scrollview (= 0.74.5) + - React-Fabric/components/text (= 0.74.5) + - React-Fabric/components/textinput (= 0.74.5) + - React-Fabric/components/unimplementedview (= 0.74.5) + - React-Fabric/components/view (= 0.74.5) + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/inputaccessory (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/legacyviewmanagerinterop (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/modal (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/rncore (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/root (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/safeareaview (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/scrollview (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/text (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/textinput (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/unimplementedview (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/components/view (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - Yoga + - React-Fabric/core (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/imagemanager (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/leakchecker (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/mounting (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/scheduler (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/telemetry (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/templateprocessor (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/textlayoutmanager (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-Fabric/uimanager + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-Fabric/uimanager (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Core + - React-cxxreact + - React-debug + - React-graphics + - React-jsi + - React-jsiexecutor + - React-logger + - React-rendererdebug + - React-runtimescheduler + - React-utils + - ReactCommon/turbomodule/core + - React-FabricImage (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - RCTRequired (= 0.74.5) + - RCTTypeSafety (= 0.74.5) + - React-Fabric + - React-graphics + - React-ImageManager + - React-jsi + - React-jsiexecutor (= 0.74.5) + - React-logger + - React-rendererdebug + - React-utils + - ReactCommon + - Yoga + - React-featureflags (0.74.5) + - React-graphics (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-Core/Default (= 0.74.5) + - React-utils + - React-hermes (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-cxxreact (= 0.74.5) + - React-jsi + - React-jsiexecutor (= 0.74.5) + - React-jsinspector + - React-perflogger (= 0.74.5) + - React-runtimeexecutor + - React-ImageManager (0.74.5): + - glog + - RCT-Folly/Fabric + - React-Core/Default + - React-debug + - React-Fabric + - React-graphics + - React-rendererdebug + - React-utils + - React-jserrorhandler (0.74.5): + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-debug + - React-jsi + - React-Mapbuffer + - React-jsi (0.74.5): + - boost (= 1.83.0) + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-jsiexecutor (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-cxxreact (= 0.74.5) + - React-jsi (= 0.74.5) + - React-jsinspector + - React-perflogger (= 0.74.5) + - React-jsinspector (0.74.5): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-featureflags + - React-jsi + - React-runtimeexecutor (= 0.74.5) + - React-jsitracing (0.74.5): + - React-jsi + - React-logger (0.74.5): + - glog + - React-Mapbuffer (0.74.5): + - glog + - React-debug + - react-native-config (1.5.3): + - react-native-config/App (= 1.5.3) + - react-native-config/App (1.5.3): + - React-Core + - react-native-livestream (2.0.1): + - ApiVideoLiveStream (= 1.4.4) + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - Yoga + - react-native-safe-area-context (4.14.0): + - React-Core + - React-nativeconfig (0.74.5) + - React-NativeModulesApple (0.74.5): + - glog + - hermes-engine + - React-callinvoker + - React-Core + - React-cxxreact + - React-jsi + - React-jsinspector + - React-runtimeexecutor + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - React-perflogger (0.74.5) + - React-RCTActionSheet (0.74.5): + - React-Core/RCTActionSheetHeaders (= 0.74.5) + - React-RCTAnimation (0.74.5): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTAnimationHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTAppDelegate (0.74.5): + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-CoreModules + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-hermes + - React-nativeconfig + - React-NativeModulesApple + - React-RCTFabric + - React-RCTImage + - React-RCTNetwork + - React-rendererdebug + - React-RuntimeApple + - React-RuntimeCore + - React-RuntimeHermes + - React-runtimescheduler + - React-utils + - ReactCommon + - React-RCTBlob (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-Codegen + - React-Core/RCTBlobHeaders + - React-Core/RCTWebSocket + - React-jsi + - React-jsinspector + - React-NativeModulesApple + - React-RCTNetwork + - ReactCommon + - React-RCTFabric (0.74.5): + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-Core + - React-debug + - React-Fabric + - React-FabricImage + - React-featureflags + - React-graphics + - React-ImageManager + - React-jsi + - React-jsinspector + - React-nativeconfig + - React-RCTImage + - React-RCTText + - React-rendererdebug + - React-runtimescheduler + - React-utils + - Yoga + - React-RCTImage (0.74.5): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTImageHeaders + - React-jsi + - React-NativeModulesApple + - React-RCTNetwork + - ReactCommon + - React-RCTLinking (0.74.5): + - React-Codegen + - React-Core/RCTLinkingHeaders (= 0.74.5) + - React-jsi (= 0.74.5) + - React-NativeModulesApple + - ReactCommon + - ReactCommon/turbomodule/core (= 0.74.5) + - React-RCTNetwork (0.74.5): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTNetworkHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTSettings (0.74.5): + - RCT-Folly (= 2024.01.01.00) + - RCTTypeSafety + - React-Codegen + - React-Core/RCTSettingsHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-RCTText (0.74.5): + - React-Core/RCTTextHeaders (= 0.74.5) + - Yoga + - React-RCTVibration (0.74.5): + - RCT-Folly (= 2024.01.01.00) + - React-Codegen + - React-Core/RCTVibrationHeaders + - React-jsi + - React-NativeModulesApple + - ReactCommon + - React-rendererdebug (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - RCT-Folly (= 2024.01.01.00) + - React-debug + - React-rncore (0.74.5) + - React-RuntimeApple (0.74.5): + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-callinvoker + - React-Core/Default + - React-CoreModules + - React-cxxreact + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-Mapbuffer + - React-NativeModulesApple + - React-RCTFabric + - React-RuntimeCore + - React-runtimeexecutor + - React-RuntimeHermes + - React-utils + - React-RuntimeCore (0.74.5): + - glog + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-cxxreact + - React-featureflags + - React-jserrorhandler + - React-jsi + - React-jsiexecutor + - React-jsinspector + - React-runtimeexecutor + - React-runtimescheduler + - React-utils + - React-runtimeexecutor (0.74.5): + - React-jsi (= 0.74.5) + - React-RuntimeHermes (0.74.5): + - hermes-engine + - RCT-Folly/Fabric (= 2024.01.01.00) + - React-featureflags + - React-hermes + - React-jsi + - React-jsinspector + - React-jsitracing + - React-nativeconfig + - React-RuntimeCore + - React-utils + - React-runtimescheduler (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker + - React-cxxreact + - React-debug + - React-featureflags + - React-jsi + - React-rendererdebug + - React-runtimeexecutor + - React-utils + - React-utils (0.74.5): + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-debug + - React-jsi (= 0.74.5) + - ReactCommon (0.74.5): + - ReactCommon/turbomodule (= 0.74.5) + - ReactCommon/turbomodule (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.5) + - React-cxxreact (= 0.74.5) + - React-jsi (= 0.74.5) + - React-logger (= 0.74.5) + - React-perflogger (= 0.74.5) + - ReactCommon/turbomodule/bridging (= 0.74.5) + - ReactCommon/turbomodule/core (= 0.74.5) + - ReactCommon/turbomodule/bridging (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.5) + - React-cxxreact (= 0.74.5) + - React-jsi (= 0.74.5) + - React-logger (= 0.74.5) + - React-perflogger (= 0.74.5) + - ReactCommon/turbomodule/core (0.74.5): + - DoubleConversion + - fmt (= 9.1.0) + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - React-callinvoker (= 0.74.5) + - React-cxxreact (= 0.74.5) + - React-debug (= 0.74.5) + - React-jsi (= 0.74.5) + - React-logger (= 0.74.5) + - React-perflogger (= 0.74.5) + - React-utils (= 0.74.5) + - RNCAsyncStorage (1.24.0): + - React-Core + - RNDeviceInfo (11.1.0): + - React-Core + - RNGestureHandler (2.20.2): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - Yoga + - RNReanimated (3.16.1): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - RNReanimated/reanimated (= 3.16.1) + - RNReanimated/worklets (= 3.16.1) + - Yoga + - RNReanimated/reanimated (3.16.1): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - RNReanimated/reanimated/apple (= 3.16.1) + - Yoga + - RNReanimated/reanimated/apple (3.16.1): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - Yoga + - RNReanimated/worklets (3.16.1): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - Yoga + - RNScreens (3.35.0): + - DoubleConversion + - glog + - hermes-engine + - RCT-Folly (= 2024.01.01.00) + - RCTRequired + - RCTTypeSafety + - React-Codegen + - React-Core + - React-debug + - React-Fabric + - React-featureflags + - React-graphics + - React-ImageManager + - React-NativeModulesApple + - React-RCTFabric + - React-RCTImage + - React-rendererdebug + - React-utils + - ReactCommon/turbomodule/bridging + - ReactCommon/turbomodule/core + - Yoga + - RNSVG (13.14.1): + - React-Core + - SocketRocket (0.7.0) + - SSZipArchive (2.2.3) + - Yoga (0.0.0) + +DEPENDENCIES: + - boost (from `../node_modules/react-native/third-party-podspecs/boost.podspec`) + - CodePush (from `../node_modules/react-native-code-push`) + - DoubleConversion (from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`) + - FBLazyVector (from `../node_modules/react-native/Libraries/FBLazyVector`) + - fmt (from `../node_modules/react-native/third-party-podspecs/fmt.podspec`) + - glog (from `../node_modules/react-native/third-party-podspecs/glog.podspec`) + - hermes-engine (from `../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec`) + - RCT-Folly (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) + - RCT-Folly/Fabric (from `../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec`) + - RCTDeprecation (from `../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation`) + - RCTRequired (from `../node_modules/react-native/Libraries/Required`) + - RCTTypeSafety (from `../node_modules/react-native/Libraries/TypeSafety`) + - React (from `../node_modules/react-native/`) + - React-callinvoker (from `../node_modules/react-native/ReactCommon/callinvoker`) + - React-Codegen (from `build/generated/ios`) + - React-Core (from `../node_modules/react-native/`) + - React-Core/RCTWebSocket (from `../node_modules/react-native/`) + - React-CoreModules (from `../node_modules/react-native/React/CoreModules`) + - React-cxxreact (from `../node_modules/react-native/ReactCommon/cxxreact`) + - React-debug (from `../node_modules/react-native/ReactCommon/react/debug`) + - React-Fabric (from `../node_modules/react-native/ReactCommon`) + - React-FabricImage (from `../node_modules/react-native/ReactCommon`) + - React-featureflags (from `../node_modules/react-native/ReactCommon/react/featureflags`) + - React-graphics (from `../node_modules/react-native/ReactCommon/react/renderer/graphics`) + - React-hermes (from `../node_modules/react-native/ReactCommon/hermes`) + - React-ImageManager (from `../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios`) + - React-jserrorhandler (from `../node_modules/react-native/ReactCommon/jserrorhandler`) + - React-jsi (from `../node_modules/react-native/ReactCommon/jsi`) + - React-jsiexecutor (from `../node_modules/react-native/ReactCommon/jsiexecutor`) + - React-jsinspector (from `../node_modules/react-native/ReactCommon/jsinspector-modern`) + - React-jsitracing (from `../node_modules/react-native/ReactCommon/hermes/executor/`) + - React-logger (from `../node_modules/react-native/ReactCommon/logger`) + - React-Mapbuffer (from `../node_modules/react-native/ReactCommon`) + - react-native-config (from `../node_modules/react-native-config`) + - "react-native-livestream (from `../node_modules/@api.video/react-native-livestream`)" + - react-native-safe-area-context (from `../node_modules/react-native-safe-area-context`) + - React-nativeconfig (from `../node_modules/react-native/ReactCommon`) + - React-NativeModulesApple (from `../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios`) + - React-perflogger (from `../node_modules/react-native/ReactCommon/reactperflogger`) + - React-RCTActionSheet (from `../node_modules/react-native/Libraries/ActionSheetIOS`) + - React-RCTAnimation (from `../node_modules/react-native/Libraries/NativeAnimation`) + - React-RCTAppDelegate (from `../node_modules/react-native/Libraries/AppDelegate`) + - React-RCTBlob (from `../node_modules/react-native/Libraries/Blob`) + - React-RCTFabric (from `../node_modules/react-native/React`) + - React-RCTImage (from `../node_modules/react-native/Libraries/Image`) + - React-RCTLinking (from `../node_modules/react-native/Libraries/LinkingIOS`) + - React-RCTNetwork (from `../node_modules/react-native/Libraries/Network`) + - React-RCTSettings (from `../node_modules/react-native/Libraries/Settings`) + - React-RCTText (from `../node_modules/react-native/Libraries/Text`) + - React-RCTVibration (from `../node_modules/react-native/Libraries/Vibration`) + - React-rendererdebug (from `../node_modules/react-native/ReactCommon/react/renderer/debug`) + - React-rncore (from `../node_modules/react-native/ReactCommon`) + - React-RuntimeApple (from `../node_modules/react-native/ReactCommon/react/runtime/platform/ios`) + - React-RuntimeCore (from `../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`) + - React-RuntimeHermes (from `../node_modules/react-native/ReactCommon/react/runtime`) + - React-runtimescheduler (from `../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler`) + - React-utils (from `../node_modules/react-native/ReactCommon/react/utils`) + - ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`) + - "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)" + - RNDeviceInfo (from `../node_modules/react-native-device-info`) + - RNGestureHandler (from `../node_modules/react-native-gesture-handler`) + - RNReanimated (from `../node_modules/react-native-reanimated`) + - RNScreens (from `../node_modules/react-native-screens`) + - RNSVG (from `../node_modules/react-native-svg`) + - Yoga (from `../node_modules/react-native/ReactCommon/yoga`) + +SPEC REPOS: + trunk: + - ApiVideoLiveStream + - Base64 + - HaishinKit + - JWT + - Logboard + - SocketRocket + - SSZipArchive + +EXTERNAL SOURCES: + boost: + :podspec: "../node_modules/react-native/third-party-podspecs/boost.podspec" + CodePush: + :path: "../node_modules/react-native-code-push" + DoubleConversion: + :podspec: "../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec" + FBLazyVector: + :path: "../node_modules/react-native/Libraries/FBLazyVector" + fmt: + :podspec: "../node_modules/react-native/third-party-podspecs/fmt.podspec" + glog: + :podspec: "../node_modules/react-native/third-party-podspecs/glog.podspec" + hermes-engine: + :podspec: "../node_modules/react-native/sdks/hermes-engine/hermes-engine.podspec" + :tag: hermes-2024-06-28-RNv0.74.3-7bda0c267e76d11b68a585f84cfdd65000babf85 + RCT-Folly: + :podspec: "../node_modules/react-native/third-party-podspecs/RCT-Folly.podspec" + RCTDeprecation: + :path: "../node_modules/react-native/ReactApple/Libraries/RCTFoundation/RCTDeprecation" + RCTRequired: + :path: "../node_modules/react-native/Libraries/Required" + RCTTypeSafety: + :path: "../node_modules/react-native/Libraries/TypeSafety" + React: + :path: "../node_modules/react-native/" + React-callinvoker: + :path: "../node_modules/react-native/ReactCommon/callinvoker" + React-Codegen: + :path: build/generated/ios + React-Core: + :path: "../node_modules/react-native/" + React-CoreModules: + :path: "../node_modules/react-native/React/CoreModules" + React-cxxreact: + :path: "../node_modules/react-native/ReactCommon/cxxreact" + React-debug: + :path: "../node_modules/react-native/ReactCommon/react/debug" + React-Fabric: + :path: "../node_modules/react-native/ReactCommon" + React-FabricImage: + :path: "../node_modules/react-native/ReactCommon" + React-featureflags: + :path: "../node_modules/react-native/ReactCommon/react/featureflags" + React-graphics: + :path: "../node_modules/react-native/ReactCommon/react/renderer/graphics" + React-hermes: + :path: "../node_modules/react-native/ReactCommon/hermes" + React-ImageManager: + :path: "../node_modules/react-native/ReactCommon/react/renderer/imagemanager/platform/ios" + React-jserrorhandler: + :path: "../node_modules/react-native/ReactCommon/jserrorhandler" + React-jsi: + :path: "../node_modules/react-native/ReactCommon/jsi" + React-jsiexecutor: + :path: "../node_modules/react-native/ReactCommon/jsiexecutor" + React-jsinspector: + :path: "../node_modules/react-native/ReactCommon/jsinspector-modern" + React-jsitracing: + :path: "../node_modules/react-native/ReactCommon/hermes/executor/" + React-logger: + :path: "../node_modules/react-native/ReactCommon/logger" + React-Mapbuffer: + :path: "../node_modules/react-native/ReactCommon" + react-native-config: + :path: "../node_modules/react-native-config" + react-native-livestream: + :path: "../node_modules/@api.video/react-native-livestream" + react-native-safe-area-context: + :path: "../node_modules/react-native-safe-area-context" + React-nativeconfig: + :path: "../node_modules/react-native/ReactCommon" + React-NativeModulesApple: + :path: "../node_modules/react-native/ReactCommon/react/nativemodule/core/platform/ios" + React-perflogger: + :path: "../node_modules/react-native/ReactCommon/reactperflogger" + React-RCTActionSheet: + :path: "../node_modules/react-native/Libraries/ActionSheetIOS" + React-RCTAnimation: + :path: "../node_modules/react-native/Libraries/NativeAnimation" + React-RCTAppDelegate: + :path: "../node_modules/react-native/Libraries/AppDelegate" + React-RCTBlob: + :path: "../node_modules/react-native/Libraries/Blob" + React-RCTFabric: + :path: "../node_modules/react-native/React" + React-RCTImage: + :path: "../node_modules/react-native/Libraries/Image" + React-RCTLinking: + :path: "../node_modules/react-native/Libraries/LinkingIOS" + React-RCTNetwork: + :path: "../node_modules/react-native/Libraries/Network" + React-RCTSettings: + :path: "../node_modules/react-native/Libraries/Settings" + React-RCTText: + :path: "../node_modules/react-native/Libraries/Text" + React-RCTVibration: + :path: "../node_modules/react-native/Libraries/Vibration" + React-rendererdebug: + :path: "../node_modules/react-native/ReactCommon/react/renderer/debug" + React-rncore: + :path: "../node_modules/react-native/ReactCommon" + React-RuntimeApple: + :path: "../node_modules/react-native/ReactCommon/react/runtime/platform/ios" + React-RuntimeCore: + :path: "../node_modules/react-native/ReactCommon/react/runtime" + React-runtimeexecutor: + :path: "../node_modules/react-native/ReactCommon/runtimeexecutor" + React-RuntimeHermes: + :path: "../node_modules/react-native/ReactCommon/react/runtime" + React-runtimescheduler: + :path: "../node_modules/react-native/ReactCommon/react/renderer/runtimescheduler" + React-utils: + :path: "../node_modules/react-native/ReactCommon/react/utils" + ReactCommon: + :path: "../node_modules/react-native/ReactCommon" + RNCAsyncStorage: + :path: "../node_modules/@react-native-async-storage/async-storage" + RNDeviceInfo: + :path: "../node_modules/react-native-device-info" + RNGestureHandler: + :path: "../node_modules/react-native-gesture-handler" + RNReanimated: + :path: "../node_modules/react-native-reanimated" + RNScreens: + :path: "../node_modules/react-native-screens" + RNSVG: + :path: "../node_modules/react-native-svg" + Yoga: + :path: "../node_modules/react-native/ReactCommon/yoga" + +SPEC CHECKSUMS: + ApiVideoLiveStream: 5595ebc9b65e6a3a90cbe2f7d5a2e749293649d9 + Base64: cecfb41a004124895a7bcee567a89bae5a89d49b + boost: d3f49c53809116a5d38da093a8aa78bf551aed09 + CodePush: d892f13c5012e9e2cb36640f4929654b7be21fe5 + DoubleConversion: 76ab83afb40bddeeee456813d9c04f67f78771b5 + FBLazyVector: ac12dc084d1c8ec4cc4d7b3cf1b0ebda6dab85af + fmt: 4c2741a687cc09f0634a2e2c72a838b99f1ff120 + glog: fdfdfe5479092de0c4bdbebedd9056951f092c4f + HaishinKit: 14d2b1913144ec0dc0b6a8d8ddc75684b4852670 + hermes-engine: 8c1577f3fdb849cbe7729c2e7b5abc4b845e88f8 + JWT: ef71dfb03e1f842081e64dc42eef0e164f35d251 + Logboard: 4674a3d86681539a0ad1fca528d888b90871e268 + RCT-Folly: 02617c592a293bd6d418e0a88ff4ee1f88329b47 + RCTDeprecation: 3afceddffa65aee666dafd6f0116f1d975db1584 + RCTRequired: ec1239bc9d8bf63e10fb92bd8b26171a9258e0c1 + RCTTypeSafety: f5ecbc86c5c5fa163c05acb7a1c5012e15b5f994 + React: fc9fa7258eff606f44d58c5b233a82dc9cf09018 + React-callinvoker: e3fab14d69607fb7e8e3a57e5a415aed863d3599 + React-Codegen: 6fa87b7c6b8efcd0cef4bfeaec8c8bc8a6abe75a + React-Core: 3a5fd9e781cecf87803e5b091496a606a3df774a + React-CoreModules: cbf4707dafab8f9f826ac0c63a07d0bf5d01e256 + React-cxxreact: 7b188556271e3c7fdf22a04819f6a6225045b9dd + React-debug: d30893c49ae1bce4037ea5cd8bb2511d2a38d057 + React-Fabric: 826729dd2304fda9b89ff0a579f60ba2a470bc26 + React-FabricImage: 2ad1fb8ffa5778eda9ed204a7b3cdd70bc333ce7 + React-featureflags: 4ae83e72d9a92452793601ac9ac7d2280e486089 + React-graphics: 61a026e1c1e7e20d20ac9fec6f6de631732b233d + React-hermes: a7054fbcbda3957e3c5eaad06ef9bf79998d535a + React-ImageManager: 2bbd6eb2e696bc680f76f84563e4b87d241614e1 + React-jserrorhandler: 56fa04d49bfbe54ddfece7916673a73ebfea286b + React-jsi: f3ce1dd2e950b6ad12b65ea3ef89168f1b94c584 + React-jsiexecutor: b4df3a27973d82f9abf3c4bd0f88e042cda25f16 + React-jsinspector: 97ea746c023687de7313ee289817d6991d596c7d + React-jsitracing: 3b6060bbf5317663667e1dd93560c7943ab86ccc + React-logger: 257858bd55f3a4e1bc0cf07ddc8fb9faba6f8c7c + React-Mapbuffer: 6c1cacdbf40b531f549eba249e531a7d0bfd8e7f + react-native-config: 8f7283449bbb048902f4e764affbbf24504454af + react-native-livestream: dc6707ceded2bd462e01ec2502fcbd7320523406 + react-native-safe-area-context: 4532f1a0c5d34a46b9324ccaaedcb5582a302b7d + React-nativeconfig: ba9a2e54e2f0882cf7882698825052793ed4c851 + React-NativeModulesApple: 8d11ff8955181540585c944cf48e9e7236952697 + React-perflogger: ed4e0c65781521e0424f2e5e40b40cc7879d737e + React-RCTActionSheet: 49d53ff03bb5688ca4606c55859053a0cd129ea5 + React-RCTAnimation: 07b4923885c52c397c4ec103924bf6e53b42c73e + React-RCTAppDelegate: 316e295076734baf9bdf1bfac7d92ab647aed930 + React-RCTBlob: 85c57b0d5e667ff8a472163ba3af0628171a64bb + React-RCTFabric: 97c1465ded4dc92841f5376a39e43e1b2c455f40 + React-RCTImage: b965c85bec820e2a9c154b1fb00a2ecdd59a9c92 + React-RCTLinking: 75f04a5f27c26c4e73a39c50df470820d219df79 + React-RCTNetwork: c1a9143f4d5778efc92da40d83969d03912ccc24 + React-RCTSettings: c6800f91c0ecd48868cd5db754b0b0a7f5ffe039 + React-RCTText: b923e24f9b7250bc4f7ab154c4168ad9f8d8fc9d + React-RCTVibration: 08c4f0c917c435b3619386c25a94ee5d64c250f0 + React-rendererdebug: 3cda04217d9df67b94397ee0ead8ef3d8b7e427b + React-rncore: 4013508a2f3fcf46c961919bbbd4bfdda198977e + React-RuntimeApple: 447844a2bdb0a03ffd24e5b4a4b96cfc50325b88 + React-RuntimeCore: 9b5bffdaccee9b707b1c2694c9044e13ff0bb087 + React-runtimeexecutor: 0e688aefc14c6bc8601f4968d8d01c3fb6446844 + React-RuntimeHermes: 4d6ef6bb0f2b0b40d59143317f6b99c82764c959 + React-runtimescheduler: cfbe85c3510c541ec6dc815c7729b41304b67961 + React-utils: f242eb7e7889419d979ca0e1c02ccc0ea6e43b29 + ReactCommon: f7da14a8827b72704169a48c929bcde802698361 + RNCAsyncStorage: ec53e44dc3e75b44aa2a9f37618a49c3bc080a7a + RNDeviceInfo: b899ce37a403a4dea52b7cb85e16e49c04a5b88e + RNGestureHandler: a8e61b93b4c5c44e6cd797cdaba43126ec36acaa + RNReanimated: af4e059a8fd0fb7a9cdf5ad35ead4699598a9447 + RNScreens: 6b641f232990a9d505a6d139fd18c3c759c9d290 + RNSVG: af3907ac5d4fa26a862b75a16d8f15bc74f2ceda + SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d + SSZipArchive: 62d4947b08730e4cda640473b0066d209ff033c9 + Yoga: 2246eea72aaf1b816a68a35e6e4b74563653ae09 + +PODFILE CHECKSUM: 044c3a14ba6bbe0b0382e382f45abf7535fb78ed + +COCOAPODS: 1.15.2 diff --git a/demo/StreamRtmp/ios/PrivacyInfo.xcprivacy b/demo/StreamRtmp/ios/PrivacyInfo.xcprivacy new file mode 100644 index 0000000..73661ec --- /dev/null +++ b/demo/StreamRtmp/ios/PrivacyInfo.xcprivacy @@ -0,0 +1,45 @@ + + + + + NSPrivacyAccessedAPITypes + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryFileTimestamp + NSPrivacyAccessedAPITypeReasons + + C617.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategorySystemBootTime + NSPrivacyAccessedAPITypeReasons + + 35F9.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryUserDefaults + NSPrivacyAccessedAPITypeReasons + + CA92.1 + + + + NSPrivacyAccessedAPIType + NSPrivacyAccessedAPICategoryDiskSpace + NSPrivacyAccessedAPITypeReasons + + 85F4.1 + + + + NSPrivacyCollectedDataTypes + + NSPrivacyTracking + + + diff --git a/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/project.pbxproj b/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/project.pbxproj new file mode 100644 index 0000000..2ecba57 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/project.pbxproj @@ -0,0 +1,904 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 54; + objects = { + +/* Begin PBXBuildFile section */ + 00E356F31AD99517003FC87E /* StreamRtmpTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* StreamRtmpTests.m */; }; + 0C80B921A6F3F58F76C31292 /* libPods-StreamRtmp.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-StreamRtmp.a */; }; + 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; }; + 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; + 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; + 5CACBE0B62061C8D8198FE45 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 6C5486C771B5E446C03FC48B /* PrivacyInfo.xcprivacy */; }; + 7699B88040F8A987B510C191 /* libPods-StreamRtmp-StreamRtmpTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-StreamRtmp-StreamRtmpTests.a */; }; + 7A918DD15519414F8A739C94 /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 30449FC663A5455C95C3D125 /* Roboto-Bold.ttf */; }; + 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; }; + E73B457908D945A7B8BE5117 /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 432BCAE70F15400C9B031458 /* Roboto-Regular.ttf */; }; + F3CE1FC22C69D1CE00D0EF3D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = F3CE1FC12C69D1CE00D0EF3D /* PrivacyInfo.xcprivacy */; }; +/* End PBXBuildFile section */ + +/* Begin PBXContainerItemProxy section */ + 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 13B07F861A680F5B00A75B9A; + remoteInfo = StreamRtmp; + }; +/* End PBXContainerItemProxy section */ + +/* Begin PBXFileReference section */ + 00E356EE1AD99517003FC87E /* StreamRtmpTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = StreamRtmpTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 00E356F21AD99517003FC87E /* StreamRtmpTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = StreamRtmpTests.m; sourceTree = ""; }; + 09CFA7A7BA9DE3ADB7BF65BC /* Pods-StreamRtmp.staging.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StreamRtmp.staging.xcconfig"; path = "Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp.staging.xcconfig"; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* BaseDev.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BaseDev.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = StreamRtmp/AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = StreamRtmp/AppDelegate.mm; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = StreamRtmp/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = StreamRtmp/Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = StreamRtmp/main.m; sourceTree = ""; }; + 19F6CBCC0A4E27FBF8BF4A61 /* libPods-StreamRtmp-StreamRtmpTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-StreamRtmp-StreamRtmpTests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 30449FC663A5455C95C3D125 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = ""; }; + 3B4392A12AC88292D35C810B /* Pods-StreamRtmp.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StreamRtmp.debug.xcconfig"; path = "Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp.debug.xcconfig"; sourceTree = ""; }; + 432BCAE70F15400C9B031458 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = ""; }; + 5709B34CF0A7D63546082F79 /* Pods-StreamRtmp.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StreamRtmp.release.xcconfig"; path = "Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp.release.xcconfig"; sourceTree = ""; }; + 5B7EB9410499542E8C5724F5 /* Pods-StreamRtmp-StreamRtmpTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StreamRtmp-StreamRtmpTests.debug.xcconfig"; path = "Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests.debug.xcconfig"; sourceTree = ""; }; + 5DCACB8F33CDC322A6C60F78 /* libPods-StreamRtmp.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-StreamRtmp.a"; sourceTree = BUILT_PRODUCTS_DIR; }; + 6C5486C771B5E446C03FC48B /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = StreamRtmp/PrivacyInfo.xcprivacy; sourceTree = ""; }; + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = StreamRtmp/LaunchScreen.storyboard; sourceTree = ""; }; + 89C6BE57DB24E9ADA2F236DE /* Pods-StreamRtmp-StreamRtmpTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StreamRtmp-StreamRtmpTests.release.xcconfig"; path = "Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests.release.xcconfig"; sourceTree = ""; }; + 923DE59BCE31E92CA78D4CC5 /* Pods-StreamRtmp-StreamRtmpTests.staging.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-StreamRtmp-StreamRtmpTests.staging.xcconfig"; path = "Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests.staging.xcconfig"; sourceTree = ""; }; + ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; + F3CE1FC12C69D1CE00D0EF3D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = ""; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 00E356EB1AD99517003FC87E /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 7699B88040F8A987B510C191 /* libPods-StreamRtmp-StreamRtmpTests.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 0C80B921A6F3F58F76C31292 /* libPods-StreamRtmp.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 00E356EF1AD99517003FC87E /* StreamRtmpTests */ = { + isa = PBXGroup; + children = ( + 00E356F21AD99517003FC87E /* StreamRtmpTests.m */, + 00E356F01AD99517003FC87E /* Supporting Files */, + ); + path = StreamRtmpTests; + sourceTree = ""; + }; + 00E356F01AD99517003FC87E /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 00E356F11AD99517003FC87E /* Info.plist */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; + 13B07FAE1A68108700A75B9A /* StreamRtmp */ = { + isa = PBXGroup; + children = ( + F3CE1FC12C69D1CE00D0EF3D /* PrivacyInfo.xcprivacy */, + 13B07FAF1A68108700A75B9A /* AppDelegate.h */, + 13B07FB01A68108700A75B9A /* AppDelegate.mm */, + 13B07FB51A68108700A75B9A /* Images.xcassets */, + 13B07FB61A68108700A75B9A /* Info.plist */, + 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */, + 13B07FB71A68108700A75B9A /* main.m */, + 6C5486C771B5E446C03FC48B /* PrivacyInfo.xcprivacy */, + ); + name = StreamRtmp; + sourceTree = ""; + }; + 19C0DDE729064D0FB0E4CCEC /* Resources */ = { + isa = PBXGroup; + children = ( + 30449FC663A5455C95C3D125 /* Roboto-Bold.ttf */, + 432BCAE70F15400C9B031458 /* Roboto-Regular.ttf */, + ); + name = Resources; + sourceTree = ""; + }; + 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { + isa = PBXGroup; + children = ( + ED297162215061F000B7C4FE /* JavaScriptCore.framework */, + 5DCACB8F33CDC322A6C60F78 /* libPods-StreamRtmp.a */, + 19F6CBCC0A4E27FBF8BF4A61 /* libPods-StreamRtmp-StreamRtmpTests.a */, + ); + name = Frameworks; + sourceTree = ""; + }; + 832341AE1AAA6A7D00B99B32 /* Libraries */ = { + isa = PBXGroup; + children = ( + ); + name = Libraries; + sourceTree = ""; + }; + 83CBB9F61A601CBA00E9B192 = { + isa = PBXGroup; + children = ( + 13B07FAE1A68108700A75B9A /* StreamRtmp */, + 832341AE1AAA6A7D00B99B32 /* Libraries */, + 00E356EF1AD99517003FC87E /* StreamRtmpTests */, + 83CBBA001A601CBA00E9B192 /* Products */, + 2D16E6871FA4F8E400B85C8A /* Frameworks */, + BBD78D7AC51CEA395F1C20DB /* Pods */, + 19C0DDE729064D0FB0E4CCEC /* Resources */, + ); + indentWidth = 2; + sourceTree = ""; + tabWidth = 2; + usesTabs = 0; + }; + 83CBBA001A601CBA00E9B192 /* Products */ = { + isa = PBXGroup; + children = ( + 13B07F961A680F5B00A75B9A /* BaseDev.app */, + 00E356EE1AD99517003FC87E /* StreamRtmpTests.xctest */, + ); + name = Products; + sourceTree = ""; + }; + BBD78D7AC51CEA395F1C20DB /* Pods */ = { + isa = PBXGroup; + children = ( + 3B4392A12AC88292D35C810B /* Pods-StreamRtmp.debug.xcconfig */, + 5709B34CF0A7D63546082F79 /* Pods-StreamRtmp.release.xcconfig */, + 5B7EB9410499542E8C5724F5 /* Pods-StreamRtmp-StreamRtmpTests.debug.xcconfig */, + 89C6BE57DB24E9ADA2F236DE /* Pods-StreamRtmp-StreamRtmpTests.release.xcconfig */, + 09CFA7A7BA9DE3ADB7BF65BC /* Pods-StreamRtmp.staging.xcconfig */, + 923DE59BCE31E92CA78D4CC5 /* Pods-StreamRtmp-StreamRtmpTests.staging.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 00E356ED1AD99517003FC87E /* StreamRtmpTests */ = { + isa = PBXNativeTarget; + buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "StreamRtmpTests" */; + buildPhases = ( + A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */, + 00E356EA1AD99517003FC87E /* Sources */, + 00E356EB1AD99517003FC87E /* Frameworks */, + 00E356EC1AD99517003FC87E /* Resources */, + C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */, + F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + 00E356F51AD99517003FC87E /* PBXTargetDependency */, + ); + name = StreamRtmpTests; + productName = StreamRtmpTests; + productReference = 00E356EE1AD99517003FC87E /* StreamRtmpTests.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + 13B07F861A680F5B00A75B9A /* StreamRtmp */ = { + isa = PBXNativeTarget; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "StreamRtmp" */; + buildPhases = ( + C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */, + FD10A7F022414F080027D42C /* Start Packager */, + 13B07F871A680F5B00A75B9A /* Sources */, + 13B07F8C1A680F5B00A75B9A /* Frameworks */, + 13B07F8E1A680F5B00A75B9A /* Resources */, + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, + 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */, + E235C05ADACE081382539298 /* [CP] Copy Pods Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = StreamRtmp; + productName = StreamRtmp; + productReference = 13B07F961A680F5B00A75B9A /* BaseDev.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 83CBB9F71A601CBA00E9B192 /* Project object */ = { + isa = PBXProject; + attributes = { + BuildIndependentTargetsInParallel = NO; + LastUpgradeCheck = 1210; + TargetAttributes = { + 00E356ED1AD99517003FC87E = { + CreatedOnToolsVersion = 6.2; + TestTargetID = 13B07F861A680F5B00A75B9A; + }; + 13B07F861A680F5B00A75B9A = { + LastSwiftMigration = 1120; + }; + }; + }; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "StreamRtmp" */; + compatibilityVersion = "Xcode 12.0"; + developmentRegion = en; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 83CBB9F61A601CBA00E9B192; + productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 13B07F861A680F5B00A75B9A /* StreamRtmp */, + 00E356ED1AD99517003FC87E /* StreamRtmpTests */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 00E356EC1AD99517003FC87E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 13B07F8E1A680F5B00A75B9A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */, + 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, + 7A918DD15519414F8A739C94 /* Roboto-Bold.ttf in Resources */, + F3CE1FC22C69D1CE00D0EF3D /* PrivacyInfo.xcprivacy in Resources */, + E73B457908D945A7B8BE5117 /* Roboto-Regular.ttf in Resources */, + 5CACBE0B62061C8D8198FE45 /* PrivacyInfo.xcprivacy in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXShellScriptBuildPhase section */ + 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputPaths = ( + "$(SRCROOT)/.xcode.env.local", + "$(SRCROOT)/.xcode.env", + ); + name = "Bundle React Native code and images"; + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "set -e\n\nWITH_ENVIRONMENT=\"../node_modules/react-native/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"../node_modules/react-native/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n"; + }; + 00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-StreamRtmp-StreamRtmpTests-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-StreamRtmp-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; + C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-StreamRtmp/Pods-StreamRtmp-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests-resources-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Copy Pods Resources"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests-resources-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-StreamRtmp-StreamRtmpTests/Pods-StreamRtmp-StreamRtmpTests-resources.sh\"\n"; + showEnvVarsInLog = 0; + }; + FD10A7F022414F080027D42C /* Start Packager */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + ); + name = "Start Packager"; + outputFileListPaths = ( + ); + outputPaths = ( + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "export RCT_METRO_PORT=\"${RCT_METRO_PORT:=8081}\"\necho \"export RCT_METRO_PORT=${RCT_METRO_PORT}\" > \"${SRCROOT}/../node_modules/react-native/scripts/.packager.env\"\nif [ -z \"${RCT_NO_LAUNCH_PACKAGER+xxx}\" ] ; then\n if nc -w 5 -z localhost ${RCT_METRO_PORT} ; then\n if ! curl -s \"http://localhost:${RCT_METRO_PORT}/status\" | grep -q \"packager-status:running\" ; then\n echo \"Port ${RCT_METRO_PORT} already in use, packager is either not running or not running correctly\"\n exit 2\n fi\n else\n open \"$SRCROOT/../node_modules/react-native/scripts/launchPackager.command\" || echo \"Can't start packager automatically\"\n fi\nfi\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 00E356EA1AD99517003FC87E /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 00E356F31AD99517003FC87E /* StreamRtmpTests.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + 13B07F871A680F5B00A75B9A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */, + 13B07FC11A68108700A75B9A /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin PBXTargetDependency section */ + 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 13B07F861A680F5B00A75B9A /* StreamRtmp */; + targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + +/* Begin XCBuildConfiguration section */ + 00E356F61AD99517003FC87E /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-StreamRtmp-StreamRtmpTests.debug.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = StreamRtmpTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + "$(inherited)", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.saigontechnology.streamrtmp.development; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StreamRtmp.app/StreamRtmp"; + }; + name = Debug; + }; + 00E356F71AD99517003FC87E /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-StreamRtmp-StreamRtmpTests.release.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + COPY_PHASE_STRIP = NO; + INFOPLIST_FILE = StreamRtmpTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + "$(inherited)", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.saigontechnology.streamrtmp; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StreamRtmp.app/StreamRtmp"; + }; + name = Release; + }; + 13B07F941A680F5B00A75B9A /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-StreamRtmp.debug.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = 9Z47DHG9UV; + ENABLE_BITCODE = NO; + EXCLUDED_ARCHS = ""; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; + INFOPLIST_FILE = StreamRtmp/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.saigontechnology.streamrtmp.development; + PRODUCT_NAME = "Base$(BUNDLE_ID_SUFFIX)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + 13B07F951A680F5B00A75B9A /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-StreamRtmp.release.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + EXCLUDED_ARCHS = ""; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; + INFOPLIST_FILE = StreamRtmp/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.saigontechnology.streamrtmp; + PRODUCT_NAME = "Base$(BUNDLE_ID_SUFFIX)"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + 8202C031298A25C4006361FF /* Staging */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + BUNDLE_ID_SUFFIX = Stg; + CC = ""; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CXX = ""; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + EXCLUDED_ARCHS = arm64; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; + LD = ""; + LDPLUSPLUS = ""; + LD_RUNPATH_SEARCH_PATHS = ( + /usr/lib/swift, + "$(inherited)", + ); + LIBRARY_SEARCH_PATHS = ( + "\"$(SDKROOT)/usr/lib/swift\"", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = NO; + OTHER_CFLAGS = "$(inherited)"; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + ); + OTHER_LDFLAGS = "$(inherited)"; + PRODUCT_NAME = ""; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + USE_HERMES = true; + }; + name = Staging; + }; + 8202C032298A25C4006361FF /* Staging */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 09CFA7A7BA9DE3ADB7BF65BC /* Pods-StreamRtmp.staging.xcconfig */; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + CLANG_ENABLE_MODULES = YES; + CURRENT_PROJECT_VERSION = 1; + ENABLE_BITCODE = NO; + EXCLUDED_ARCHS = ""; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64; + INFOPLIST_FILE = StreamRtmp/Info.plist; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); + MARKETING_VERSION = 1.0.0; + OTHER_LDFLAGS = ( + "$(inherited)", + "-ObjC", + "-lc++", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.saigontechnology.streamrtmp.staging; + PRODUCT_NAME = "Base$(BUNDLE_ID_SUFFIX)"; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Staging; + }; + 8202C033298A25C4006361FF /* Staging */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 923DE59BCE31E92CA78D4CC5 /* Pods-StreamRtmp-StreamRtmpTests.staging.xcconfig */; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + INFOPLIST_FILE = StreamRtmpTests/Info.plist; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + "$(inherited)", + ); + PRODUCT_BUNDLE_IDENTIFIER = com.saigontechnology.streamrtmp.staging; + PRODUCT_NAME = "$(TARGET_NAME)"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/StreamRtmp.app/StreamRtmp"; + }; + name = Staging; + }; + 83CBBA201A601CBA00E9B192 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + BUNDLE_ID_SUFFIX = Dev; + CC = ""; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + CXX = ""; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + EXCLUDED_ARCHS = arm64; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION, + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; + LD = ""; + LDPLUSPLUS = ""; + LD_RUNPATH_SEARCH_PATHS = ( + /usr/lib/swift, + "$(inherited)", + ); + LIBRARY_SEARCH_PATHS = ( + "\"$(SDKROOT)/usr/lib/swift\"", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = NO; + OTHER_CFLAGS = "$(inherited)"; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + ); + OTHER_LDFLAGS = "$(inherited)"; + PRODUCT_NAME = ""; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + USE_HERMES = true; + }; + name = Debug; + }; + 83CBBA211A601CBA00E9B192 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + BUNDLE_ID_SUFFIX = ""; + CC = ""; + CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; + CLANG_CXX_LANGUAGE_STANDARD = "c++20"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = YES; + CXX = ""; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + EXCLUDED_ARCHS = arm64; + "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = i386; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "$(inherited)", + _LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION, + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 12.4; + LD = ""; + LDPLUSPLUS = ""; + LD_RUNPATH_SEARCH_PATHS = ( + /usr/lib/swift, + "$(inherited)", + ); + LIBRARY_SEARCH_PATHS = ( + "\"$(SDKROOT)/usr/lib/swift\"", + "\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"", + "\"$(inherited)\"", + ); + MTL_ENABLE_DEBUG_INFO = NO; + OTHER_CFLAGS = "$(inherited)"; + OTHER_CPLUSPLUSFLAGS = ( + "$(OTHER_CFLAGS)", + "-DFOLLY_NO_CONFIG", + "-DFOLLY_MOBILE=1", + "-DFOLLY_USE_LIBCPP=1", + ); + OTHER_LDFLAGS = "$(inherited)"; + REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native"; + SDKROOT = iphoneos; + USE_HERMES = true; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "StreamRtmpTests" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 00E356F61AD99517003FC87E /* Debug */, + 8202C033298A25C4006361FF /* Staging */, + 00E356F71AD99517003FC87E /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "StreamRtmp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 13B07F941A680F5B00A75B9A /* Debug */, + 8202C032298A25C4006361FF /* Staging */, + 13B07F951A680F5B00A75B9A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "StreamRtmp" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 83CBBA201A601CBA00E9B192 /* Debug */, + 8202C031298A25C4006361FF /* Staging */, + 83CBBA211A601CBA00E9B192 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; +} diff --git a/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmp.xcscheme b/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmp.xcscheme new file mode 100644 index 0000000..822212e --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmp.xcscheme @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmpDev.xcscheme b/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmpDev.xcscheme new file mode 100644 index 0000000..9bd2e93 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmpDev.xcscheme @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmpStg.xcscheme b/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmpStg.xcscheme new file mode 100644 index 0000000..bb42fd0 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp.xcodeproj/xcshareddata/xcschemes/StreamRtmpStg.xcscheme @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/contents.xcworkspacedata b/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000..3443d18 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist new file mode 100644 index 0000000..18d9810 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist @@ -0,0 +1,8 @@ + + + + + IDEDidComputeMac32BitWarning + + + diff --git a/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/xcuserdata/ho-locnguyent.xcuserdatad/UserInterfaceState.xcuserstate b/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/xcuserdata/ho-locnguyent.xcuserdatad/UserInterfaceState.xcuserstate new file mode 100644 index 0000000..0dec463 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp.xcworkspace/xcuserdata/ho-locnguyent.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/AppDelegate.h b/demo/StreamRtmp/ios/StreamRtmp/AppDelegate.h new file mode 100644 index 0000000..5d28082 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/AppDelegate.h @@ -0,0 +1,6 @@ +#import +#import + +@interface AppDelegate : RCTAppDelegate + +@end diff --git a/demo/StreamRtmp/ios/StreamRtmp/AppDelegate.mm b/demo/StreamRtmp/ios/StreamRtmp/AppDelegate.mm new file mode 100644 index 0000000..3e93636 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/AppDelegate.mm @@ -0,0 +1,32 @@ +#import "AppDelegate.h" +#import + +#import + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.moduleName = @"StreamRtmp"; + // You can add your custom initial props in the dictionary below. + // They will be passed down to the ViewController used by React Native. + self.initialProps = @{}; + + return [super application:application didFinishLaunchingWithOptions:launchOptions]; +} + +- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge +{ + return [self bundleURL]; +} + +- (NSURL *)bundleURL +{ +#if DEBUG + return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"]; +#else + return [CodePush bundleURL]; +#endif +} + +@end diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/100.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/100.png new file mode 100644 index 0000000..ae39bf8 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/100.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/102.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/102.png new file mode 100644 index 0000000..89b6e62 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/102.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/1024.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/1024.png new file mode 100644 index 0000000..646f7fb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/1024.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/114.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/114.png new file mode 100644 index 0000000..cb16ee8 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/114.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/120.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/120.png new file mode 100644 index 0000000..2dc4c36 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/120.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/128.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/128.png new file mode 100644 index 0000000..05f36cf Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/128.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/144.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/144.png new file mode 100644 index 0000000..09ed336 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/144.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/152.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/152.png new file mode 100644 index 0000000..5085ff4 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/152.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/16.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/16.png new file mode 100644 index 0000000..202da60 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/16.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/167.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/167.png new file mode 100644 index 0000000..9ec6ed0 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/167.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/172.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/172.png new file mode 100644 index 0000000..f8b04e6 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/172.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/180.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/180.png new file mode 100644 index 0000000..25d4f8d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/180.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/196.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/196.png new file mode 100644 index 0000000..879accb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/196.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/20.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/20.png new file mode 100644 index 0000000..7e05cb5 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/20.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/216.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/216.png new file mode 100644 index 0000000..1d819f5 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/216.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/256.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/256.png new file mode 100644 index 0000000..8022d7a Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/256.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/29.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/29.png new file mode 100644 index 0000000..2bc4c79 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/29.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/32.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/32.png new file mode 100644 index 0000000..dcb237b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/32.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/40.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/40.png new file mode 100644 index 0000000..bbed30d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/40.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/48.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/48.png new file mode 100644 index 0000000..2b42084 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/48.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/50.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/50.png new file mode 100644 index 0000000..d6c9ee2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/50.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/512.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/512.png new file mode 100644 index 0000000..ffc05c2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/512.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/55.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/55.png new file mode 100644 index 0000000..7782c37 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/55.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/57.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/57.png new file mode 100644 index 0000000..aaf7d3c Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/57.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/58.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/58.png new file mode 100644 index 0000000..6b3cd4b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/58.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/60.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/60.png new file mode 100644 index 0000000..405551c Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/60.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/64.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/64.png new file mode 100644 index 0000000..4e4296d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/64.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/66.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/66.png new file mode 100644 index 0000000..f38c8bf Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/66.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/72.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/72.png new file mode 100644 index 0000000..b723bde Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/72.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/76.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/76.png new file mode 100644 index 0000000..01caecb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/76.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/80.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/80.png new file mode 100644 index 0000000..fe0f09b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/80.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/87.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/87.png new file mode 100644 index 0000000..5f40cbe Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/87.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/88.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/88.png new file mode 100644 index 0000000..79ed912 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/88.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/92.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/92.png new file mode 100644 index 0000000..c8e3bb2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/92.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/Contents.json b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/Contents.json new file mode 100644 index 0000000..3b4d8f9 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIcon.appiconset/Contents.json @@ -0,0 +1,354 @@ +{ + "images": [ + { + "filename": "40.png", + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "60.png", + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "filename": "29.png", + "idiom": "iphone", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "58.png", + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "87.png", + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "80.png", + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "120.png", + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "filename": "57.png", + "idiom": "iphone", + "scale": "1x", + "size": "57x57" + }, + { + "filename": "114.png", + "idiom": "iphone", + "scale": "2x", + "size": "57x57" + }, + { + "filename": "120.png", + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "180.png", + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "20.png", + "idiom": "ipad", + "scale": "1x", + "size": "20x20" + }, + { + "filename": "40.png", + "idiom": "ipad", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "29.png", + "idiom": "ipad", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "58.png", + "idiom": "ipad", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "40.png", + "idiom": "ipad", + "scale": "1x", + "size": "40x40" + }, + { + "filename": "80.png", + "idiom": "ipad", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "50.png", + "idiom": "ipad", + "scale": "1x", + "size": "50x50" + }, + { + "filename": "100.png", + "idiom": "ipad", + "scale": "2x", + "size": "50x50" + }, + { + "filename": "72.png", + "idiom": "ipad", + "scale": "1x", + "size": "72x72" + }, + { + "filename": "144.png", + "idiom": "ipad", + "scale": "2x", + "size": "72x72" + }, + { + "filename": "76.png", + "idiom": "ipad", + "scale": "1x", + "size": "76x76" + }, + { + "filename": "152.png", + "idiom": "ipad", + "scale": "2x", + "size": "76x76" + }, + { + "filename": "167.png", + "idiom": "ipad", + "scale": "2x", + "size": "83.5x83.5" + }, + { + "filename": "1024.png", + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + }, + { + "filename": "16.png", + "idiom": "mac", + "scale": "1x", + "size": "16x16" + }, + { + "filename": "32.png", + "idiom": "mac", + "scale": "2x", + "size": "16x16" + }, + { + "filename": "32.png", + "idiom": "mac", + "scale": "1x", + "size": "32x32" + }, + { + "filename": "64.png", + "idiom": "mac", + "scale": "2x", + "size": "32x32" + }, + { + "filename": "128.png", + "idiom": "mac", + "scale": "1x", + "size": "128x128" + }, + { + "filename": "256.png", + "idiom": "mac", + "scale": "2x", + "size": "128x128" + }, + { + "filename": "256.png", + "idiom": "mac", + "scale": "1x", + "size": "256x256" + }, + { + "filename": "512.png", + "idiom": "mac", + "scale": "2x", + "size": "256x256" + }, + { + "filename": "512.png", + "idiom": "mac", + "scale": "1x", + "size": "512x512" + }, + { + "filename": "1024.png", + "idiom": "mac", + "scale": "2x", + "size": "512x512" + }, + { + "filename": "48.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "24x24", + "subtype": "38mm" + }, + { + "filename": "55.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "27.5x27.5", + "subtype": "42mm" + }, + { + "filename": "58.png", + "idiom": "watch", + "role": "companionSettings", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "87.png", + "idiom": "watch", + "role": "companionSettings", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "66.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "33x33", + "subtype": "45mm" + }, + { + "filename": "80.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "40x40", + "subtype": "38mm" + }, + { + "filename": "88.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "44x44", + "subtype": "40mm" + }, + { + "filename": "92.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "46x46", + "subtype": "41mm" + }, + { + "filename": "100.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "50x50", + "subtype": "44mm" + }, + { + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "51x51", + "subtype": "45mm" + }, + { + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "54x54", + "subtype": "49mm" + }, + { + "filename": "172.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "86x86", + "subtype": "38mm" + }, + { + "filename": "196.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "98x98", + "subtype": "42mm" + }, + { + "filename": "216.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "108x108", + "subtype": "44mm" + }, + { + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "117x117", + "subtype": "45mm" + }, + { + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "129x129", + "subtype": "49mm" + }, + { + "filename": "1024.png", + "idiom": "watch-marketing", + "scale": "1x", + "size": "1024x1024" + }, + { + "filename": "102.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "45x45", + "subtype": "41mm" + } + ], + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/100.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/100.png new file mode 100644 index 0000000..ae39bf8 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/100.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/102.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/102.png new file mode 100644 index 0000000..89b6e62 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/102.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/1024.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/1024.png new file mode 100644 index 0000000..646f7fb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/1024.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/114.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/114.png new file mode 100644 index 0000000..cb16ee8 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/114.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/120.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/120.png new file mode 100644 index 0000000..2dc4c36 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/120.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/128.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/128.png new file mode 100644 index 0000000..05f36cf Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/128.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/144.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/144.png new file mode 100644 index 0000000..09ed336 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/144.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/152.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/152.png new file mode 100644 index 0000000..5085ff4 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/152.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/16.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/16.png new file mode 100644 index 0000000..202da60 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/16.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/167.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/167.png new file mode 100644 index 0000000..9ec6ed0 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/167.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/172.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/172.png new file mode 100644 index 0000000..f8b04e6 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/172.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/180.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/180.png new file mode 100644 index 0000000..25d4f8d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/180.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/196.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/196.png new file mode 100644 index 0000000..879accb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/196.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/20.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/20.png new file mode 100644 index 0000000..7e05cb5 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/20.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/216.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/216.png new file mode 100644 index 0000000..1d819f5 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/216.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/256.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/256.png new file mode 100644 index 0000000..8022d7a Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/256.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/29.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/29.png new file mode 100644 index 0000000..2bc4c79 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/29.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/32.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/32.png new file mode 100644 index 0000000..dcb237b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/32.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/40.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/40.png new file mode 100644 index 0000000..bbed30d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/40.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/48.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/48.png new file mode 100644 index 0000000..2b42084 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/48.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/50.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/50.png new file mode 100644 index 0000000..d6c9ee2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/50.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/512.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/512.png new file mode 100644 index 0000000..ffc05c2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/512.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/55.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/55.png new file mode 100644 index 0000000..7782c37 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/55.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/57.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/57.png new file mode 100644 index 0000000..aaf7d3c Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/57.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/58.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/58.png new file mode 100644 index 0000000..6b3cd4b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/58.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/60.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/60.png new file mode 100644 index 0000000..405551c Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/60.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/64.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/64.png new file mode 100644 index 0000000..4e4296d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/64.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/66.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/66.png new file mode 100644 index 0000000..f38c8bf Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/66.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/72.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/72.png new file mode 100644 index 0000000..b723bde Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/72.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/76.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/76.png new file mode 100644 index 0000000..01caecb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/76.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/80.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/80.png new file mode 100644 index 0000000..fe0f09b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/80.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/87.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/87.png new file mode 100644 index 0000000..5f40cbe Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/87.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/88.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/88.png new file mode 100644 index 0000000..79ed912 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/88.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/92.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/92.png new file mode 100644 index 0000000..c8e3bb2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/92.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/Contents.json b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/Contents.json new file mode 100644 index 0000000..3b4d8f9 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconDev.appiconset/Contents.json @@ -0,0 +1,354 @@ +{ + "images": [ + { + "filename": "40.png", + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "60.png", + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "filename": "29.png", + "idiom": "iphone", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "58.png", + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "87.png", + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "80.png", + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "120.png", + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "filename": "57.png", + "idiom": "iphone", + "scale": "1x", + "size": "57x57" + }, + { + "filename": "114.png", + "idiom": "iphone", + "scale": "2x", + "size": "57x57" + }, + { + "filename": "120.png", + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "180.png", + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "20.png", + "idiom": "ipad", + "scale": "1x", + "size": "20x20" + }, + { + "filename": "40.png", + "idiom": "ipad", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "29.png", + "idiom": "ipad", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "58.png", + "idiom": "ipad", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "40.png", + "idiom": "ipad", + "scale": "1x", + "size": "40x40" + }, + { + "filename": "80.png", + "idiom": "ipad", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "50.png", + "idiom": "ipad", + "scale": "1x", + "size": "50x50" + }, + { + "filename": "100.png", + "idiom": "ipad", + "scale": "2x", + "size": "50x50" + }, + { + "filename": "72.png", + "idiom": "ipad", + "scale": "1x", + "size": "72x72" + }, + { + "filename": "144.png", + "idiom": "ipad", + "scale": "2x", + "size": "72x72" + }, + { + "filename": "76.png", + "idiom": "ipad", + "scale": "1x", + "size": "76x76" + }, + { + "filename": "152.png", + "idiom": "ipad", + "scale": "2x", + "size": "76x76" + }, + { + "filename": "167.png", + "idiom": "ipad", + "scale": "2x", + "size": "83.5x83.5" + }, + { + "filename": "1024.png", + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + }, + { + "filename": "16.png", + "idiom": "mac", + "scale": "1x", + "size": "16x16" + }, + { + "filename": "32.png", + "idiom": "mac", + "scale": "2x", + "size": "16x16" + }, + { + "filename": "32.png", + "idiom": "mac", + "scale": "1x", + "size": "32x32" + }, + { + "filename": "64.png", + "idiom": "mac", + "scale": "2x", + "size": "32x32" + }, + { + "filename": "128.png", + "idiom": "mac", + "scale": "1x", + "size": "128x128" + }, + { + "filename": "256.png", + "idiom": "mac", + "scale": "2x", + "size": "128x128" + }, + { + "filename": "256.png", + "idiom": "mac", + "scale": "1x", + "size": "256x256" + }, + { + "filename": "512.png", + "idiom": "mac", + "scale": "2x", + "size": "256x256" + }, + { + "filename": "512.png", + "idiom": "mac", + "scale": "1x", + "size": "512x512" + }, + { + "filename": "1024.png", + "idiom": "mac", + "scale": "2x", + "size": "512x512" + }, + { + "filename": "48.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "24x24", + "subtype": "38mm" + }, + { + "filename": "55.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "27.5x27.5", + "subtype": "42mm" + }, + { + "filename": "58.png", + "idiom": "watch", + "role": "companionSettings", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "87.png", + "idiom": "watch", + "role": "companionSettings", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "66.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "33x33", + "subtype": "45mm" + }, + { + "filename": "80.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "40x40", + "subtype": "38mm" + }, + { + "filename": "88.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "44x44", + "subtype": "40mm" + }, + { + "filename": "92.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "46x46", + "subtype": "41mm" + }, + { + "filename": "100.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "50x50", + "subtype": "44mm" + }, + { + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "51x51", + "subtype": "45mm" + }, + { + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "54x54", + "subtype": "49mm" + }, + { + "filename": "172.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "86x86", + "subtype": "38mm" + }, + { + "filename": "196.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "98x98", + "subtype": "42mm" + }, + { + "filename": "216.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "108x108", + "subtype": "44mm" + }, + { + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "117x117", + "subtype": "45mm" + }, + { + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "129x129", + "subtype": "49mm" + }, + { + "filename": "1024.png", + "idiom": "watch-marketing", + "scale": "1x", + "size": "1024x1024" + }, + { + "filename": "102.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "45x45", + "subtype": "41mm" + } + ], + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/100.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/100.png new file mode 100644 index 0000000..ae39bf8 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/100.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/102.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/102.png new file mode 100644 index 0000000..89b6e62 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/102.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/1024.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/1024.png new file mode 100644 index 0000000..646f7fb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/1024.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/114.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/114.png new file mode 100644 index 0000000..cb16ee8 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/114.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/120.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/120.png new file mode 100644 index 0000000..2dc4c36 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/120.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/128.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/128.png new file mode 100644 index 0000000..05f36cf Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/128.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/144.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/144.png new file mode 100644 index 0000000..09ed336 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/144.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/152.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/152.png new file mode 100644 index 0000000..5085ff4 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/152.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/16.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/16.png new file mode 100644 index 0000000..202da60 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/16.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/167.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/167.png new file mode 100644 index 0000000..9ec6ed0 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/167.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/172.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/172.png new file mode 100644 index 0000000..f8b04e6 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/172.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/180.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/180.png new file mode 100644 index 0000000..25d4f8d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/180.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/196.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/196.png new file mode 100644 index 0000000..879accb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/196.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/20.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/20.png new file mode 100644 index 0000000..7e05cb5 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/20.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/216.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/216.png new file mode 100644 index 0000000..1d819f5 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/216.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/256.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/256.png new file mode 100644 index 0000000..8022d7a Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/256.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/29.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/29.png new file mode 100644 index 0000000..2bc4c79 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/29.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/32.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/32.png new file mode 100644 index 0000000..dcb237b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/32.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/40.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/40.png new file mode 100644 index 0000000..bbed30d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/40.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/48.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/48.png new file mode 100644 index 0000000..2b42084 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/48.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/50.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/50.png new file mode 100644 index 0000000..d6c9ee2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/50.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/512.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/512.png new file mode 100644 index 0000000..ffc05c2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/512.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/55.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/55.png new file mode 100644 index 0000000..7782c37 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/55.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/57.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/57.png new file mode 100644 index 0000000..aaf7d3c Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/57.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/58.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/58.png new file mode 100644 index 0000000..6b3cd4b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/58.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/60.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/60.png new file mode 100644 index 0000000..405551c Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/60.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/64.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/64.png new file mode 100644 index 0000000..4e4296d Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/64.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/66.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/66.png new file mode 100644 index 0000000..f38c8bf Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/66.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/72.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/72.png new file mode 100644 index 0000000..b723bde Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/72.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/76.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/76.png new file mode 100644 index 0000000..01caecb Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/76.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/80.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/80.png new file mode 100644 index 0000000..fe0f09b Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/80.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/87.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/87.png new file mode 100644 index 0000000..5f40cbe Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/87.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/88.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/88.png new file mode 100644 index 0000000..79ed912 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/88.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/92.png b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/92.png new file mode 100644 index 0000000..c8e3bb2 Binary files /dev/null and b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/92.png differ diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/Contents.json b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/Contents.json new file mode 100644 index 0000000..3b4d8f9 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/AppIconStg.appiconset/Contents.json @@ -0,0 +1,354 @@ +{ + "images": [ + { + "filename": "40.png", + "idiom": "iphone", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "60.png", + "idiom": "iphone", + "scale": "3x", + "size": "20x20" + }, + { + "filename": "29.png", + "idiom": "iphone", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "58.png", + "idiom": "iphone", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "87.png", + "idiom": "iphone", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "80.png", + "idiom": "iphone", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "120.png", + "idiom": "iphone", + "scale": "3x", + "size": "40x40" + }, + { + "filename": "57.png", + "idiom": "iphone", + "scale": "1x", + "size": "57x57" + }, + { + "filename": "114.png", + "idiom": "iphone", + "scale": "2x", + "size": "57x57" + }, + { + "filename": "120.png", + "idiom": "iphone", + "scale": "2x", + "size": "60x60" + }, + { + "filename": "180.png", + "idiom": "iphone", + "scale": "3x", + "size": "60x60" + }, + { + "filename": "20.png", + "idiom": "ipad", + "scale": "1x", + "size": "20x20" + }, + { + "filename": "40.png", + "idiom": "ipad", + "scale": "2x", + "size": "20x20" + }, + { + "filename": "29.png", + "idiom": "ipad", + "scale": "1x", + "size": "29x29" + }, + { + "filename": "58.png", + "idiom": "ipad", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "40.png", + "idiom": "ipad", + "scale": "1x", + "size": "40x40" + }, + { + "filename": "80.png", + "idiom": "ipad", + "scale": "2x", + "size": "40x40" + }, + { + "filename": "50.png", + "idiom": "ipad", + "scale": "1x", + "size": "50x50" + }, + { + "filename": "100.png", + "idiom": "ipad", + "scale": "2x", + "size": "50x50" + }, + { + "filename": "72.png", + "idiom": "ipad", + "scale": "1x", + "size": "72x72" + }, + { + "filename": "144.png", + "idiom": "ipad", + "scale": "2x", + "size": "72x72" + }, + { + "filename": "76.png", + "idiom": "ipad", + "scale": "1x", + "size": "76x76" + }, + { + "filename": "152.png", + "idiom": "ipad", + "scale": "2x", + "size": "76x76" + }, + { + "filename": "167.png", + "idiom": "ipad", + "scale": "2x", + "size": "83.5x83.5" + }, + { + "filename": "1024.png", + "idiom": "ios-marketing", + "scale": "1x", + "size": "1024x1024" + }, + { + "filename": "16.png", + "idiom": "mac", + "scale": "1x", + "size": "16x16" + }, + { + "filename": "32.png", + "idiom": "mac", + "scale": "2x", + "size": "16x16" + }, + { + "filename": "32.png", + "idiom": "mac", + "scale": "1x", + "size": "32x32" + }, + { + "filename": "64.png", + "idiom": "mac", + "scale": "2x", + "size": "32x32" + }, + { + "filename": "128.png", + "idiom": "mac", + "scale": "1x", + "size": "128x128" + }, + { + "filename": "256.png", + "idiom": "mac", + "scale": "2x", + "size": "128x128" + }, + { + "filename": "256.png", + "idiom": "mac", + "scale": "1x", + "size": "256x256" + }, + { + "filename": "512.png", + "idiom": "mac", + "scale": "2x", + "size": "256x256" + }, + { + "filename": "512.png", + "idiom": "mac", + "scale": "1x", + "size": "512x512" + }, + { + "filename": "1024.png", + "idiom": "mac", + "scale": "2x", + "size": "512x512" + }, + { + "filename": "48.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "24x24", + "subtype": "38mm" + }, + { + "filename": "55.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "27.5x27.5", + "subtype": "42mm" + }, + { + "filename": "58.png", + "idiom": "watch", + "role": "companionSettings", + "scale": "2x", + "size": "29x29" + }, + { + "filename": "87.png", + "idiom": "watch", + "role": "companionSettings", + "scale": "3x", + "size": "29x29" + }, + { + "filename": "66.png", + "idiom": "watch", + "role": "notificationCenter", + "scale": "2x", + "size": "33x33", + "subtype": "45mm" + }, + { + "filename": "80.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "40x40", + "subtype": "38mm" + }, + { + "filename": "88.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "44x44", + "subtype": "40mm" + }, + { + "filename": "92.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "46x46", + "subtype": "41mm" + }, + { + "filename": "100.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "50x50", + "subtype": "44mm" + }, + { + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "51x51", + "subtype": "45mm" + }, + { + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "54x54", + "subtype": "49mm" + }, + { + "filename": "172.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "86x86", + "subtype": "38mm" + }, + { + "filename": "196.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "98x98", + "subtype": "42mm" + }, + { + "filename": "216.png", + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "108x108", + "subtype": "44mm" + }, + { + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "117x117", + "subtype": "45mm" + }, + { + "idiom": "watch", + "role": "quickLook", + "scale": "2x", + "size": "129x129", + "subtype": "49mm" + }, + { + "filename": "1024.png", + "idiom": "watch-marketing", + "scale": "1x", + "size": "1024x1024" + }, + { + "filename": "102.png", + "idiom": "watch", + "role": "appLauncher", + "scale": "2x", + "size": "45x45", + "subtype": "41mm" + } + ], + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/Contents.json b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/Contents.json new file mode 100644 index 0000000..74d6a72 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/Images.xcassets/Contents.json @@ -0,0 +1,6 @@ +{ + "info": { + "author": "xcode", + "version": 1 + } +} diff --git a/demo/StreamRtmp/ios/StreamRtmp/Info.plist b/demo/StreamRtmp/ios/StreamRtmp/Info.plist new file mode 100644 index 0000000..17d296c --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/Info.plist @@ -0,0 +1,57 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + $(MARKETING_VERSION) + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + CodePushDeploymentKey + $(CODEPUSH_KEY_IOS) + LSRequiresIPhoneOS + + NSAppTransportSecurity + + + NSAllowsArbitraryLoads + + NSAllowsLocalNetworking + + + NSLocationWhenInUseUsageDescription + + UILaunchStoryboardName + LaunchScreen + UIRequiredDeviceCapabilities + + arm64 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + UIViewControllerBasedStatusBarAppearance + + UIAppFonts + + Roboto-Bold.ttf + Roboto-Regular.ttf + + + diff --git a/demo/StreamRtmp/ios/StreamRtmp/LaunchScreen.storyboard b/demo/StreamRtmp/ios/StreamRtmp/LaunchScreen.storyboard new file mode 100644 index 0000000..8ca2e12 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/LaunchScreen.storyboard @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/demo/StreamRtmp/ios/StreamRtmp/main.m b/demo/StreamRtmp/ios/StreamRtmp/main.m new file mode 100644 index 0000000..d645c72 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmp/main.m @@ -0,0 +1,10 @@ +#import + +#import "AppDelegate.h" + +int main(int argc, char *argv[]) +{ + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/demo/StreamRtmp/ios/StreamRtmpTests/Info.plist b/demo/StreamRtmp/ios/StreamRtmpTests/Info.plist new file mode 100644 index 0000000..ba72822 --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmpTests/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + BNDL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + + diff --git a/demo/StreamRtmp/ios/StreamRtmpTests/StreamRtmpTests.m b/demo/StreamRtmp/ios/StreamRtmpTests/StreamRtmpTests.m new file mode 100644 index 0000000..ba8cc9f --- /dev/null +++ b/demo/StreamRtmp/ios/StreamRtmpTests/StreamRtmpTests.m @@ -0,0 +1,66 @@ +#import +#import + +#import +#import + +#define TIMEOUT_SECONDS 600 +#define TEXT_TO_LOOK_FOR @"Welcome to React" + +@interface StreamRtmpTests : XCTestCase + +@end + +@implementation StreamRtmpTests + +- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test +{ + if (test(view)) { + return YES; + } + for (UIView *subview in [view subviews]) { + if ([self findSubviewInView:subview matching:test]) { + return YES; + } + } + return NO; +} + +- (void)testRendersWelcomeScreen +{ + UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; + NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; + BOOL foundElement = NO; + + __block NSString *redboxError = nil; +#ifdef DEBUG + RCTSetLogFunction( + ^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { + if (level >= RCTLogLevelError) { + redboxError = message; + } + }); +#endif + + while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { + [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; + [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; + + foundElement = [self findSubviewInView:vc.view + matching:^BOOL(UIView *view) { + if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { + return YES; + } + return NO; + }]; + } + +#ifdef DEBUG + RCTSetLogFunction(RCTDefaultLogFunction); +#endif + + XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); + XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); +} + +@end diff --git a/demo/StreamRtmp/ios/link-assets-manifest.json b/demo/StreamRtmp/ios/link-assets-manifest.json new file mode 100644 index 0000000..1f17afa --- /dev/null +++ b/demo/StreamRtmp/ios/link-assets-manifest.json @@ -0,0 +1,13 @@ +{ + "migIndex": 1, + "data": [ + { + "path": "assets/fonts/Roboto-Bold.ttf", + "sha1": "0a1793926e2ee724cf2ff3fc7adc745348659f82" + }, + { + "path": "assets/fonts/Roboto-Regular.ttf", + "sha1": "096c9245b6a192d1403a82848e104a65f578a8ec" + } + ] +} diff --git a/demo/StreamRtmp/ios/tmp.xcconfig b/demo/StreamRtmp/ios/tmp.xcconfig new file mode 100644 index 0000000..05cdb96 --- /dev/null +++ b/demo/StreamRtmp/ios/tmp.xcconfig @@ -0,0 +1,15 @@ +API_URL= +APP_ENV=development +CODEPUSH_KEY_IOS= +CODEPUSH_KEY_ANDROID= +APP_ID=com.saigontechnology.streamrtmp.development +APP_NAME=BaseDevelopment +PROJECT_NAME=StreamRtmp +APPCENTER_TOKEN_ANDROID= +APPCENTER_TOKEN_IOS= +APPCENTER_APP_NAME_ANDROID= +APPCENTER_APP_NAME_IOS= +APPCENTER_APP_DISPLAY_NAME= +APPCENTER_RELEASE_NOTE= +APPCENTER_DISTRIBUTE_DESTINATIONS=Public +APPLE_TEAM_ID= diff --git a/demo/StreamRtmp/jest.config.js b/demo/StreamRtmp/jest.config.js new file mode 100644 index 0000000..1fbafc9 --- /dev/null +++ b/demo/StreamRtmp/jest.config.js @@ -0,0 +1,3 @@ +module.exports = { + preset: 'react-native', +} diff --git a/demo/StreamRtmp/metro.config.js b/demo/StreamRtmp/metro.config.js new file mode 100644 index 0000000..de3148e --- /dev/null +++ b/demo/StreamRtmp/metro.config.js @@ -0,0 +1,11 @@ +const {getDefaultConfig, mergeConfig} = require('@react-native/metro-config') + +/** + * Metro configuration + * https://reactnative.dev/docs/metro + * + * @type {import('metro-config').MetroConfig} + */ +const config = {} + +module.exports = mergeConfig(getDefaultConfig(__dirname), config) diff --git a/demo/StreamRtmp/package.json b/demo/StreamRtmp/package.json new file mode 100644 index 0000000..662fa48 --- /dev/null +++ b/demo/StreamRtmp/package.json @@ -0,0 +1,83 @@ +{ + "name": "StreamRtmp", + "version": "0.0.1", + "private": true, + "scripts": { + "android": "bash ./scripts/run-app.sh android", + "ios": "bash ./scripts/run-app.sh ios", + "start": "react-native start", + "test": "jest", + "lint": "eslint . --ext .js,.jsx,.ts,.tsx", + "lint:fix": "eslint . --fix", + "pretty": "prettier --write \"./**/*.{js,jsx,json}\"", + "prepare": "husky install", + "postinstall": "bash ./scripts/post-install.sh", + "reverse": "adb reverse tcp:8081 tcp:8081", + "plop": "plop", + "codepush": "bash ./scripts/code-push.sh", + "build": "bash ./scripts/build-app.sh", + "generateimages": "node scripts/genimg src/assets/images --output src/themes/images.ts --name Images" + }, + "dependencies": { + "@api.video/react-native-livestream": "git+https://github.com/apivideo/api.video-reactnative-live-stream.git#main", + "@gorhom/bottom-sheet": "^4.4.7", + "@react-native-async-storage/async-storage": "^1.18.1", + "@react-navigation/bottom-tabs": "^6.5.7", + "@react-navigation/native": "^6.1.17", + "@react-navigation/native-stack": "^6.9.26", + "@react-navigation/stack": "^6.3.20", + "@reduxjs/toolkit": "^1.9.5", + "axios": "^1.6.8", + "i18next": "^22.4.15", + "intl-pluralrules": "^2.0.1", + "react": "18.2.0", + "react-i18next": "^12.3.1", + "react-native": "0.74.5", + "react-native-code-push": "^8.0.2", + "react-native-config": "^1.5.0", + "react-native-device-info": "^11.1.0", + "react-native-gesture-handler": "^2.16.2", + "react-native-progress": "^5.0.0", + "react-native-reanimated": "^3.5.4", + "react-native-safe-area-context": "^4.10.1", + "react-native-screens": "^3.31.1", + "react-native-svg": "^13.9.0", + "react-redux": "^9.1.2", + "redux-persist": "^6.0.0", + "redux-saga": "^1.2.3" + }, + "devDependencies": { + "@babel/core": "^7.25.2", + "@babel/preset-env": "^7.20.0", + "@babel/runtime": "^7.20.0", + "@react-native-community/eslint-config": "^3.2.0", + "@react-native/babel-preset": "0.74.87", + "@react-native/eslint-config": "0.74.87", + "@react-native/metro-config": "0.74.87", + "@react-native/typescript-config": "0.74.87", + "@tsconfig/react-native": "^3.0.5", + "@types/jest": "^29.5.2", + "@types/react": "^18.2.6", + "@types/react-native": "^0.71.8", + "@types/react-test-renderer": "^18.0.0", + "@typescript-eslint/eslint-plugin": "^5.62.0", + "@typescript-eslint/parser": "^5.62.0", + "babel-jest": "^29.6.3", + "eslint": "^8.53.0", + "eslint-plugin-import": "^2.29.1", + "eslint-plugin-jest": "^28.5.0", + "eslint-plugin-react": "^7.32.2", + "eslint-plugin-react-hooks": "^4.6.0", + "eslint-plugin-unused-imports": "^2.0.0", + "husky": "^9.1.4", + "jest": "^29.6.3", + "metro-react-native-babel-preset": "0.77.0", + "plop": "^3.1.2", + "prettier": "^3.3.3", + "react-test-renderer": "18.1.0", + "typescript": "^5.4.5" + }, + "engines": { + "node": ">=18" + } +} diff --git a/demo/StreamRtmp/plopfile.js b/demo/StreamRtmp/plopfile.js new file mode 100644 index 0000000..4d7ec6c --- /dev/null +++ b/demo/StreamRtmp/plopfile.js @@ -0,0 +1,160 @@ +const MODULE_TYPE = { + Screen: 'screens', + Store: 'store', + Component: 'component', +} + +module.exports = function (plop) { + const component = [ + { + type: 'add', + path: 'src/components/{{properCase name}}.tsx', + templateFile: 'generators/component/index.js.hbs', + }, + ] + const screensView = [ + { + type: 'add', + path: 'src/screens/{{properCase name}}Component/{{properCase name}}Screen.tsx', + templateFile: 'generators/module/Module.view.js.hbs', + }, + { + type: 'add', + path: 'src/screens/{{properCase name}}Component/index.ts', + templateFile: 'generators/module/Module.index.js.hbs', + }, + { + type: 'modify', + path: 'src/screens/index.ts', + pattern: /\/\/ Screen Export/gi, + template: "// Screen Export\r\nexport * from './{{properCase name}}Component'", + }, + { + type: 'modify', + path: 'src/navigation/RouteKey.ts', + pattern: /\/\** Screen \*\//g, + template: "/** Screen */\r\n {{properCase name}}Screen = '{{properCase name}}Screen',", + }, + { + type: 'modify', + path: 'src/navigation/types.ts', + pattern: /\/\** Type \*\//g, + template: '/** Type */\r\ntype {{properCase name}}ScreenParams = {}', + }, + { + type: 'modify', + path: 'src/navigation/types.ts', + pattern: /\/\** Params \*\//g, + template: '/** Params */\r\n [RouteKey.{{properCase name}}Screen]: {{properCase name}}ScreenParams', + }, + ] + const store = [ + { + type: 'add', + path: 'src/store/types/{{camelCase name}}.ts', + templateFile: 'generators/redux/interface.js.hbs', + }, + { + type: 'add', + path: 'src/store/constants/{{camelCase name}}.ts', + templateFile: 'generators/redux/constants.js.hbs', + }, + { + type: 'add', + path: 'src/store/reducers/{{camelCase name}}.ts', + templateFile: 'generators/redux/reducer.js.hbs', + }, + { + type: 'add', + path: 'src/store/saga/{{camelCase name}}.ts', + templateFile: 'generators/redux/saga.js.hbs', + }, + { + type: 'modify', + path: 'src/store/reducers/index.ts', + pattern: /\/\/ Reducer Imports/gi, + template: "// Reducer Imports\r\nimport {{camelCase name}} from './{{camelCase name}}'", + }, + { + type: 'modify', + path: 'src/store/reducers/index.ts', + pattern: /\/\/ Reducers/gi, + template: '// Reducers\r\n {{camelCase name}},', + }, + { + type: 'modify', + path: 'src/store/reducers/index.ts', + pattern: /\/\/ Reducer Export/gi, + template: "// Reducer Export\r\nexport * from './{{camelCase name}}'", + }, + { + type: 'modify', + path: 'src/store/saga/index.ts', + pattern: /\/\/ Saga Imports/gi, + template: "// Saga Imports\r\nimport {{camelCase name}}Saga from './{{camelCase name}}'", + }, + { + type: 'modify', + path: 'src/store/saga/index.ts', + pattern: /\/\/ Sagas/gi, + template: '// Sagas\r\n ...{{camelCase name}}Saga,', + }, + { + type: 'add', + path: 'src/store/selectors/{{camelCase name}}.ts', + templateFile: 'generators/redux/selectors.js.hbs', + }, + { + type: 'modify', + path: 'src/store/selectors/index.ts', + pattern: /\/\/ Selector/gi, + template: "// Selector\r\nexport * from './{{camelCase name}}'", + }, + { + type: 'modify', + path: 'src/store/types/store.ts', + pattern: /\/\/ Import Type/gi, + template: "// Import Type\r\nimport {I{{properCase name}} } from './{{camelCase name}}'", + }, + { + type: 'modify', + path: 'src/store/types/store.ts', + pattern: /\/\/ State/gi, + template: '// State\r\n {{camelCase name}}: I{{properCase name}}', + }, + { + type: 'modify', + path: 'src/store/types/index.ts', + pattern: /\/\/ Export Type/gi, + template: "// Export Type\r\nexport * from './{{camelCase name}}'", + }, + ] + plop.setGenerator('module', { + description: 'Generates new module with or without redux connection', + prompts: [ + { + type: 'input', + name: 'name', + message: 'Module name (Casing will be modified)', + }, + { + type: 'list', + name: 'type', + message: 'Choose Module type', + choices: ['screens', 'component', 'store'], + }, + ], + actions(data) { + switch (data.type) { + case MODULE_TYPE.Screen: + return screensView + case MODULE_TYPE.Store: + return store + case MODULE_TYPE.Component: + return component + default: + break + } + }, + }) +} diff --git a/demo/StreamRtmp/react-native.config.js b/demo/StreamRtmp/react-native.config.js new file mode 100644 index 0000000..be7d438 --- /dev/null +++ b/demo/StreamRtmp/react-native.config.js @@ -0,0 +1,7 @@ +module.exports = { + project: { + ios: {}, + android: {}, + }, + assets: ['./assets/fonts'], +} diff --git a/demo/StreamRtmp/scripts/build-app.sh b/demo/StreamRtmp/scripts/build-app.sh new file mode 100644 index 0000000..cfe30ef --- /dev/null +++ b/demo/StreamRtmp/scripts/build-app.sh @@ -0,0 +1,36 @@ +#!bin/bash + +# Script will be showed below: + +# Reset +Color_Off='\033[0m' # Text Reset + +# Regular Colors +Red='\033[0;31m' # Red +Green='\033[0;32m' # Green + +TYPE=$1 + +function buildApp() { + fastlane ios build type:build --env $1 + fastlane android build type:build --env $1 +} + +function main() { + + if [ -z $TYPE ]; then + read -p 'Enter your environment (dev,staging,production): ' env + TYPE=$env + fi + + # increaseCodepushVersion + buildApp $TYPE + + if [ $? -eq 0 ]; then + printf "\n$Green Build App Successful\n" + else + printf "\n$Red Build App Failed\n" + fi +} + +main diff --git a/demo/StreamRtmp/scripts/code-push.sh b/demo/StreamRtmp/scripts/code-push.sh new file mode 100644 index 0000000..3b611fb --- /dev/null +++ b/demo/StreamRtmp/scripts/code-push.sh @@ -0,0 +1,37 @@ +#!bin/bash + +# Script will be showed below: + +# Reset +Color_Off='\033[0m' # Text Reset + +# Regular Colors +Red='\033[0;31m' # Red +Green='\033[0;32m' # Green + +TYPE=$1 + + +function codePush() { + fastlane ios build type:codepush --env $1 + fastlane android build type:codepush --env $1 +} + +function main() { + + if [ -z $TYPE ]; then + read -p 'Enter your environment: ' env + TYPE=$env + fi + + # increaseCodepushVersion + codePush $TYPE + + if [ $? -eq 0 ]; then + printf "\n$Green Code Push Successful\n" + else + printf "\n$Red Code Push Failed\n" + fi +} + +main diff --git a/demo/StreamRtmp/scripts/genimg.js b/demo/StreamRtmp/scripts/genimg.js new file mode 100644 index 0000000..bf8f454 --- /dev/null +++ b/demo/StreamRtmp/scripts/genimg.js @@ -0,0 +1,80 @@ +/* eslint-disable */ +/** + * @flow + */ +const path = require('path') +const fs = require('fs') +const argv = require('yargs-parser')(process.argv.slice(2)) + +// $FlowFixMe +String.prototype.format = function () { + let a = this + for (const k in arguments) { + // $FlowFixMe + a = a.replace(`{${k}}`.toRegex('g'), arguments[k]) + } + return a +} + +// $FlowFixMe +String.prototype.toRegex = function (option = 'i') { + let regexStr = this.replace(/[\.\*\+\?\^\$\{\}\(\)\|\[\]\\]/g, '\\$&') + regexStr = regexStr.replace(/\s/g, '\\s?') + return new RegExp(regexStr, option) +} + +const getFileName = file => { + const fileNameMatch = file.match(/^(.+)\.[^\.]+$/) + return ( + fileNameMatch && + fileNameMatch[1].toLowerCase().replace(/[^a-zA-Z0-9]+(.)/g, (m, chr) => chr.toUpperCase()) + ) +} + +const getFileSubName = file => { + return file +} + +const folder = argv.folder || argv.d || argv._[0] +const match = folder.match(/^(.+\/([^\/]+))\/?$/) +// $FlowFixMe +let output = match && '{0}/{1}.tsx'.format(match[1], match[2]) +output = argv.output || argv.o || output +const outputMatch = output.match(/^(?:(.*)\/)?([^\/]+)$/) +const outputPath = outputMatch[1] || '.' +const author = argv.author || argv.a || 'Robot' +const template = `/** + * @flow + */ + +const Images = { +{0}} +export {Images}\n` + +const processFolder = (folderPath, prefix = '') => { + const files = fs.readdirSync(folderPath) + const strCodes = [] + let subfolderCodes = '' + files.forEach(file => { + const filePath = path.join(folderPath, file) + if (fs.statSync(filePath).isDirectory()) { + const subfolderPath = path.join(folderPath, file) + const subfolderImageKeys = processFolder(subfolderPath, `${prefix}/${file}`) + if (subfolderImageKeys.length > 0) { + const folderName = getFileSubName(file) + subfolderCodes += ` ${folderName}: {\n${subfolderImageKeys.join('\n')}\n},\n` + } + } else { + const fileName = getFileName(file) + if (fileName) { + const fileRequirePath = path.relative(outputPath, filePath) + strCodes.push(` ${fileName}: require('./${fileRequirePath}'),`) + } + } + }) + return strCodes.concat(subfolderCodes) +} + +const imageKeys = processFolder(folder) +const code = imageKeys.join('\n') +fs.writeFileSync(output, template.format(code, author)) diff --git a/demo/StreamRtmp/scripts/post-install.sh b/demo/StreamRtmp/scripts/post-install.sh new file mode 100644 index 0000000..46a40ff --- /dev/null +++ b/demo/StreamRtmp/scripts/post-install.sh @@ -0,0 +1,13 @@ +#1/use/bin/env bash + + # Do not install iOS Pods on CI + npx pod-install + +echo "Removing temporary files..." +rm -rf $TMPDIR/react-* +rm -rf $TMPDIR/metro-* +rm -rf $TMPDIR/haste-map-* +rm -rf $TMPDIR/haste-task-* + +echo "Clearing watchman cache..." +watchman watch-del-all diff --git a/demo/StreamRtmp/scripts/run-app.sh b/demo/StreamRtmp/scripts/run-app.sh new file mode 100644 index 0000000..3d964fe --- /dev/null +++ b/demo/StreamRtmp/scripts/run-app.sh @@ -0,0 +1,56 @@ +prompt_android="Please select mode for android: " +OPTIONS_ANDROID=( + "developmentDebug" + "developmentRelease" + "stagingDebug" + "stagingRelease" + "productionDebug" + "productionRelease" + "quit" +) + +if [ "$1" == "android" ] +then + PS3="$prompt_android" + select opt in "${OPTIONS_ANDROID[@]}"; do + if [ "$opt" == "quit" ] + then + break + fi + if [ "$opt" == "" ] + then + echo "Invalid" + else + echo "Mode: $opt" + npx react-native run-android --mode $opt + break + fi + done +fi + +prompt_ios="Please select variant for ios: " +OPTIONS_IOS=( + "StreamRtmpDev" + "StreamRtmpStg" + "StreamRtmp" + "quit" +) + +if [ "$1" == "ios" ] +then + PS3="$prompt_ios" + select opt in "${OPTIONS_IOS[@]}"; do + if [ "$opt" == "quit" ] + then + break + fi + if [ "$opt" == "" ] + then + echo "Invalid" + else + echo "Scheme: $opt" + npx react-native run-ios --scheme "$opt" + break + fi + done +fi diff --git a/demo/StreamRtmp/src/MainLayout.tsx b/demo/StreamRtmp/src/MainLayout.tsx new file mode 100644 index 0000000..bbab6ea --- /dev/null +++ b/demo/StreamRtmp/src/MainLayout.tsx @@ -0,0 +1,63 @@ +import React, {useCallback, useEffect, useRef} from 'react' +import {AppState, Linking, StatusBar, StyleSheet} from 'react-native' +import {useSelector} from 'react-redux' +import AppNavigation from './navigation/AppNavigator' +import RouteKey from './navigation/RouteKey' +import {getAppStackState, getLoadingIndicator} from './store/selectors' +import configs from './constants/configs' +import {DebugMenu, IndicatorDialog, Toast} from './components' +import {GestureHandlerRootView} from 'react-native-gesture-handler' + +function MainLayout() { + const appState = useSelector(getAppStackState) + const appStateRef = useRef(AppState.currentState) + const showGlobalIndicator = useSelector(getLoadingIndicator) + + const handleAppState = useCallback(() => { + AppState.addEventListener('change', nextAppState => { + if (appStateRef.current.match(/inactive|background/) && nextAppState === 'active') { + // Update action when appState changes + } + appStateRef.current = nextAppState + }) + }, []) + + const handleDeepLink = useCallback(() => { + Linking.getInitialURL().then(res => { + // This function only work when disable debug mode. + if (res) { + // Do something if app is opened from an url + } + }) + Linking.addEventListener('url', res => { + if (res?.url) { + // Do something if app is opened from an url + } + }) + }, []) + + useEffect(() => { + if (appState === RouteKey.MainStack) { + handleAppState() + handleDeepLink() + } + }, [appState, handleAppState, handleDeepLink]) + + return ( + + + + {showGlobalIndicator && } + {configs.DEBUG_ENABLED && } + + + ) +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + }, +}) + +export default MainLayout diff --git a/demo/StreamRtmp/src/assets/images/close.png b/demo/StreamRtmp/src/assets/images/close.png new file mode 100644 index 0000000..f5a3214 Binary files /dev/null and b/demo/StreamRtmp/src/assets/images/close.png differ diff --git a/demo/StreamRtmp/src/assets/images/info.png b/demo/StreamRtmp/src/assets/images/info.png new file mode 100644 index 0000000..a762a6c Binary files /dev/null and b/demo/StreamRtmp/src/assets/images/info.png differ diff --git a/demo/StreamRtmp/src/assets/images/sts.png b/demo/StreamRtmp/src/assets/images/sts.png new file mode 100644 index 0000000..99abc1f Binary files /dev/null and b/demo/StreamRtmp/src/assets/images/sts.png differ diff --git a/demo/StreamRtmp/src/components/DebugMenu.tsx b/demo/StreamRtmp/src/components/DebugMenu.tsx new file mode 100644 index 0000000..a3d87bd --- /dev/null +++ b/demo/StreamRtmp/src/components/DebugMenu.tsx @@ -0,0 +1,267 @@ +import BottomSheet, {BottomSheetFlatList} from '@gorhom/bottom-sheet' +import React, {FC, ReactNode, useCallback, useMemo, useRef, useState} from 'react' +import { + Modal, + Pressable, + SafeAreaView, + ScrollView, + View, + Text, + Button, + StyleSheet, + useWindowDimensions, + ListRenderItemInfo, +} from 'react-native' +import {getApplicationName, getBuildNumber, getDeviceId} from 'react-native-device-info' +import {Draggable} from './Draggable' + +import Config, {BOTTOM_SHEET_TYPE, CODEPUSH_KEYS, EXTRA_QA_ENVS} from '../constants/configs' + +import {InfoMenu, InfoMenuRow, InfoMenuLink} from './InfoMenu' + +import {colors, fonts, metrics} from '../themes' + +import {useDispatch, useSelector} from 'react-redux' +import {getApiUrl, getCodePushKey} from '../store/selectors' +import {appActions} from '../store/reducers' +import {BottomSheetMethods} from '@gorhom/bottom-sheet/lib/typescript/types' +import {useTranslation} from 'react-i18next' +import {getString} from '../locale/I18nConfig' + +interface Props { + title: string + children?: ReactNode +} + +const DEBUGMENU_SIZE = 50 +const SNAPPOINTS = ['95%'] + +const AppInfoSection: FC = () => { + const appName = useMemo(() => getApplicationName(), []) + const buildNumber = useMemo(() => getBuildNumber(), []) + const deviceId = useMemo(() => getDeviceId(), []) + const {t} = useTranslation() + + const infos = useMemo( + () => [ + {key: '0', title: getString('deviceId'), description: deviceId}, + {key: '1', title: getString('appName'), description: appName}, + {key: '2', title: getString('buildNumber'), description: buildNumber}, + {key: '3', title: getString('appVersion'), description: Config.appVersion}, + {key: '4', title: getString('bundleId'), description: Config.appBundleID}, + {key: '5', title: getString('appEnv'), description: Config.APP_ENV || 'N/A'}, + ], + [appName, buildNumber, deviceId], + ) + + return ( + + {getString('info')} + + {infos.map(({key, title, description}) => ( + + ))} + + + ) +} + +const EnvironmentSection: FC = ({title, children}) => ( + + {title} + {children} + +) + +export const DebugMenu: FC = () => { + const {t} = useTranslation() + const [modalVisible, setModalVisible] = useState(false) + const openModal = useCallback(() => setModalVisible(true), []) + const closeModal = useCallback(() => setModalVisible(false), []) + + const dispatch = useDispatch() + + const codePushKey = useSelector(getCodePushKey) + + const currentApiUrl = useSelector(getApiUrl) + + const [bottomSheetType, setBottomSheetType] = useState() + + const dimensions = useWindowDimensions() + + const bottomSheetRef = useRef(null) + + const handleSnapPress = useCallback((index: number) => { + bottomSheetRef.current?.snapToIndex(index) + }, []) + const handleClosePress = useCallback(() => { + bottomSheetRef.current?.close() + }, []) + + const openEnvironmentBottomSheet = useCallback(() => { + setBottomSheetType(BOTTOM_SHEET_TYPE.env) + closeModal() + handleSnapPress(0) + }, [closeModal, handleSnapPress]) + + const openCodePushBottomSheet = useCallback(() => { + setBottomSheetType(BOTTOM_SHEET_TYPE.codePush) + closeModal() + handleSnapPress(0) + }, [closeModal, handleSnapPress]) + + const renderEnvironmentItem = useCallback( + ({item}: ListRenderItemInfo) => { + const isActive = item === (bottomSheetType === BOTTOM_SHEET_TYPE.env ? currentApiUrl : codePushKey) + + const onPress = () => { + if (bottomSheetType === BOTTOM_SHEET_TYPE.codePush) { + dispatch(appActions.setCodePushKey(item)) + //CodePush.restartApp(false) + } else { + dispatch(appActions.setApiUrl(item)) + } + handleClosePress() + } + return ( + + + {item} + + {isActive ? : null} + + ) + }, + [bottomSheetType, codePushKey, currentApiUrl, dispatch, handleClosePress], + ) + + const codePush = useMemo(() => CODEPUSH_KEYS.find(item => item.dev === codePushKey), [codePushKey]) + const data = useMemo( + (): string[] => + bottomSheetType === BOTTOM_SHEET_TYPE.env + ? [Config.API_URL || '', ...EXTRA_QA_ENVS] + : CODEPUSH_KEYS.map(i => i.dev), + [], + ) + + return ( + <> + + + + +