diff --git a/package.json b/package.json
index 7543e992..a0e619f0 100644
--- a/package.json
+++ b/package.json
@@ -1,7 +1,7 @@
{
"name": "rn-boiler-template",
"private": false,
- "version": "1.72.38",
+ "version": "1.74.0",
"description": "Clean and minimalist React Native template for a quick start with TypeScript and components",
"scripts": {
"test": "exit 0"
diff --git a/template/GITLABRUNNER.MD b/template/GITLABRUNNER.MD
index 8f31cd7c..bf186982 100644
--- a/template/GITLABRUNNER.MD
+++ b/template/GITLABRUNNER.MD
@@ -1,4 +1,3 @@
-
You can config gitlab CI runner to create build automatically.
## Config workflow
@@ -24,7 +23,6 @@ You can config gitlab CI runner to create build automatically.
- Step 2: Add 2 variable:
- BRANCH_NAME: branch of repo want to build. ex: develop, main, ...
- BASE_ENV_ARGS: env want to build. String with "," separator. This will use for fastlane. ex: dev,prod
-
```
### .gitlab-ci.yml
@@ -38,13 +36,13 @@ default:
- macos_shared
variables:
- GIT_CLEAN_FLAGS: "none"
+ GIT_CLEAN_FLAGS: 'none'
# BRANCH_NAME: "develop"
- FASTLANE_SCRIPT_ANDROID: "bundle exec fastlane android"
- FASTLANE_SCRIPT_IOS: "bundle exec fastlane ios"
+ FASTLANE_SCRIPT_ANDROID: 'bundle exec fastlane android'
+ FASTLANE_SCRIPT_IOS: 'bundle exec fastlane ios'
# BASE_ENV_ARGS: "dev"
- EXPORT_DIR_ARGS_NAME: "export_dir"
- EXPORT_FOLDER: "export/$BRANCH_NAME"
+ EXPORT_DIR_ARGS_NAME: 'export_dir'
+ EXPORT_FOLDER: 'export/$BRANCH_NAME'
clone-code-project:
stage: clone
@@ -97,7 +95,7 @@ build-android:
- fnm use $NODE_VERSION
script:
- echo "sdk.dir=$ANDROID_HOME" > android/local.properties
- - npx ts-node build_script/build-android.ts $BASE_ENV_ARGS $EXPORT_FOLDER
+ - node build-ci/build-android.js $BASE_ENV_ARGS $EXPORT_FOLDER
needs:
- job: install-dependencies
allow_failure: true
@@ -108,7 +106,7 @@ deploy-android:
- echo "Deploy android app ..."
- cd repo/$BRANCH_NAME
script:
- - npx ts-node build_script/deploy-android.ts $BASE_ENV_ARGS $EXPORT_FOLDER
+ - node build-ci/deploy-android.js $BASE_ENV_ARGS $EXPORT_FOLDER
needs:
- job: build-android
allow_failure: true
@@ -120,7 +118,7 @@ build-ios:
- cd repo/$BRANCH_NAME
- fnm use $NODE_VERSION
script:
- - npx ts-node build_script/build-ios.ts $BASE_ENV_ARGS $EXPORT_FOLDER
+ - node build-ci/build-ios.js $BASE_ENV_ARGS $EXPORT_FOLDER
needs:
- job: install-dependencies
allow_failure: true
@@ -131,7 +129,7 @@ deploy-ios:
- echo "Deploy ios app ..."
- cd repo/$BRANCH_NAME
script:
- - npx ts-node build_script/deploy-ios.ts $BASE_ENV_ARGS $EXPORT_FOLDER
+ - node build-ci/deploy-ios.js $BASE_ENV_ARGS $EXPORT_FOLDER
needs:
- job: build-ios
allow_failure: true
@@ -154,7 +152,6 @@ clean-up:
script:
- rm -rf $BRANCH_NAME
needs: [release, deploy-ios, deploy-android]
-
```
### pull_repo.sh
@@ -168,9 +165,9 @@ mkdir -p repo/$branch
cd repo/$branch
rm -rf fastlane
git clone $repo -b $branch .
-# copy fastlane and build_script to $branch folder
+# copy fastlane and build-ci to $branch folder
cp -r ../../fastlane .
-cp -r ../../build_script .
+cp -r ../../build-ci .
```
@@ -203,9 +200,9 @@ done
### build-ci
-#### build-android.ts
+#### build-android.js
-```ts
+```js
import { execSync } from 'child_process';
(() => {
@@ -231,12 +228,11 @@ import { execSync } from 'child_process';
);
});
})();
-
```
-#### deploy-android.ts
+#### deploy-android.js
-```ts
+```js
import { execSync } from 'child_process';
(() => {
@@ -255,12 +251,11 @@ import { execSync } from 'child_process';
);
});
})();
-
```
-#### build-ios.ts
+#### build-ios.js
-```ts
+```js
import { execSync } from 'child_process';
(() => {
@@ -279,12 +274,11 @@ import { execSync } from 'child_process';
);
});
})();
-
```
-#### deploy-ios.ts
+#### deploy-ios.js
-```ts
+```js
import { execSync } from 'child_process';
(() => {
@@ -303,19 +297,18 @@ import { execSync } from 'child_process';
);
});
})();
-
```
> Folder structure like:
.
- ├── fastlane
- ├── build-ci
- │ ├── build-android.ts
- │ ├── deploy-android.ts
- │ ├── build-ios.ts
- │ └── deploy-ios.ts
- ├── .gitlab-ci.yml
- ├── pull_repo.sh
- ├── release.sh
+ ├── fastlane
+ ├── build-ci
+ │ ├── build-android.js
+ │ ├── deploy-android.js
+ │ ├── build-ios.js
+ │ └── deploy-ios.js
+ ├── .gitlab-ci.yml
+ ├── pull_repo.sh
+ ├── release.sh
└── README.md
diff --git a/template/Gemfile b/template/Gemfile
index 47a45fe5..35f8ba5c 100644
--- a/template/Gemfile
+++ b/template/Gemfile
@@ -1,6 +1,8 @@
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'
diff --git a/template/__tests__/App.test.tsx b/template/__tests__/App.test.tsx
new file mode 100644
index 00000000..b2345d8d
--- /dev/null
+++ b/template/__tests__/App.test.tsx
@@ -0,0 +1,14 @@
+/**
+ * @format
+ */
+
+import 'react-native';
+import React from 'react';
+
+import renderer from 'react-test-renderer';
+
+import { MyApp } from '../src/app';
+
+it('renders correctly', () => {
+ renderer.create();
+});
diff --git a/template/_babelrc b/template/_babelrc
deleted file mode 100644
index 9b67d011..00000000
--- a/template/_babelrc
+++ /dev/null
@@ -1,39 +0,0 @@
-{
- "env": {
- "production": {
- "plugins": ["transform-remove-console"]
- }
- },
- "plugins": [
- [
- "module-resolver",
- {
- "root": ["./"],
- "alias": {
- "@env": "./env-config",
- "@assets": "./src/app/assets",
- "@common": "./src/app/common",
- "@app-emitter": "./src/app/common/emitter",
- "@app-firebase": "./src/app/common/firebase",
- "@hooks": "./src/app/common/hooks",
- "@validate": "./src/app/common/zod-validate",
- "@listener": "./src/app/common/redux/listener.ts",
- "@animated": "./src/app/common/animated",
- "@screens": "./src/app/screens",
- "@components": "./src/app/library/components",
- "@rn-core": "./src/app/library/components/core",
- "@networking": "./src/app/library/networking",
- "@utils": "./src/app/library/utils",
- "@storage": "./src/app/library/utils/storage",
- "@model": "./src/app/model",
- "@navigation": "./src/app/navigation",
- "@store": "./src/app/redux/store",
- "@redux-slice": "./src/app/redux/action-slice",
- "@redux-selector": "./src/app/redux/selector",
- "@redux-action-type": "./src/app/redux/action-type",
- "@theme": "./src/app/themes"
- }
- }
- ]
- ]
-}
diff --git a/template/_bundle/config b/template/_bundle/config
index d137d242..848943bb 100644
--- a/template/_bundle/config
+++ b/template/_bundle/config
@@ -1,2 +1,2 @@
BUNDLE_PATH: "vendor/bundle"
-BUNDLE_FORCE_RUBY_PLATFORM: 1
\ No newline at end of file
+BUNDLE_FORCE_RUBY_PLATFORM: 1
diff --git a/template/_eslintrc.js b/template/_eslintrc.js
deleted file mode 100644
index bbcbeb8e..00000000
--- a/template/_eslintrc.js
+++ /dev/null
@@ -1,171 +0,0 @@
-module.exports = {
- parser: '@typescript-eslint/parser',
- plugins: ['import'],
- parserOptions: {
- sourceType: 'module',
- },
- settings: {
- 'import/resolver': {
- node: {
- extensions: [
- '.js',
- '.jsx',
- '.ts',
- '.tsx',
- '.d.ts',
- '.android.js',
- '.android.jsx',
- '.android.ts',
- '.android.tsx',
- '.ios.js',
- '.ios.jsx',
- '.ios.ts',
- '.ios.tsx',
- '.web.js',
- '.web.jsx',
- '.web.ts',
- '.web.tsx',
- ],
- },
- },
- },
- extends: [
- 'eslint:recommended',
- 'plugin:@typescript-eslint/recommended',
- '@react-native',
- ],
- rules: {
- 'no-undef': 'off',
- quotes: [
- 'error',
- 'single',
- {
- avoidEscape: true,
- },
- ],
- 'max-params': ['error', 3],
- 'no-empty-pattern': 1,
- '@typescript-eslint/no-empty-function': 1,
- '@typescript-eslint/ban-ts-comment': 2,
- '@typescript-eslint/no-explicit-any': 1,
- '@typescript-eslint/explicit-module-boundary-types': 0,
- 'react/jsx-filename-extension': ['error', { extensions: ['.tsx'] }],
- 'react-native/no-unused-styles': 2,
- 'react-native/split-platform-components': 2,
- 'react-native/no-inline-styles': 0,
- 'react-native/no-color-literals': 0,
- 'react-native/no-raw-text': 0,
- 'import/no-extraneous-dependencies': 2,
- 'import/extensions': ['error', 'never', { svg: 'always' }],
- 'for-direction': 2,
- 'no-cond-assign': 2,
- 'no-constant-condition': 2,
- 'no-inline-comments': 2,
- 'no-promise-executor-return': 2,
- 'no-fallthrough': 2,
- 'no-dupe-args': 2,
- 'no-dupe-keys': 2,
- 'no-import-assign': 2,
- 'no-dupe-else-if': 2,
- 'no-duplicate-imports': 2,
- 'no-ex-assign': 2,
- 'padding-line-between-statements': [
- 'error',
- { blankLine: 'always', prev: '*', next: 'return' },
- { blankLine: 'always', prev: '*', next: 'export' },
- { blankLine: 'always', prev: 'break', next: ['case'] },
- { blankLine: 'always', prev: '*', next: 'default' },
- {
- blankLine: 'always',
- prev: ['import', 'cjs-import'],
- next: ['const', 'function', 'iife'],
- },
- {
- blankLine: 'always',
- prev: [
- 'default',
- 'block-like',
- 'cjs-import',
- 'cjs-export',
- 'const',
- 'function',
- 'iife',
- 'expression',
- ],
- next: '*',
- },
- ],
- 'no-shadow': 0,
- 'sort-imports': [
- 'error',
- {
- ignoreCase: true,
- ignoreDeclarationSort: true,
- },
- ],
- 'import/order': [
- 'error',
- {
- groups: [
- 'internal',
- 'external',
- 'builtin',
- 'index',
- 'sibling',
- 'parent',
- ],
- pathGroups: [
- {
- pattern: 'react+(|-native)',
- group: 'external',
- position: 'before',
- },
- {
- pattern: 'react+(|-*)',
- group: 'external',
- position: 'before',
- },
- ],
- pathGroupsExcludedImportTypes: [],
- 'newlines-between': 'always',
- alphabetize: {
- order: 'asc',
- caseInsensitive: true,
- },
- },
- ],
- 'import/no-duplicates': 2,
- 'import/no-useless-path-segments': 2,
- 'import/prefer-default-export': 0,
- 'import/named': 0,
- 'import/namespace': 0,
- 'import/default': 0,
- 'import/no-named-as-default-member': 0,
- 'import/no-named-as-default': 0,
- 'import/no-unused-modules': 0,
- 'import/no-deprecated': 0,
- '@typescript-eslint/indent': 0,
- 'import/no-anonymous-default-export': 2,
- 'react-hooks/rules-of-hooks': 1,
- 'react-hooks/exhaustive-deps': [
- 'warn',
- { additionalHooks: '(useDidMount)' },
- ],
- 'jest/no-identical-title': 2,
- 'jest/valid-expect': 2,
- camelcase: 0,
- 'prefer-destructuring': 2,
- 'no-nested-ternary': 2,
- 'comma-dangle': 0,
- 'prettier/prettier': [
- 'error',
- {
- endOfLine: 'auto',
- },
- ],
- },
- env: {
- node: true,
- es2020: true,
- },
-};
diff --git a/template/_gitignore b/template/_gitignore
index 64dd1052..7f3ba68e 100644
--- a/template/_gitignore
+++ b/template/_gitignore
@@ -1,15 +1,9 @@
# OSX
-
#
-
.DS_Store
-*.hprof
-.cxx/
# Xcode
-
#
-
build/
*.pbxuser
!default.pbxuser
@@ -26,57 +20,32 @@ DerivedData
*.hmap
*.ipa
*.xcuserstate
-.xcode.env.local
+**/.xcode.env.local
# Android/IntelliJ
-
#
-
build/
.idea
-.gradle/
-proguard/
-*.log
-.navigation/
+.gradle
local.properties
*.iml
-*.apk
-*.aab
-*.aar
-*.ap_
-android/**/*.keystore
+*.hprof
+.cxx/
+*.keystore
!debug.keystore
-# Auto generate env
-
-.base.env
-env.d.ts
-env-config.ts
-
# node.js
-
#
-
node_modules/
npm-debug.log
yarn-error.log
-# BUCK
-
-buck-out/
-\.buckd/
-
# fastlane
-
#
-
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-
-# screenshots whenever they are needed
-
-# For more information about the recommended setup visit
-
-#
+# screenshots whenever they are needed.
+# For more information about the recommended setup visit:
+# https://docs.fastlane.tools/best-practices/source-control/
**/fastlane/report.xml
**/fastlane/Preview.html
@@ -84,32 +53,30 @@ buck-out/
**/fastlane/test_output
# Bundle artifact
-
*.jsbundle
-# CocoaPods
-
-/ios/Pods/
+# Ruby / CocoaPods
+**/Pods/
/vendor/bundle/
-ios/prebuild.log
-ios/tmp.xcconfig
-*.app.dSYM.zip
-# testing
+# Temporary files created by Metro to check the health of the file watcher
+.metro-health-check*
+# testing
/coverage
-# Expo
-
-.expo
-dist/
-web-build/
-
# Yarn
-
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
+
+# Expo
+.expo
+dist/
+web-build/
+
+# Sonar
+.scannerwork/
\ No newline at end of file
diff --git a/template/_prettierrc.js b/template/_prettierrc.js
index 74eaef56..eb531752 100644
--- a/template/_prettierrc.js
+++ b/template/_prettierrc.js
@@ -1,7 +1,7 @@
module.exports = {
+ arrowParens: 'avoid',
bracketSpacing: true,
jsxBracketSameLine: true,
singleQuote: true,
trailingComma: 'all',
- arrowParens: 'avoid',
};
diff --git a/template/_watchmanconfig b/template/_watchmanconfig
index 9e26dfee..0967ef42 100644
--- a/template/_watchmanconfig
+++ b/template/_watchmanconfig
@@ -1 +1 @@
-{}
\ No newline at end of file
+{}
diff --git a/template/_yarnrc.yml b/template/_yarnrc.yml
index f207cedb..2a068e50 100644
--- a/template/_yarnrc.yml
+++ b/template/_yarnrc.yml
@@ -6,3 +6,4 @@ plugins:
- .yarn/plugins/plugin-after-install.js
yarnPath: .yarn/releases/yarn-3.6.4.cjs
+
diff --git a/template/android/app/build.gradle b/template/android/app/build.gradle
index d91b5c25..8d2ec320 100644
--- a/template/android/app/build.gradle
+++ b/template/android/app/build.gradle
@@ -3,10 +3,10 @@ apply plugin: "org.jetbrains.kotlin.android"
apply plugin: "com.facebook.react"
project.ext.keyFiles = [
// Default key file when clean project
- debug : 'env/dev.json',
+ debug: 'env/dev.json',
// dev = flavor name
- dev : 'env/dev.json'
+ dev : 'env/dev.json'
]
apply from: project(':react-native-keys').projectDir.getPath() + "/RNKeys.gradle"
@@ -58,6 +58,10 @@ react {
// The list of flags to pass to the Hermes compiler. By default is "-O", "-output-source-map"
// hermesFlags = ["-O", "-output-source-map"]
//
+ // Added by install-expo-modules
+ entryFile = file(["node", "-e", "require('expo/scripts/resolveAppEntry')", rootDir.getAbsoluteFile().getParentFile().getAbsolutePath(), "android", "absolute"].execute(null, rootDir).text.trim())
+ cliFile = new File(["node", "--print", "require.resolve('@expo/cli')"].execute(null, rootDir).text.trim())
+ bundleCommand = "export:embed"
}
/**
@@ -80,17 +84,14 @@ def jscFlavor = 'org.webkit:android-jsc:+'
android {
ndkVersion rootProject.ext.ndkVersion
- flavorDimensions("default")
buildToolsVersion rootProject.ext.buildToolsVersion
compileSdk rootProject.ext.compileSdkVersion
-
- // Keep productFlavors to create variant
- // Multiple Google-service.json: Add file .json to folder Flavor
+ flavorDimensions "default"
productFlavors {
dev {
-
}
}
+
namespace "com.helloworld"
defaultConfig {
resValue "string", "build_config_package", "com.helloworld"
@@ -107,8 +108,6 @@ android {
keyAlias 'androiddebugkey'
keyPassword 'android'
}
- release {
- }
}
buildTypes {
debug {
@@ -118,25 +117,16 @@ android {
// Caution! In production, you need to generate your own keystore file.
// see https://reactnative.dev/docs/signed-apk-android.
signingConfig signingConfigs.debug
- signingConfig signingConfigs.release
minifyEnabled enableProguardInReleaseBuilds
proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro"
}
}
- packagingOptions {
- pickFirst 'lib/x86/libcrypto.so'
- pickFirst 'lib/x86_64/libcrypto.so'
- pickFirst 'lib/armeabi-v7a/libcrypto.so'
- pickFirst 'lib/arm64-v8a/libcrypto.so'
- }
}
dependencies {
// The version of react-native is set by the React Native Gradle Plugin
implementation("com.facebook.react:react-android")
- implementation("com.facebook.react:flipper-integration")
-
if (hermesEnabled.toBoolean()) {
implementation("com.facebook.react:hermes-android")
} else {
@@ -145,12 +135,3 @@ dependencies {
}
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
-
-task prepare() {
- def flavor = project.keys.get("FLAVOR")
- def envPath = project.ext.keyFiles.find { it.key == flavor }?.value
- exec {
- workingDir = rootProject.projectDir.path.replace("/android", "")
- commandLine 'node', './scripts/prepare.js', envPath
- }
-}
\ No newline at end of file
diff --git a/template/android/app/src/debug/AndroidManifest.xml b/template/android/app/src/debug/AndroidManifest.xml
index 9b2a684b..eb98c01a 100644
--- a/template/android/app/src/debug/AndroidManifest.xml
+++ b/template/android/app/src/debug/AndroidManifest.xml
@@ -5,5 +5,5 @@
-
\ No newline at end of file
+ tools:ignore="GoogleAppIndexingWarning"/>
+
diff --git a/template/android/app/src/main/AndroidManifest.xml b/template/android/app/src/main/AndroidManifest.xml
index ccf069df..5f6589ab 100644
--- a/template/android/app/src/main/AndroidManifest.xml
+++ b/template/android/app/src/main/AndroidManifest.xml
@@ -1,26 +1,16 @@
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/template/android/app/src/main/ic_launcher-playstore.png b/template/android/app/src/main/ic_launcher-playstore.png
new file mode 100644
index 00000000..a81616e3
Binary files /dev/null and b/template/android/app/src/main/ic_launcher-playstore.png differ
diff --git a/template/android/app/src/main/java/com/helloworld/MainActivity.kt b/template/android/app/src/main/java/com/helloworld/MainActivity.kt
index 4d82f168..3bfade08 100644
--- a/template/android/app/src/main/java/com/helloworld/MainActivity.kt
+++ b/template/android/app/src/main/java/com/helloworld/MainActivity.kt
@@ -1,6 +1,7 @@
package com.helloworld
-
import android.os.Bundle
+import expo.modules.ReactActivityDelegateWrapper
+
import com.facebook.react.ReactActivity
import com.facebook.react.ReactActivityDelegate
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
@@ -9,10 +10,10 @@ import com.zoontek.rnbootsplash.RNBootSplash
class MainActivity : ReactActivity() {
- override fun onCreate(savedInstanceState: Bundle?) {
- super.onCreate(null)
- RNBootSplash.init(this, R.style.BootTheme)
- }
+ override fun onCreate(savedInstanceState: Bundle?) {
+ RNBootSplash.init(this, R.style.BootTheme)
+ super.onCreate(null)
+ }
/**
* Returns the name of the main component registered from JavaScript. This is used to schedule
@@ -25,5 +26,5 @@ class MainActivity : ReactActivity() {
* which allows you to enable New Architecture with a single boolean flags [fabricEnabled]
*/
override fun createReactActivityDelegate(): ReactActivityDelegate =
- DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled)
+ ReactActivityDelegateWrapper(this, BuildConfig.IS_NEW_ARCHITECTURE_ENABLED, DefaultReactActivityDelegate(this, mainComponentName, fabricEnabled))
}
diff --git a/template/android/app/src/main/java/com/helloworld/MainApplication.kt b/template/android/app/src/main/java/com/helloworld/MainApplication.kt
index b7ad04e4..9c09527e 100644
--- a/template/android/app/src/main/java/com/helloworld/MainApplication.kt
+++ b/template/android/app/src/main/java/com/helloworld/MainApplication.kt
@@ -1,4 +1,7 @@
package com.helloworld
+import android.content.res.Configuration
+import expo.modules.ApplicationLifecycleDispatcher
+import expo.modules.ReactNativeHostWrapper
import android.app.Application
import com.facebook.react.PackageList
@@ -9,13 +12,12 @@ 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.react.flipper.ReactNativeFlipper
import com.facebook.soloader.SoLoader
class MainApplication : Application(), ReactApplication {
override val reactNativeHost: ReactNativeHost =
- object : DefaultReactNativeHost(this) {
+ ReactNativeHostWrapper(this, object : DefaultReactNativeHost(this) {
override fun getPackages(): List =
PackageList(this).packages.apply {
// Packages that cannot be autolinked yet can be added manually here, for example:
@@ -28,10 +30,10 @@ class MainApplication : Application(), ReactApplication {
override val isNewArchEnabled: Boolean = BuildConfig.IS_NEW_ARCHITECTURE_ENABLED
override val isHermesEnabled: Boolean = BuildConfig.IS_HERMES_ENABLED
- }
+ })
override val reactHost: ReactHost
- get() = getDefaultReactHost(this.applicationContext, reactNativeHost)
+ get() = ReactNativeHostWrapper.createReactHost(applicationContext, reactNativeHost)
override fun onCreate() {
super.onCreate()
@@ -40,6 +42,11 @@ class MainApplication : Application(), ReactApplication {
// If you opted-in for the New Architecture, we load the native entry point for this app.
load()
}
- ReactNativeFlipper.initializeFlipper(this, reactNativeHost.reactInstanceManager)
+ ApplicationLifecycleDispatcher.onApplicationCreate(this)
}
-}
\ No newline at end of file
+
+ override fun onConfigurationChanged(newConfig: Configuration) {
+ super.onConfigurationChanged(newConfig)
+ ApplicationLifecycleDispatcher.onConfigurationChanged(this, newConfig)
+ }
+}
diff --git a/template/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png b/template/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png
index a217defa..21a3b5c1 100644
Binary files a/template/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png and b/template/android/app/src/main/res/drawable-hdpi/bootsplash_logo.png differ
diff --git a/template/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png b/template/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png
index c5dda243..5454caaa 100644
Binary files a/template/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png and b/template/android/app/src/main/res/drawable-mdpi/bootsplash_logo.png differ
diff --git a/template/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png b/template/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png
index 5615598e..c614dbc6 100644
Binary files a/template/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png and b/template/android/app/src/main/res/drawable-xhdpi/bootsplash_logo.png differ
diff --git a/template/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png b/template/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png
index e6ad1e64..df633af5 100644
Binary files a/template/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png and b/template/android/app/src/main/res/drawable-xxhdpi/bootsplash_logo.png differ
diff --git a/template/android/app/src/main/res/drawable/rn_edit_text_material.xml b/template/android/app/src/main/res/drawable/rn_edit_text_material.xml
index ab58c0f4..5c25e728 100644
--- a/template/android/app/src/main/res/drawable/rn_edit_text_material.xml
+++ b/template/android/app/src/main/res/drawable/rn_edit_text_material.xml
@@ -1,9 +1,12 @@
-
\ No newline at end of file
+
+
diff --git a/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml b/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
deleted file mode 100644
index 036d09bc..00000000
--- a/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml b/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
deleted file mode 100644
index 036d09bc..00000000
--- a/template/android/app/src/main/res/mipmap-anydpi-v26/ic_launcher_round.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-
-
-
-
-
\ No newline at end of file
diff --git a/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
index bcafbad7..0a63e491 100644
Binary files a/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png and b/template/android/app/src/main/res/mipmap-hdpi/ic_launcher.png differ
diff --git a/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png b/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png
index b7c6218d..c2b8dc18 100644
Binary files a/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png and b/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_foreground.png differ
diff --git a/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png b/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
index 5ad3a3ad..0336ac1c 100644
Binary files a/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png and b/template/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png differ
diff --git a/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
index 621ac7d2..2cf10148 100644
Binary files a/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png and b/template/android/app/src/main/res/mipmap-mdpi/ic_launcher.png differ
diff --git a/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png b/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png
index 53775f29..cee9eb87 100644
Binary files a/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png and b/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_foreground.png differ
diff --git a/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png b/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
index 38e91369..f48b4d91 100644
Binary files a/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png and b/template/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png differ
diff --git a/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
index ef1db239..d458ebcb 100644
Binary files a/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png and b/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png differ
diff --git a/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png b/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png
index b2c6e4e0..1af72d98 100644
Binary files a/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png and b/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_foreground.png differ
diff --git a/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png b/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
index 33fcd4dc..e15126fd 100644
Binary files a/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png and b/template/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png differ
diff --git a/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
index 9e99bb4b..c23273bf 100644
Binary files a/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png and b/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png differ
diff --git a/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png b/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png
index a81b2675..f7771eab 100644
Binary files a/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png and b/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_foreground.png differ
diff --git a/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png b/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
index 14801035..175ec11f 100644
Binary files a/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png and b/template/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png differ
diff --git a/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
index 52928a3c..750d4d29 100644
Binary files a/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png and b/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png differ
diff --git a/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png b/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png
index c3738660..d0d40d11 100644
Binary files a/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png and b/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_foreground.png differ
diff --git a/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png b/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
index face0c3f..76ada0b6 100644
Binary files a/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png and b/template/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png differ
diff --git a/template/android/app/src/main/res/values/colors.xml b/template/android/app/src/main/res/values/colors.xml
index 52bb5f15..8d597fa2 100644
--- a/template/android/app/src/main/res/values/colors.xml
+++ b/template/android/app/src/main/res/values/colors.xml
@@ -1,6 +1,5 @@
-
#00FFFFFF
#FFFFFF
#FFFFFF
-
+
\ No newline at end of file
diff --git a/template/android/app/src/main/res/values/styles.xml b/template/android/app/src/main/res/values/styles.xml
index 22f04327..e688a7c3 100644
--- a/template/android/app/src/main/res/values/styles.xml
+++ b/template/android/app/src/main/res/values/styles.xml
@@ -12,9 +12,10 @@
-
\ No newline at end of file
diff --git a/template/android/build.gradle b/template/android/build.gradle
index 1c4fae03..6fcf4cf7 100644
--- a/template/android/build.gradle
+++ b/template/android/build.gradle
@@ -1,13 +1,11 @@
-// Top-level build file where you can add configuration options common to all sub-projects/modules.
-
buildscript {
ext {
buildToolsVersion = "34.0.0"
minSdkVersion = 26
compileSdkVersion = 34
targetSdkVersion = 34
- ndkVersion = "25.1.8937393"
- kotlinVersion = "1.8.0"
+ ndkVersion = "26.1.10909125"
+ kotlinVersion = "1.9.22"
}
repositories {
google()
@@ -17,7 +15,7 @@ buildscript {
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/template/android/gradle/wrapper/gradle-wrapper.properties b/template/android/gradle/wrapper/gradle-wrapper.properties
index ed2be394..2ea3535d 100644
--- a/template/android/gradle/wrapper/gradle-wrapper.properties
+++ b/template/android/gradle/wrapper/gradle-wrapper.properties
@@ -1,7 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
-distributionUrl=https\://services.gradle.org/distributions/gradle-8.3-all.zip
-validateDistributionUrl=true
+distributionUrl=https\://services.gradle.org/distributions/gradle-8.6-all.zip
networkTimeout=10000
+validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
diff --git a/template/android/gradlew b/template/android/gradlew
index 0adc8e1a..1aa94a42 100755
--- a/template/android/gradlew
+++ b/template/android/gradlew
@@ -145,7 +145,7 @@ 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=SC3045
+ # shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
@@ -153,7 +153,7 @@ if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
- # shellcheck disable=SC3045
+ # shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
@@ -202,11 +202,11 @@ 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, and $GRADLE_OPTS can contain fragments of
-# shell script including quotes and variable substitutions, so put them in
-# double quotes to make sure that they get re-expanded; and
-# * put everything else in single quotes, so that it's not re-expanded.
+# 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" \
diff --git a/template/android/gradlew.bat b/template/android/gradlew.bat
index 6689b85b..7101f8e4 100644
--- a/template/android/gradlew.bat
+++ b/template/android/gradlew.bat
@@ -43,11 +43,11 @@ set JAVA_EXE=java.exe
%JAVA_EXE% -version >NUL 2>&1
if %ERRORLEVEL% equ 0 goto execute
-echo.
-echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
+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
@@ -57,11 +57,11 @@ set JAVA_EXE=%JAVA_HOME%/bin/java.exe
if exist "%JAVA_EXE%" goto execute
-echo.
-echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME%
-echo.
-echo Please set the JAVA_HOME variable in your environment to match the
-echo location of your Java installation.
+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
diff --git a/template/appicon/appicon-dev.png b/template/assets/appicon/appicon-dev.png
similarity index 100%
rename from template/appicon/appicon-dev.png
rename to template/assets/appicon/appicon-dev.png
diff --git a/template/appicon/appicon.png b/template/assets/appicon/appicon.png
similarity index 100%
rename from template/appicon/appicon.png
rename to template/assets/appicon/appicon.png
diff --git a/template/assets/bootsplash_logo.png b/template/assets/bootsplash_logo.png
index 1f85419c..78cc7450 100644
Binary files a/template/assets/bootsplash_logo.png and b/template/assets/bootsplash_logo.png differ
diff --git a/template/assets/bootsplash_logo@1,5x.png b/template/assets/bootsplash_logo@1,5x.png
index 5b8354db..e0509430 100644
Binary files a/template/assets/bootsplash_logo@1,5x.png and b/template/assets/bootsplash_logo@1,5x.png differ
diff --git a/template/assets/bootsplash_logo@2x.png b/template/assets/bootsplash_logo@2x.png
index cea7fd6a..38bd9396 100644
Binary files a/template/assets/bootsplash_logo@2x.png and b/template/assets/bootsplash_logo@2x.png differ
diff --git a/template/assets/bootsplash_logo@3x.png b/template/assets/bootsplash_logo@3x.png
index f072b8bb..edd30cd9 100644
Binary files a/template/assets/bootsplash_logo@3x.png and b/template/assets/bootsplash_logo@3x.png differ
diff --git a/template/src/app/assets/fonts/Manrope-Bold.ttf b/template/assets/fonts/Manrope-Bold.ttf
similarity index 100%
rename from template/src/app/assets/fonts/Manrope-Bold.ttf
rename to template/assets/fonts/Manrope-Bold.ttf
diff --git a/template/src/app/assets/fonts/Manrope-Medium.ttf b/template/assets/fonts/Manrope-Medium.ttf
similarity index 100%
rename from template/src/app/assets/fonts/Manrope-Medium.ttf
rename to template/assets/fonts/Manrope-Medium.ttf
diff --git a/template/src/app/assets/fonts/Manrope-SemiBold.ttf b/template/assets/fonts/Manrope-SemiBold.ttf
similarity index 100%
rename from template/src/app/assets/fonts/Manrope-SemiBold.ttf
rename to template/assets/fonts/Manrope-SemiBold.ttf
diff --git a/template/src/app/assets/fonts/Roboto-Italic.ttf b/template/assets/fonts/Roboto-Italic.ttf
similarity index 100%
rename from template/src/app/assets/fonts/Roboto-Italic.ttf
rename to template/assets/fonts/Roboto-Italic.ttf
diff --git a/template/src/app/assets/fonts/Roboto-Regular.ttf b/template/assets/fonts/Roboto-Regular.ttf
similarity index 100%
rename from template/src/app/assets/fonts/Roboto-Regular.ttf
rename to template/assets/fonts/Roboto-Regular.ttf
diff --git a/template/src/app/assets/fonts/icons.ttf b/template/assets/fonts/icons.ttf
similarity index 100%
rename from template/src/app/assets/fonts/icons.ttf
rename to template/assets/fonts/icons.ttf
diff --git a/template/assets/fonts/index.ts b/template/assets/fonts/index.ts
new file mode 100644
index 00000000..043e37fd
--- /dev/null
+++ b/template/assets/fonts/index.ts
@@ -0,0 +1,8 @@
+export const fonts = {
+ icons: require('./icons.ttf'),
+ manrope_medium: require('./Manrope-Medium.ttf'),
+ manrope_bold: require('./Manrope-Bold.ttf'),
+ manrope_semibold: require('./Manrope-SemiBold.ttf'),
+ roboto_regular: require('./Roboto-Regular.ttf'),
+ roboto_italic: require('./Roboto-Italic.ttf'),
+};
diff --git a/template/src/app/assets/icon/index.ts b/template/assets/icon/index.ts
similarity index 100%
rename from template/src/app/assets/icon/index.ts
rename to template/assets/icon/index.ts
diff --git a/template/src/app/assets/icon/source/chevron_left.png b/template/assets/icon/source/chevron_left.png
similarity index 100%
rename from template/src/app/assets/icon/source/chevron_left.png
rename to template/assets/icon/source/chevron_left.png
diff --git a/template/src/app/assets/icon/source/chevron_right.png b/template/assets/icon/source/chevron_right.png
similarity index 100%
rename from template/src/app/assets/icon/source/chevron_right.png
rename to template/assets/icon/source/chevron_right.png
diff --git a/template/src/app/assets/icon/source/done.png b/template/assets/icon/source/done.png
similarity index 100%
rename from template/src/app/assets/icon/source/done.png
rename to template/assets/icon/source/done.png
diff --git a/template/src/app/assets/image/index.ts b/template/assets/image/index.ts
similarity index 100%
rename from template/src/app/assets/image/index.ts
rename to template/assets/image/index.ts
diff --git a/template/src/app/assets/image/source/bg.png b/template/assets/image/source/bg.png
similarity index 100%
rename from template/src/app/assets/image/source/bg.png
rename to template/assets/image/source/bg.png
diff --git a/template/src/app/assets/image/source/bg@2x.png b/template/assets/image/source/bg@2x.png
similarity index 100%
rename from template/src/app/assets/image/source/bg@2x.png
rename to template/assets/image/source/bg@2x.png
diff --git a/template/src/app/assets/image/source/bg@3x.png b/template/assets/image/source/bg@3x.png
similarity index 100%
rename from template/src/app/assets/image/source/bg@3x.png
rename to template/assets/image/source/bg@3x.png
diff --git a/template/src/app/assets/image/source/default.png b/template/assets/image/source/default.png
similarity index 100%
rename from template/src/app/assets/image/source/default.png
rename to template/assets/image/source/default.png
diff --git a/template/src/app/assets/image/source/default@2x.png b/template/assets/image/source/default@2x.png
similarity index 100%
rename from template/src/app/assets/image/source/default@2x.png
rename to template/assets/image/source/default@2x.png
diff --git a/template/src/app/assets/image/source/default@3x.png b/template/assets/image/source/default@3x.png
similarity index 100%
rename from template/src/app/assets/image/source/default@3x.png
rename to template/assets/image/source/default@3x.png
diff --git a/template/splash/splash.png b/template/assets/splash/splash.png
similarity index 100%
rename from template/splash/splash.png
rename to template/assets/splash/splash.png
diff --git a/template/babel.config.js b/template/babel.config.js
index ffd114b9..f5fd86cb 100644
--- a/template/babel.config.js
+++ b/template/babel.config.js
@@ -1,9 +1,41 @@
module.exports = {
- presets: ['module:@react-native/babel-preset'],
env: {
production: {
plugins: ['transform-remove-console'],
},
},
- plugins: ['react-native-reanimated/plugin'],
+ plugins: [
+ 'react-native-reanimated/plugin',
+ [
+ 'module-resolver',
+ {
+ alias: {
+ '@animated': './src/app/common/animated',
+ '@app-emitter': './src/app/common/emitter',
+ '@app-firebase': './src/app/common/firebase',
+ '@assets': './assets',
+ '@common': './src/app/common',
+ '@components': './src/app/library/components',
+ '@env': './env-config',
+ '@hooks': './src/app/common/hooks',
+ '@listener': './src/app/common/redux/listener.ts',
+ '@model': './src/app/model',
+ '@navigation': './src/app/navigation',
+ '@networking': './src/app/library/networking',
+ '@redux-action-type': './src/app/redux/action-type',
+ '@redux-selector': './src/app/redux/selector',
+ '@redux-slice': './src/app/redux/action-slice',
+ '@rn-core': './src/app/library/components/core',
+ '@screens': './src/app/screens',
+ '@storage': './src/app/library/utils/storage',
+ '@store': './src/app/redux/store',
+ '@theme': './src/app/themes',
+ '@utils': './src/app/library/utils',
+ '@validate': './src/app/common/zod-validate',
+ },
+ root: ['./'],
+ },
+ ],
+ ],
+ presets: ['module:@react-native/babel-preset'],
};
diff --git a/template/declare/array/index.d.ts b/template/declare/@types/array.d.ts
similarity index 80%
rename from template/declare/array/index.d.ts
rename to template/declare/@types/array.d.ts
index a03c36ac..9e3314fc 100644
--- a/template/declare/array/index.d.ts
+++ b/template/declare/@types/array.d.ts
@@ -11,4 +11,8 @@ declare global {
*/
searchAllProps(keyword: string | number): Array;
}
+
+ interface ArrayConstructor {
+ validArray(source: T[]): T[];
+ }
}
diff --git a/template/declare/global/index.d.ts b/template/declare/@types/global.d.ts
similarity index 84%
rename from template/declare/global/index.d.ts
rename to template/declare/@types/global.d.ts
index bb7d9b7a..de89c6af 100644
--- a/template/declare/global/index.d.ts
+++ b/template/declare/@types/global.d.ts
@@ -14,7 +14,27 @@ declare module 'react' {
props: P & import('react').RefAttributes,
) => import('react').ReactElement | null;
}
+
declare global {
+ type TypesBase =
+ | 'bigint'
+ | 'boolean'
+ | 'function'
+ | 'number'
+ | 'object'
+ | 'string'
+ | 'symbol'
+ | 'undefined';
+
+ function isTypeof(source: any, type: TypesBase): source is TypesBase;
+
+ function execFunc any>(
+ func?: Fn,
+ ...args: Parameters
+ ): void;
+
+ function randomUniqueId(): string;
+
type ActionBase = T extends undefined
? {
type: string;
diff --git a/template/declare/number/index.d.ts b/template/declare/@types/number.d.ts
similarity index 100%
rename from template/declare/number/index.d.ts
rename to template/declare/@types/number.d.ts
diff --git a/template/declare/@types/string.d.ts b/template/declare/@types/string.d.ts
new file mode 100644
index 00000000..d2739d45
--- /dev/null
+++ b/template/declare/@types/string.d.ts
@@ -0,0 +1,30 @@
+export {};
+
+declare global {
+ interface String {
+ /**
+ * Convert string to camel case
+ */
+ capitalize(): string;
+
+ /**
+ * Convert all UTF-8 to ASCII lowercase.
+ */
+ changeAlias(): string;
+
+ /**
+ * Return true if string is empty
+ */
+ isEmpty(): boolean;
+
+ /**
+ * Remove all characters except 0-9
+ */
+ removeChar(): string;
+
+ /**
+ * Get all URL from string
+ */
+ getURL(): Array;
+ }
+}
diff --git a/template/declare/array/index.ts b/template/declare/array/index.ts
index a147dff5..6209f87c 100644
--- a/template/declare/array/index.ts
+++ b/template/declare/array/index.ts
@@ -15,3 +15,11 @@ Array.prototype.searchAllProps = function (keyword: string | number) {
});
});
};
+
+Array.validArray = function (source: T[]): T[] {
+ if (Array.isArray(source)) {
+ return source;
+ }
+
+ return [] as T[];
+};
diff --git a/template/declare/global/index.ts b/template/declare/global/index.ts
new file mode 100644
index 00000000..fa376adb
--- /dev/null
+++ b/template/declare/global/index.ts
@@ -0,0 +1,28 @@
+globalThis.randomUniqueId = function () {
+ return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
+ // eslint-disable-next-line no-bitwise
+ const r = (Math.random() * 16) | 0,
+ // eslint-disable-next-line no-bitwise
+ v = c === 'x' ? r : (r & 0x3) | 0x8;
+
+ return v.toString(16);
+ });
+};
+
+globalThis.execFunc = function any>(
+ func?: Fn,
+ ...args: Parameters
+) {
+ if (typeof func === 'function') {
+ func(...args);
+ }
+};
+
+globalThis.isTypeof = function (
+ source: any,
+ type: TypesBase,
+): source is TypesBase {
+ return typeof source === type;
+};
+
+export {};
diff --git a/template/declare/index.ts b/template/declare/index.ts
index d55c418e..1f864739 100644
--- a/template/declare/index.ts
+++ b/template/declare/index.ts
@@ -3,3 +3,5 @@ export * from './string';
export * from './array';
export * from './number';
+
+export * from './global';
diff --git a/template/declare/number/index.ts b/template/declare/number/index.ts
index d046a9f5..aa746833 100644
--- a/template/declare/number/index.ts
+++ b/template/declare/number/index.ts
@@ -19,7 +19,44 @@ Number.prototype.toTime = function () {
};
Number.prototype.currencyFormat = function (comma = ',') {
- return String(this).replace(/(\d)(?=(\d{3})+\b)/g, `$1${comma}`);
+ const numberStr = this.toString();
+
+ console.log(numberStr);
+
+ // Split the number into integer and decimal parts
+ let [integerPart, decimalPart] = numberStr.split('.');
+
+ // Function to add commas to a part of the number
+ function addCommas(part: string) {
+ let result = '';
+ let count = 0;
+
+ // Traverse the part from right to left and add commas
+ for (let i = part.length - 1; i >= 0; i--) {
+ result = part[i] + result;
+
+ count++;
+
+ if (count === 3 && i !== 0) {
+ result = comma + result;
+
+ count = 0;
+ }
+ }
+
+ return result;
+ }
+
+ // Format integer and decimal parts
+ integerPart = addCommas(integerPart);
+
+ if (decimalPart) {
+ decimalPart = addCommas(decimalPart);
+
+ return `${integerPart}.${decimalPart}`;
+ } else {
+ return integerPart;
+ }
};
Number.prototype.roundMaxFixed = function (maxDecimals = 2) {
diff --git a/template/declare/string/constant.ts b/template/declare/string/constant.ts
deleted file mode 100644
index 8406525b..00000000
--- a/template/declare/string/constant.ts
+++ /dev/null
@@ -1,101 +0,0 @@
-export const KANA_FULL_HALF_MAP = {
- ガ: 'ガ',
- ギ: 'ギ',
- グ: 'グ',
- ゲ: 'ゲ',
- ゴ: 'ゴ',
- ザ: 'ザ',
- ジ: 'ジ',
- ズ: 'ズ',
- ゼ: 'ゼ',
- ゾ: 'ゾ',
- ダ: 'ダ',
- ヂ: 'ヂ',
- ヅ: 'ヅ',
- デ: 'デ',
- ド: 'ド',
- バ: 'バ',
- ビ: 'ビ',
- ブ: 'ブ',
- ベ: 'ベ',
- ボ: 'ボ',
- パ: 'パ',
- ピ: 'ピ',
- プ: 'プ',
- ペ: 'ペ',
- ポ: 'ポ',
- ヴ: 'ヴ',
- ヷ: 'ヷ',
- ヺ: 'ヺ',
- ア: 'ア',
- イ: 'イ',
- ウ: 'ウ',
- エ: 'エ',
- オ: 'オ',
- カ: 'カ',
- キ: 'キ',
- ク: 'ク',
- ケ: 'ケ',
- コ: 'コ',
- サ: 'サ',
- シ: 'シ',
- ス: 'ス',
- セ: 'セ',
- ソ: 'ソ',
- タ: 'タ',
- チ: 'チ',
- ツ: 'ツ',
- テ: 'テ',
- ト: 'ト',
- ナ: 'ナ',
- ニ: 'ニ',
- ヌ: 'ヌ',
- ネ: 'ネ',
- ノ: 'ノ',
- ハ: 'ハ',
- ヒ: 'ヒ',
- フ: 'フ',
- ヘ: 'ヘ',
- ホ: 'ホ',
- マ: 'マ',
- ミ: 'ミ',
- ム: 'ム',
- メ: 'メ',
- モ: 'モ',
- ヤ: 'ヤ',
- ユ: 'ユ',
- ヨ: 'ヨ',
- ラ: 'ラ',
- リ: 'リ',
- ル: 'ル',
- レ: 'レ',
- ロ: 'ロ',
- ワ: 'ワ',
- ヲ: 'ヲ',
- ン: 'ン',
- ァ: 'ァ',
- ィ: 'ィ',
- ゥ: 'ゥ',
- ェ: 'ェ',
- ォ: 'ォ',
- ッ: 'ッ',
- ャ: 'ャ',
- ュ: 'ュ',
- ョ: 'ョ',
- '。': '。',
- '、': '、',
- ー: 'ー',
- '「': '「',
- '」': '」',
- '・': '・',
- '1': '1',
- '2': '2',
- '3': '3',
- '4': '4',
- '5': '5',
- '6': '6',
- '7': '7',
- '8': '8',
- '9': '9',
- '0': '0',
-} as Record;
diff --git a/template/declare/string/index.d.ts b/template/declare/string/index.d.ts
deleted file mode 100644
index 255d226c..00000000
--- a/template/declare/string/index.d.ts
+++ /dev/null
@@ -1,60 +0,0 @@
-export {};
-
-declare global {
- interface String {
- /**
- * Convert string to camel case
- */
- capitalize(): string;
-
- /**
- * Convert all UTF-8 to ASCII lowercase.
- */
- changeAlias(): string;
-
- /**
- * Remove html tag from string
- */
- removeHtmlTag(): string;
-
- /**
- * Return true if string is empty
- */
- isEmpty(): boolean;
-
- /**
- * Remove all characters except 0-9
- */
- removeChar(): string;
-
- /**
- * Get all URL from string
- */
- getURL(): Array;
-
- /**
- * Replaces all match with string
- */
- replaceAll(searchValue: string, replaceValue: string): string;
-
- /**
- * Convert string color to hex color
- */
- toHexColor(): string;
-
- /**
- * Convert japanese full width to half width
- */
- toHalfWidth(): string;
-
- /**
- * Convert japanese half width to full width
- */
- toFullWidth(): string;
-
- /**
- * Create random string ID
- */
- randomUniqueId(): string;
- }
-}
diff --git a/template/declare/string/index.ts b/template/declare/string/index.ts
index 84aceccf..9260e2de 100644
--- a/template/declare/string/index.ts
+++ b/template/declare/string/index.ts
@@ -1,46 +1,39 @@
/* eslint-disable no-extend-native */
-import { processColor } from 'react-native';
-
-import { KANA_FULL_HALF_MAP } from './constant';
String.prototype.capitalize = function () {
return this.charAt(0).toUpperCase() + this.slice(1);
};
String.prototype.changeAlias = function () {
- let str = this + '';
- str = str.toLowerCase();
+ let str = this.toLowerCase();
- str = str.replace(/à|á|ạ|ả|ã|â|ầ|ấ|ậ|ẩ|ẫ|ă|ằ|ắ|ặ|ẳ|ẵ/g, 'a');
+ // Replace Vietnamese diacritics
+ str = str.replace(/[àáạảãâầấậẩẫăằắặẳẵ]/g, 'a');
- str = str.replace(/è|é|ẹ|ẻ|ẽ|ê|ề|ế|ệ|ể|ễ/g, 'e');
+ str = str.replace(/[èéẹẻẽêềếệểễ]/g, 'e');
- str = str.replace(/ì|í|ị|ỉ|ĩ/g, 'i');
+ str = str.replace(/[ìíịỉĩ]/g, 'i');
- str = str.replace(/ò|ó|ọ|ỏ|õ|ô|ồ|ố|ộ|ổ|ỗ|ơ|ờ|ớ|ợ|ở|ỡ/g, 'o');
+ str = str.replace(/[òóọỏõôồốộổỗơờớợởỡ]/g, 'o');
- str = str.replace(/ù|ú|ụ|ủ|ũ|ư|ừ|ứ|ự|ử|ữ/g, 'u');
+ str = str.replace(/[ùúụủũưừứựửữ]/g, 'u');
- str = str.replace(/ỳ|ý|ỵ|ỷ|ỹ/g, 'y');
+ str = str.replace(/[ỳýỵỷỹ]/g, 'y');
str = str.replace(/đ/g, 'd');
- str = str.replace(
- /!|@|%|\^|\*|\(|\)|\+|=|<|>|\?|\/|,|\.|:|;|'|"|&|#|\[|\]|~|\$|_|`|-|{|}|\||\\/g,
- '',
- );
+ // Remove special characters
+ str = str.replace(/[!@%^*()+=<>,.?/:;'"[]~$_`{|}|\\-]+/g, '');
- str = str.replace(/ + /g, ' ');
+ // Replace multiple spaces with single space
+ str = str.replace(/ +/g, ' ');
+ // Trim leading and trailing spaces
str = str.trim();
return str;
};
-String.prototype.removeHtmlTag = function () {
- return this.replace(/<\/?[^>]+(>|$)/g, '');
-};
-
String.prototype.isEmpty = function () {
return this.trim().length === 0;
};
@@ -50,72 +43,11 @@ String.prototype.removeChar = function () {
};
String.prototype.getURL = function () {
+ // Simplified URL detection regex
const detectUrls =
- /((?:[a-z]+:\/\/)?(?:(?:[a-z0-9\-]+\.)+(?:[a-z]{2}|aero|arpa|biz|com|coop|edu|gov|info|int|jobs|mil|museum|name|nato|net|org|pro|travel|local|internal))(?::[0-9]{1,5})?(?:\/[a-z0-9_\-.~]+)*(?:\/(?:[a-z0-9_\-.]*)(?:\?[a-z0-9+_\-.%=&]*)?)?(?:#[a-zA-Z0-9!$&'(?:)*+.=-_~:@/?]*)?)(?:\s+|$)/;
-
- return this.split(detectUrls).filter(v => detectUrls.test(v));
-};
-
-String.prototype.replaceAll = function (
- searchValue: string,
- replaceValue: string,
-) {
- return this.split(searchValue).join(replaceValue);
-};
-
-String.prototype.toHexColor = function () {
- const processedColor = processColor(this as string);
-
- const colorStr = `${(processedColor ?? '').toString(16)}`;
-
- const withoutAlpha = colorStr.substring(2, colorStr.length);
-
- const alpha = colorStr.substring(0, 2);
-
- return `#${withoutAlpha}${alpha}`;
-};
-
-String.prototype.toHalfWidth = function () {
- const reg = new RegExp(
- '(' + Object.keys(KANA_FULL_HALF_MAP).join('|') + ')',
- 'g',
- );
-
- return this.replace(reg, function (match) {
- return KANA_FULL_HALF_MAP[match];
- })
- .replace(/゛/g, '゙')
- .replace(/゜/g, '゚');
-};
-
-String.prototype.toFullWidth = function () {
- const kanaHalfFullMap: Record = {};
-
- Object.keys(KANA_FULL_HALF_MAP).forEach(key => {
- kanaHalfFullMap[KANA_FULL_HALF_MAP[key]] = key;
- });
-
- const reg = new RegExp(
- '(' + Object.keys(kanaHalfFullMap).join('|') + ')',
- 'g',
- );
-
- return this.replace(reg, function (match) {
- return kanaHalfFullMap[match];
- })
- .replace(/゙/g, '゛')
- .replace(/゚/g, '゜');
-};
-
-String.prototype.randomUniqueId = function () {
- return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
- // eslint-disable-next-line no-bitwise
- const r = (Math.random() * 16) | 0,
- // eslint-disable-next-line no-bitwise
- v = c === 'x' ? r : (r & 0x3) | 0x8;
+ /\b(?:https?|ftp):\/\/[-A-Z0-9+&@#/%?=~_|$!:,.;]*[A-Z0-9+&@#/%=~_|$]/gi;
- return v.toString(16);
- });
+ return this.match(detectUrls) || [];
};
export {};
diff --git a/template/env-config.ts b/template/env-config.ts
index e4c736ba..c82668a9 100644
--- a/template/env-config.ts
+++ b/template/env-config.ts
@@ -4,7 +4,7 @@
import Keys from 'react-native-keys';
-export const APP_BUILD_VERSION = '1.0.0.2024.01.03.22.10';
+export const APP_BUILD_VERSION = '1.0.0.2024.07.16.20.16';
export const { DEFAULT_FALLBACK_LNG_I18n } = Keys;
diff --git a/template/eslint.config.mjs b/template/eslint.config.mjs
new file mode 100644
index 00000000..97efd5ef
--- /dev/null
+++ b/template/eslint.config.mjs
@@ -0,0 +1,261 @@
+import { fixupPluginRules } from '@eslint/compat';
+import { FlatCompat } from '@eslint/eslintrc';
+import js from '@eslint/js';
+import tsParser from '@typescript-eslint/parser';
+import _import from 'eslint-plugin-import';
+import _sortKeysFix from 'eslint-plugin-sort-keys-fix';
+
+import path from 'node:path';
+import { fileURLToPath } from 'node:url';
+
+const __filename = fileURLToPath(import.meta.url);
+
+const __dirname = path.dirname(__filename);
+
+const compat = new FlatCompat({
+ allConfig: js.configs.all,
+ baseDirectory: __dirname,
+ recommendedConfig: js.configs.recommended,
+});
+
+export default [
+ ...compat.extends(
+ 'eslint:recommended',
+ 'plugin:@typescript-eslint/recommended',
+ '@react-native',
+ ),
+ {
+ languageOptions: {
+ ecmaVersion: 5,
+ parser: tsParser,
+ sourceType: 'module',
+ },
+
+ plugins: {
+ import: fixupPluginRules(_import),
+ sortKeysFix: fixupPluginRules(_sortKeysFix),
+ },
+
+ rules: {
+ '@typescript-eslint/ban-ts-comment': 2,
+ '@typescript-eslint/explicit-module-boundary-types': 0,
+ '@typescript-eslint/indent': 0,
+ '@typescript-eslint/no-empty-function': 1,
+
+ '@typescript-eslint/no-explicit-any': 1,
+ camelcase: 0,
+ 'comma-dangle': 0,
+ 'for-direction': 2,
+ 'import/default': 0,
+ 'import/extensions': [
+ 'error',
+ 'never',
+ {
+ svg: 'always',
+ },
+ ],
+
+ 'import/named': 0,
+
+ 'import/namespace': 0,
+ 'import/no-anonymous-default-export': [
+ 'error',
+ {
+ allowAnonymousClass: false,
+ allowAnonymousFunction: false,
+ allowArray: true,
+ allowArrowFunction: false,
+ allowCallExpression: true,
+ allowLiteral: false,
+ allowNew: false,
+ allowObject: false,
+ },
+ ],
+ 'import/no-deprecated': 0,
+ 'import/no-duplicates': 2,
+ 'import/no-extraneous-dependencies': 2,
+ 'import/no-named-as-default': 0,
+
+ 'import/no-named-as-default-member': 0,
+
+ 'import/no-unused-modules': 0,
+ 'import/no-useless-path-segments': 2,
+ 'import/order': [
+ 'error',
+ {
+ alphabetize: {
+ caseInsensitive: true,
+ order: 'asc',
+ },
+
+ groups: [
+ 'internal',
+ 'external',
+ 'builtin',
+ 'index',
+ 'sibling',
+ 'parent',
+ ],
+
+ 'newlines-between': 'always',
+ pathGroups: [
+ {
+ group: 'external',
+ pattern: 'react+(|-native)',
+ position: 'before',
+ },
+ {
+ group: 'external',
+ pattern: 'react+(|-*)',
+ position: 'before',
+ },
+ ],
+
+ pathGroupsExcludedImportTypes: [],
+ },
+ ],
+ 'import/prefer-default-export': 0,
+ 'jest/no-identical-title': 2,
+ 'jest/valid-expect': 2,
+ 'max-params': ['error', 3],
+ 'no-cond-assign': 2,
+ 'no-constant-condition': 2,
+ 'no-dupe-args': 2,
+ 'no-dupe-else-if': 2,
+ 'no-dupe-keys': 2,
+
+ 'no-duplicate-imports': 2,
+
+ 'no-empty-pattern': 1,
+
+ 'no-ex-assign': 2,
+
+ 'no-fallthrough': 2,
+
+ 'no-import-assign': 2,
+ 'no-inline-comments': 2,
+ 'no-nested-ternary': 2,
+ 'no-promise-executor-return': 2,
+ 'no-shadow': 0,
+ 'no-undef': 'off',
+ 'padding-line-between-statements': [
+ 'error',
+ {
+ blankLine: 'always',
+ next: 'return',
+ prev: '*',
+ },
+ {
+ blankLine: 'always',
+ next: 'export',
+ prev: '*',
+ },
+ {
+ blankLine: 'always',
+ next: ['case'],
+ prev: 'break',
+ },
+ {
+ blankLine: 'always',
+ next: 'default',
+ prev: '*',
+ },
+ {
+ blankLine: 'always',
+ next: ['const', 'function', 'iife'],
+ prev: ['import', 'cjs-import'],
+ },
+ {
+ blankLine: 'always',
+
+ next: '*',
+
+ prev: [
+ 'default',
+ 'block-like',
+ 'cjs-import',
+ 'cjs-export',
+ 'const',
+ 'function',
+ 'iife',
+ 'expression',
+ ],
+ },
+ ],
+ 'prefer-destructuring': 2,
+ 'prettier/prettier': [
+ 'error',
+ {
+ endOfLine: 'auto',
+ },
+ ],
+ quotes: [
+ 'error',
+ 'single',
+ {
+ avoidEscape: true,
+ },
+ ],
+ 'react-hooks/exhaustive-deps': [
+ 'warn',
+ {
+ additionalHooks: '(useDidMount)',
+ },
+ ],
+ 'react-hooks/rules-of-hooks': 1,
+ 'react-native/no-color-literals': 0,
+
+ 'react-native/no-inline-styles': 0,
+
+ 'react-native/no-raw-text': 0,
+ 'react-native/no-unused-styles': 2,
+ 'react-native/split-platform-components': 2,
+ 'react/jsx-filename-extension': [
+ 'error',
+ {
+ extensions: ['.tsx'],
+ },
+ ],
+ 'sort-imports': [
+ 'error',
+ {
+ ignoreCase: true,
+ ignoreDeclarationSort: true,
+ },
+ ],
+ 'sort-keys': [
+ 'error',
+ 'asc',
+ { caseSensitive: true, minKeys: 2, natural: false },
+ ],
+
+ 'sortKeysFix/sort-keys-fix': 'warn',
+ },
+
+ settings: {
+ 'import/resolver': {
+ node: {
+ extensions: [
+ '.js',
+ '.jsx',
+ '.ts',
+ '.tsx',
+ '.d.ts',
+ '.android.js',
+ '.android.jsx',
+ '.android.ts',
+ '.android.tsx',
+ '.ios.js',
+ '.ios.jsx',
+ '.ios.ts',
+ '.ios.tsx',
+ '.web.js',
+ '.web.jsx',
+ '.web.ts',
+ '.web.tsx',
+ ],
+ },
+ },
+ },
+ },
+];
diff --git a/template/index.js b/template/index.js
index 3d2236f5..ab4cc87c 100644
--- a/template/index.js
+++ b/template/index.js
@@ -1,3 +1,4 @@
+import 'expo-dev-client';
import { AppRegistry, Text, TextInput } from 'react-native';
import 'react-native-gesture-handler';
diff --git a/template/ios/Config.xcconfig b/template/ios/Config.xcconfig
index e6e6a4be..31a4627d 100644
--- a/template/ios/Config.xcconfig
+++ b/template/ios/Config.xcconfig
@@ -1,7 +1 @@
-//
-// Config.xcconfig
-// HelloWorld
-
-// Configuration settings file format documentation can be found at:
-// https://help.apple.com/xcode/#/dev745c5c974
#include? "tmp.xcconfig"
diff --git a/template/ios/HelloWorld.xcodeproj/project.pbxproj b/template/ios/HelloWorld.xcodeproj/project.pbxproj
index 6142817b..7bab12b1 100644
--- a/template/ios/HelloWorld.xcodeproj/project.pbxproj
+++ b/template/ios/HelloWorld.xcodeproj/project.pbxproj
@@ -7,34 +7,37 @@
objects = {
/* Begin PBXBuildFile section */
+ 031A1BC4E57874A2693B9C2A /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 18B8A7E54402F6AB72883A32 /* PrivacyInfo.xcprivacy */; };
0C80B921A6F3F58F76C31292 /* libPods-HelloWorld.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-HelloWorld.a */; };
+ 12A5C73F2C369BE600F44B7A /* Config.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 12A5C73E2C369BE600F44B7A /* Config.xcconfig */; };
+ 12A5C7442C369ECC00F44B7A /* BootSplash.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 12A5C7432C369ECC00F44B7A /* BootSplash.storyboard */; };
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 */; };
- 6132EF182BDFF13200BBE14D /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */; };
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
- 84A0520D284A6BB2006E9CDE /* Config.xcconfig in Resources */ = {isa = PBXBuildFile; fileRef = 84A0520C284A6BB2006E9CDE /* Config.xcconfig */; };
- 84C424AD2A3058D300987B13 /* BootSplash.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 84C424AC2A3058D300987B13 /* BootSplash.storyboard */; };
- D9755AEC55959846DA126270 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6773465A2BCE2EDCD12D172 /* ExpoModulesProvider.swift */; };
+ B07EF647EA29CCD567AE5CE4 /* ExpoModulesProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6B1C083ADE0C2EBB46E808F6 /* ExpoModulesProvider.swift */; };
/* End PBXBuildFile section */
/* Begin PBXFileReference section */
+ 12A5C73B2C36974400F44B7A /* HelloWorld-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "HelloWorld-Bridging-Header.h"; sourceTree = ""; };
+ 12A5C73E2C369BE600F44B7A /* Config.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; };
+ 12A5C7432C369ECC00F44B7A /* BootSplash.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = BootSplash.storyboard; path = HelloWorld/Splash/BootSplash.storyboard; sourceTree = ""; };
13B07F961A680F5B00A75B9A /* HelloWorld.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = HelloWorld.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = HelloWorld/AppDelegate.h; sourceTree = ""; };
13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = HelloWorld/AppDelegate.mm; sourceTree = ""; };
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = HelloWorld/Images.xcassets; sourceTree = ""; };
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = HelloWorld/Info.plist; sourceTree = ""; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = HelloWorld/main.m; sourceTree = ""; };
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = HelloWorld/PrivacyInfo.xcprivacy; sourceTree = ""; };
+ 18B8A7E54402F6AB72883A32 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = HelloWorld/PrivacyInfo.xcprivacy; sourceTree = ""; };
19F6CBCC0A4E27FBF8BF4A61 /* libPods-HelloWorld-HelloWorldTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HelloWorld-HelloWorldTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
- 6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = HelloWorld/PrivacyInfo.xcprivacy; sourceTree = ""; };
+ 3B4392A12AC88292D35C810B /* Pods-HelloWorld.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld.debug.xcconfig"; path = "Target Support Files/Pods-HelloWorld/Pods-HelloWorld.debug.xcconfig"; sourceTree = ""; };
+ 5709B34CF0A7D63546082F79 /* Pods-HelloWorld.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld.release.xcconfig"; path = "Target Support Files/Pods-HelloWorld/Pods-HelloWorld.release.xcconfig"; sourceTree = ""; };
+ 5B7EB9410499542E8C5724F5 /* Pods-HelloWorld-HelloWorldTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld-HelloWorldTests.debug.xcconfig"; path = "Target Support Files/Pods-HelloWorld-HelloWorldTests/Pods-HelloWorld-HelloWorldTests.debug.xcconfig"; sourceTree = ""; };
5DCACB8F33CDC322A6C60F78 /* libPods-HelloWorld.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-HelloWorld.a"; sourceTree = BUILT_PRODUCTS_DIR; };
+ 6B1C083ADE0C2EBB46E808F6 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-HelloWorld/ExpoModulesProvider.swift"; sourceTree = ""; };
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = HelloWorld/LaunchScreen.storyboard; sourceTree = ""; };
- 84A05204284A6969006E9CDE /* HelloWorld-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "HelloWorld-Bridging-Header.h"; sourceTree = ""; };
- 84A0520C284A6BB2006E9CDE /* Config.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; path = Config.xcconfig; sourceTree = ""; };
- 84C424AC2A3058D300987B13 /* BootSplash.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; path = BootSplash.storyboard; sourceTree = ""; };
- 9D402291CF13C92EC5D47545 /* Pods-HelloWorld.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld.release.xcconfig"; path = "Target Support Files/Pods-HelloWorld/Pods-HelloWorld.release.xcconfig"; sourceTree = ""; };
- A9ACCB12B180D08045C86147 /* Pods-HelloWorld.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld.debug.xcconfig"; path = "Target Support Files/Pods-HelloWorld/Pods-HelloWorld.debug.xcconfig"; sourceTree = ""; };
- C6773465A2BCE2EDCD12D172 /* ExpoModulesProvider.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ExpoModulesProvider.swift; path = "Pods/Target Support Files/Pods-HelloWorld/ExpoModulesProvider.swift"; sourceTree = ""; };
+ 89C6BE57DB24E9ADA2F236DE /* Pods-HelloWorld-HelloWorldTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-HelloWorld-HelloWorldTests.release.xcconfig"; path = "Target Support Files/Pods-HelloWorld-HelloWorldTests/Pods-HelloWorld-HelloWorldTests.release.xcconfig"; sourceTree = ""; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
/* End PBXFileReference section */
@@ -50,28 +53,37 @@
/* End PBXFrameworksBuildPhase section */
/* Begin PBXGroup section */
+ 12A5C7422C369EBD00F44B7A /* Splash */ = {
+ isa = PBXGroup;
+ children = (
+ 12A5C7432C369ECC00F44B7A /* BootSplash.storyboard */,
+ );
+ name = Splash;
+ sourceTree = "";
+ };
13B07FAE1A68108700A75B9A /* HelloWorld */ = {
isa = PBXGroup;
children = (
- 84C424AB2A3058D300987B13 /* Splash */,
- 84A0520C284A6BB2006E9CDE /* Config.xcconfig */,
- 84A05204284A6969006E9CDE /* HelloWorld-Bridging-Header.h */,
+ 12A5C7422C369EBD00F44B7A /* Splash */,
+ 12A5C73B2C36974400F44B7A /* HelloWorld-Bridging-Header.h */,
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
13B07FB01A68108700A75B9A /* AppDelegate.mm */,
13B07FB51A68108700A75B9A /* Images.xcassets */,
13B07FB61A68108700A75B9A /* Info.plist */,
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
13B07FB71A68108700A75B9A /* main.m */,
+ 13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
+ 18B8A7E54402F6AB72883A32 /* PrivacyInfo.xcprivacy */,
);
name = HelloWorld;
sourceTree = "";
};
- 253B7F3A1EA4DA634891098D /* ExpoModulesProviders */ = {
+ 1E1B805D80B0E5FF230555A2 /* HelloWorld */ = {
isa = PBXGroup;
children = (
- 3D7C7375966A931763719381 /* HelloWorld */,
+ 6B1C083ADE0C2EBB46E808F6 /* ExpoModulesProvider.swift */,
);
- name = ExpoModulesProviders;
+ name = HelloWorld;
sourceTree = "";
};
2D16E6871FA4F8E400B85C8A /* Frameworks */ = {
@@ -84,22 +96,12 @@
name = Frameworks;
sourceTree = "";
};
- 3D7C7375966A931763719381 /* HelloWorld */ = {
- isa = PBXGroup;
- children = (
- C6773465A2BCE2EDCD12D172 /* ExpoModulesProvider.swift */,
- );
- name = HelloWorld;
- sourceTree = "";
- };
- 634607AE941723316B16E6B5 /* Pods */ = {
+ 46FF9FD08C480FB88DCF81C2 /* ExpoModulesProviders */ = {
isa = PBXGroup;
children = (
- A9ACCB12B180D08045C86147 /* Pods-HelloWorld.debug.xcconfig */,
- 9D402291CF13C92EC5D47545 /* Pods-HelloWorld.release.xcconfig */,
+ 1E1B805D80B0E5FF230555A2 /* HelloWorld */,
);
- name = Pods;
- path = Pods;
+ name = ExpoModulesProviders;
sourceTree = "";
};
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
@@ -112,13 +114,13 @@
83CBB9F61A601CBA00E9B192 = {
isa = PBXGroup;
children = (
- 6132EF172BDFF13200BBE14D /* PrivacyInfo.xcprivacy */,
+ 12A5C73E2C369BE600F44B7A /* Config.xcconfig */,
13B07FAE1A68108700A75B9A /* HelloWorld */,
832341AE1AAA6A7D00B99B32 /* Libraries */,
83CBBA001A601CBA00E9B192 /* Products */,
2D16E6871FA4F8E400B85C8A /* Frameworks */,
- 634607AE941723316B16E6B5 /* Pods */,
- 253B7F3A1EA4DA634891098D /* ExpoModulesProviders */,
+ BBD78D7AC51CEA395F1C20DB /* Pods */,
+ 46FF9FD08C480FB88DCF81C2 /* ExpoModulesProviders */,
);
indentWidth = 2;
sourceTree = "";
@@ -133,13 +135,15 @@
name = Products;
sourceTree = "";
};
- 84C424AB2A3058D300987B13 /* Splash */ = {
+ BBD78D7AC51CEA395F1C20DB /* Pods */ = {
isa = PBXGroup;
children = (
- 84C424AC2A3058D300987B13 /* BootSplash.storyboard */,
+ 3B4392A12AC88292D35C810B /* Pods-HelloWorld.debug.xcconfig */,
+ 5709B34CF0A7D63546082F79 /* Pods-HelloWorld.release.xcconfig */,
+ 5B7EB9410499542E8C5724F5 /* Pods-HelloWorld-HelloWorldTests.debug.xcconfig */,
+ 89C6BE57DB24E9ADA2F236DE /* Pods-HelloWorld-HelloWorldTests.release.xcconfig */,
);
- name = Splash;
- path = HelloWorld/Splash;
+ path = Pods;
sourceTree = "";
};
/* End PBXGroup section */
@@ -150,10 +154,10 @@
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "HelloWorld" */;
buildPhases = (
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
- BC62103B77C54A3F2EDBBCF1 /* [Expo] Configure project */,
+ C9047ECB0F86AF7888407940 /* [Expo] Configure project */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
- 84EA935C289439F20031D295 /* Setup Firebase Environment GoogleService-Info.plist */,
+ 846FA4DC2C47364B005DB347 /* Setup Firebase Environment GoogleService-Info.plist */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,
@@ -177,7 +181,7 @@
LastUpgradeCheck = 1210;
TargetAttributes = {
13B07F861A680F5B00A75B9A = {
- LastSwiftMigration = 1320;
+ LastSwiftMigration = 1120;
};
};
};
@@ -204,10 +208,11 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
+ 12A5C73F2C369BE600F44B7A /* Config.xcconfig in Resources */,
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
- 84A0520D284A6BB2006E9CDE /* Config.xcconfig in Resources */,
- 84C424AD2A3058D300987B13 /* BootSplash.storyboard in Resources */,
+ 12A5C7442C369ECC00F44B7A /* BootSplash.storyboard in Resources */,
+ 031A1BC4E57874A2693B9C2A /* PrivacyInfo.xcprivacy in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -228,7 +233,7 @@
);
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";
+ shellScript = "if [[ -f \"$PODS_ROOT/../.xcode.env\" ]]; then\n source \"$PODS_ROOT/../.xcode.env\"\nfi\nif [[ -f \"$PODS_ROOT/../.xcode.env.local\" ]]; then\n source \"$PODS_ROOT/../.xcode.env.local\"\nfi\n\n# The project root by default is one level up from the ios directory\nexport PROJECT_ROOT=\"$PROJECT_DIR\"/..\n\nif [[ \"$CONFIGURATION\" = *Debug* ]]; then\n export SKIP_BUNDLING=1\nfi\nif [[ -z \"$ENTRY_FILE\" ]]; then\n # Set the entry JS file using the bundler's entry resolution.\n export ENTRY_FILE=\"$(\"$NODE_BINARY\" -e \"require('expo/scripts/resolveAppEntry')\" \"$PROJECT_ROOT\" ios absolute | tail -n 1)\"\nfi\n\nif [[ -z \"$CLI_PATH\" ]]; then\n # Use Expo CLI\n export CLI_PATH=\"$(\"$NODE_BINARY\" --print \"require.resolve('@expo/cli')\")\"\nfi\nif [[ -z \"$BUNDLE_COMMAND\" ]]; then\n # Default Expo CLI command for bundling\n export BUNDLE_COMMAND=\"export:embed\"\nfi\n\n`\"$NODE_BINARY\" --print \"require('path').dirname(require.resolve('react-native/package.json')) + '/scripts/react-native-xcode.sh'\"`\n";
};
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
@@ -247,7 +252,7 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-HelloWorld/Pods-HelloWorld-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
- 84EA935C289439F20031D295 /* Setup Firebase Environment GoogleService-Info.plist */ = {
+ 846FA4DC2C47364B005DB347 /* Setup Firebase Environment GoogleService-Info.plist */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
@@ -263,48 +268,48 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n#INFO_PLIST_FILE=GoogleService-Info.plist\n#INFO_PLIST_FILE_PATH=${PROJECT_DIR}/GoogleService/${SCHEME_SUFFIX}/${INFO_PLIST_FILE}\n#echo ${PROJECT_DIR}\n#\n## Make sure the release version exists\n#echo \"Looking for ${INFO_PLIST_FILE} in ${INFO_PLIST_FILE_PATH}\"\n#if [ ! -f $INFO_PLIST_FILE_PATH ] ; then\n# echo \"File ${INFO_PLIST_FILE} not found.\"\n# exit 1\n#fi\n#\n#PLIST_DESTINATION=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app\n#echo \"Copying ${INFO_PLIST_FILE} to final destination: ${PLIST_DESTINATION}\"\n#echo \"File ${INFO_PLIST_FILE_PATH} copied\"\n#cp \"${INFO_PLIST_FILE_PATH}\" \"${PLIST_DESTINATION}\"\n#\n";
+ shellScript = "# Type a script or drag a script file from your workspace to insert its path.\n#INFO_PLIST_FILE=GoogleService-Info.plist\n#INFO_PLIST_FILE_PATH=${PROJECT_DIR}/GoogleService/${SCHEME_SUFFIX}/$#{INFO_PLIST_FILE}\n#echo ${PROJECT_DIR}\n#\n### Make sure the release version exists\n#echo \"Looking for ${INFO_PLIST_FILE} in ${INFO_PLIST_FILE_PATH}\"\n#if [ ! -f $INFO_PLIST_FILE_PATH ] ; then\n# echo \"File ${INFO_PLIST_FILE} not found.\"\n# exit 1\n#fi\n#\n#PLIST_DESTINATION=${BUILT_PRODUCTS_DIR}/${PRODUCT_NAME}.app\n#echo \"Copying ${INFO_PLIST_FILE} to final destination: #${PLIST_DESTINATION}\"\n#echo \"File ${INFO_PLIST_FILE_PATH} copied\"\n#cp \"${INFO_PLIST_FILE_PATH}\" \"${PLIST_DESTINATION}\"\n\n";
};
- BC62103B77C54A3F2EDBBCF1 /* [Expo] Configure project */ = {
+ C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
- alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
+ "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
+ "${PODS_ROOT}/Manifest.lock",
);
- name = "[Expo] Configure project";
+ name = "[CP] Check Pods Manifest.lock";
outputFileListPaths = (
);
outputPaths = (
+ "$(DERIVED_FILE_DIR)/Pods-HelloWorld-checkManifestLockResult.txt",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
- shellScript = "# This script configures Expo modules and generates the modules provider file.\nbash -l -c \"./Pods/Target\\ Support\\ Files/Pods-HelloWorld/expo-configure-project.sh\"\n";
+ 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 */ = {
+ C9047ECB0F86AF7888407940 /* [Expo] Configure project */ = {
isa = PBXShellScriptBuildPhase;
+ alwaysOutOfDate = 1;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
- "${PODS_PODFILE_DIR_PATH}/Podfile.lock",
- "${PODS_ROOT}/Manifest.lock",
);
- name = "[CP] Check Pods Manifest.lock";
+ name = "[Expo] Configure project";
outputFileListPaths = (
);
outputPaths = (
- "$(DERIVED_FILE_DIR)/Pods-HelloWorld-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;
+ shellScript = "# This script configures Expo modules and generates the modules provider file.\nbash -l -c \"./Pods/Target\\ Support\\ Files/Pods-HelloWorld/expo-configure-project.sh\"\n";
};
E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
@@ -332,7 +337,7 @@
files = (
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
13B07FC11A68108700A75B9A /* main.m in Sources */,
- D9755AEC55959846DA126270 /* ExpoModulesProvider.swift in Sources */,
+ B07EF647EA29CCD567AE5CE4 /* ExpoModulesProvider.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@@ -341,11 +346,11 @@
/* Begin XCBuildConfiguration section */
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = A9ACCB12B180D08045C86147 /* Pods-HelloWorld.debug.xcconfig */;
+ baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-HelloWorld.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSETCATALOG_COMPILER_APPICON_NAME)";
+ CODE_SIGN_STYLE = Manual;
CLANG_ENABLE_MODULES = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 1;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = "$(APPLE_DEVELOPMENT_TEAM)";
ENABLE_BITCODE = NO;
@@ -354,6 +359,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
+ MARKETING_VERSION = 1.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -363,28 +369,33 @@
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER)";
PRODUCT_NAME = HelloWorld;
PROVISIONING_PROFILE_SPECIFIER = "$(DEBUG_PROVISIONING_PROFILE)";
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
+ SUPPORTS_MACCATALYST = NO;
+ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
+ SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_OBJC_BRIDGING_HEADER = "HelloWorld-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = 1;
VERSIONING_SYSTEM = "apple-generic";
};
name = Debug;
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 9D402291CF13C92EC5D47545 /* Pods-HelloWorld.release.xcconfig */;
+ baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-HelloWorld.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "$(ASSETCATALOG_COMPILER_APPICON_NAME)";
+ CODE_SIGN_STYLE = Manual;
CLANG_ENABLE_MODULES = YES;
- "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Distribution";
CURRENT_PROJECT_VERSION = 1;
"DEVELOPMENT_TEAM[sdk=iphoneos*]" = "$(APPLE_DEVELOPMENT_TEAM)";
- ENABLE_BITCODE = NO;
INFOPLIST_FILE = HelloWorld/Info.plist;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
+ MARKETING_VERSION = 1.0;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -394,17 +405,23 @@
PRODUCT_BUNDLE_IDENTIFIER = "$(BUNDLE_IDENTIFIER)";
PRODUCT_NAME = HelloWorld;
PROVISIONING_PROFILE_SPECIFIER = "$(RELEASE_PROVISIONING_PROFILE)";
+ SUPPORTED_PLATFORMS = "iphoneos iphonesimulator";
+ SUPPORTS_MACCATALYST = NO;
+ SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO;
+ SUPPORTS_XR_DESIGNED_FOR_IPHONE_IPAD = NO;
SWIFT_OBJC_BRIDGING_HEADER = "HelloWorld-Bridging-Header.h";
SWIFT_VERSION = 5.0;
+ TARGETED_DEVICE_FAMILY = 1;
VERSIONING_SYSTEM = "apple-generic";
};
name = Release;
};
83CBBA201A601CBA00E9B192 /* Debug */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 84A0520C284A6BB2006E9CDE /* Config.xcconfig */;
+ baseConfigurationReference = 12A5C73E2C369BE600F44B7A /* Config.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ CC = "";
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
CLANG_CXX_LIBRARY = "libc++";
@@ -432,9 +449,10 @@
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[sdk=iphonesimulator*]" = i386;
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
GCC_C_LANGUAGE_STANDARD = gnu99;
GCC_DYNAMIC_NO_PIC = NO;
GCC_NO_COMMON_BLOCKS = YES;
@@ -442,7 +460,6 @@
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;
@@ -452,6 +469,8 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
+ LD = "";
+ LDPLUSPLUS = "";
LD_RUNPATH_SEARCH_PATHS = (
/usr/lib/swift,
"$(inherited)",
@@ -463,18 +482,17 @@
);
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
- OTHER_CFLAGS = "$(inherited)";
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
"-DFOLLY_NO_CONFIG",
"-DFOLLY_MOBILE=1",
"-DFOLLY_USE_LIBCPP=1",
"-DFOLLY_CFG_NO_COROUTINES=1",
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
- "-Wl",
- "-ld_classic",
+ " ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
@@ -484,9 +502,10 @@
};
83CBBA211A601CBA00E9B192 /* Release */ = {
isa = XCBuildConfiguration;
- baseConfigurationReference = 84A0520C284A6BB2006E9CDE /* Config.xcconfig */;
+ baseConfigurationReference = 12A5C73E2C369BE600F44B7A /* Config.xcconfig */;
buildSettings = {
ALWAYS_SEARCH_USER_PATHS = NO;
+ CC = "";
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
CLANG_CXX_LIBRARY = "libc++";
@@ -514,15 +533,12 @@
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[sdk=iphonesimulator*]" = i386;
+ "EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
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;
@@ -530,6 +546,8 @@
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
+ LD = "";
+ LDPLUSPLUS = "";
LD_RUNPATH_SEARCH_PATHS = (
/usr/lib/swift,
"$(inherited)",
@@ -540,18 +558,17 @@
"\"$(inherited)\"",
);
MTL_ENABLE_DEBUG_INFO = NO;
- OTHER_CFLAGS = "$(inherited)";
OTHER_CPLUSPLUSFLAGS = (
"$(OTHER_CFLAGS)",
"-DFOLLY_NO_CONFIG",
"-DFOLLY_MOBILE=1",
"-DFOLLY_USE_LIBCPP=1",
"-DFOLLY_CFG_NO_COROUTINES=1",
+ "-DFOLLY_HAVE_CLOCK_GETTIME=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
- "-Wl",
- "-ld_classic",
+ " ",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
diff --git a/template/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld-Dev.xcscheme b/template/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld-Dev.xcscheme
index f533511e..ea571127 100644
--- a/template/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld-Dev.xcscheme
+++ b/template/ios/HelloWorld.xcodeproj/xcshareddata/xcschemes/HelloWorld-Dev.xcscheme
@@ -10,7 +10,7 @@
ActionType = "Xcode.IDEStandardExecutionActionsCore.ExecutionActionType.ShellScriptAction">
+ scriptText = "# Type a script or drag a script file from your workspace to insert its path.
rm "${CONFIGURATION_BUILD_DIR}/${INFOPLIST_PATH}"
source ~/.bash_profile
ENV_PATH="env/dev.json"
export KEYSFILE=$ENV_PATH
"${SRCROOT}/../node_modules/react-native-keys/keysIOS.js"
"${SRCROOT}/../scripts/prepare.js" "$ENV_PATH"
">
-
-
-
-
diff --git a/template/ios/HelloWorld/AppDelegate.mm b/template/ios/HelloWorld/AppDelegate.mm
index 04b86d09..5064dd91 100644
--- a/template/ios/HelloWorld/AppDelegate.mm
+++ b/template/ios/HelloWorld/AppDelegate.mm
@@ -2,6 +2,7 @@
#import "RNBootSplash.h"
#import "Keys.h"
#import
+#import
@implementation AppDelegate
@@ -14,29 +15,54 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
return [super application:application didFinishLaunchingWithOptions:launchOptions];
}
+- (void)customizeRootView:(RCTRootView *)rootView {
+ NSString *bootsplash = [Keys publicFor:@"SPLASH_STORYBOARD_NAME"];
+ [RNBootSplash initWithStoryboard:bootsplash rootView:rootView];
+}
+
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
- return [self getBundleURL];
+ return [self bundleURL];
}
-- (NSURL *)getBundleURL
+- (NSURL *)bundleURL
{
#if DEBUG
- return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
+ return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@".expo/.virtual-metro-entry"];
#else
return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}
-- (UIView *)createRootViewWithBridge:(RCTBridge *)bridge
- moduleName:(NSString *)moduleName
- initProps:(NSDictionary *)initProps {
- UIView *rootView = [super createRootViewWithBridge:bridge
- moduleName:moduleName
- initProps:initProps];
- NSString *bootsplash = [Keys publicFor:@"SPLASH_STORYBOARD_NAME"];
- [RNBootSplash initWithStoryboard:bootsplash rootView:rootView]; // ⬅️ initialize the splash screen
- return rootView;
+// Linking API
+- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url options:(NSDictionary *)options {
+ return [super application:application openURL:url options:options] || [RCTLinkingManager application:application openURL:url options:options];
+}
+
+// Universal Links
+- (BOOL)application:(UIApplication *)application continueUserActivity:(nonnull NSUserActivity *)userActivity restorationHandler:(nonnull void (^)(NSArray> * _Nullable))restorationHandler {
+ BOOL result = [RCTLinkingManager application:application continueUserActivity:userActivity restorationHandler:restorationHandler];
+ return [super application:application continueUserActivity:userActivity restorationHandler:restorationHandler] || result;
+}
+
+// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
+- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken
+{
+ return [super application:application didRegisterForRemoteNotificationsWithDeviceToken:deviceToken];
}
+
+// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
+- (void)application:(UIApplication *)application didFailToRegisterForRemoteNotificationsWithError:(NSError *)error
+{
+ return [super application:application didFailToRegisterForRemoteNotificationsWithError:error];
+}
+
+// Explicitly define remote notification delegates to ensure compatibility with some third-party libraries
+- (void)application:(UIApplication *)application didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
+{
+ return [super application:application didReceiveRemoteNotification:userInfo fetchCompletionHandler:completionHandler];
+}
+
+
@end
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/1024.png b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/1024.png
index 46bf73ec..b45049ca 100644
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/1024.png and b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/1024.png differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/120.png b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/120.png
deleted file mode 100644
index b78b0791..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/120.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/180.png b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/180.png
deleted file mode 100644
index dd02e480..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/180.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/40.png b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/40.png
deleted file mode 100644
index d227c826..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/40.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/58.png b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/58.png
deleted file mode 100644
index a938141a..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/58.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/60.png b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/60.png
deleted file mode 100644
index 9954bf73..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/60.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/80.png b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/80.png
deleted file mode 100644
index 3e7209e6..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/80.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/87.png b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/87.png
deleted file mode 100644
index 0677cc02..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/87.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/Contents.json b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/Contents.json
index 937391f0..cff1680b 100644
--- a/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/Contents.json
+++ b/template/ios/HelloWorld/Images.xcassets/AppIcon-Dev.appiconset/Contents.json
@@ -1 +1,14 @@
-{"images":[{"filename":"40.png","idiom":"iphone","scale":"2x","size":"20x20"},{"filename":"60.png","idiom":"iphone","scale":"3x","size":"20x20"},{"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":"120.png","idiom":"iphone","scale":"2x","size":"60x60"},{"filename":"180.png","idiom":"iphone","scale":"3x","size":"60x60"},{"filename":"1024.png","idiom":"ios-marketing","scale":"1x","size":"1024x1024"}],"info":{"author":"xcode","version":1}}
+{
+ "images" : [
+ {
+ "filename" : "1024.png",
+ "idiom" : "universal",
+ "platform" : "ios",
+ "size" : "1024x1024"
+ }
+ ],
+ "info" : {
+ "author" : "xcode",
+ "version" : 1
+ }
+}
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/1024.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/1024.png
index 56b1241c..8f5844e0 100644
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/1024.png and b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/1024.png differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/120-1.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/120-1.png
deleted file mode 100644
index 431b6bc3..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/120-1.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/120.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/120.png
deleted file mode 100644
index 431b6bc3..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/120.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/180.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/180.png
deleted file mode 100644
index 72cb96c7..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/180.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/40.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/40.png
deleted file mode 100644
index d523f810..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/40.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/58.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/58.png
deleted file mode 100644
index 4cefd0a7..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/58.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/60.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/60.png
deleted file mode 100644
index 9239d4b9..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/60.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/80.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/80.png
deleted file mode 100644
index 821776aa..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/80.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/87.png b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/87.png
deleted file mode 100644
index 91951a49..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/87.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json
index bb1ad4dd..cff1680b 100644
--- a/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json
+++ b/template/ios/HelloWorld/Images.xcassets/AppIcon.appiconset/Contents.json
@@ -1,57 +1,9 @@
{
"images" : [
- {
- "filename" : "40.png",
- "idiom" : "iphone",
- "scale" : "2x",
- "size" : "20x20"
- },
- {
- "filename" : "60.png",
- "idiom" : "iphone",
- "scale" : "3x",
- "size" : "20x20"
- },
- {
- "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" : "120-1.png",
- "idiom" : "iphone",
- "scale" : "2x",
- "size" : "60x60"
- },
- {
- "filename" : "180.png",
- "idiom" : "iphone",
- "scale" : "3x",
- "size" : "60x60"
- },
{
"filename" : "1024.png",
- "idiom" : "ios-marketing",
- "scale" : "1x",
+ "idiom" : "universal",
+ "platform" : "ios",
"size" : "1024x1024"
}
],
diff --git a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/Contents.json b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/Contents.json
index 570652df..44e57cb3 100644
--- a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/Contents.json
+++ b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/Contents.json
@@ -2,22 +2,22 @@
"images": [
{
"idiom": "universal",
- "filename": "bootsplash_logo.png",
+ "filename": "bootsplash_logo-4cj1tj.png",
"scale": "1x"
},
{
"idiom": "universal",
- "filename": "bootsplash_logo@2x.png",
+ "filename": "bootsplash_logo-4cj1tj@2x.png",
"scale": "2x"
},
{
"idiom": "universal",
- "filename": "bootsplash_logo@3x.png",
+ "filename": "bootsplash_logo-4cj1tj@3x.png",
"scale": "3x"
}
],
"info": {
- "version": 1,
- "author": "xcode"
+ "author": "xcode",
+ "version": 1
}
}
diff --git a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj.png b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj.png
new file mode 100644
index 00000000..78cc7450
Binary files /dev/null and b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj.png differ
diff --git a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj@2x.png b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj@2x.png
new file mode 100644
index 00000000..38bd9396
Binary files /dev/null and b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj@2x.png differ
diff --git a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj@3x.png b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj@3x.png
new file mode 100644
index 00000000..edd30cd9
Binary files /dev/null and b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo-4cj1tj@3x.png differ
diff --git a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo.png b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo.png
deleted file mode 100644
index a398a028..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo@2x.png b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo@2x.png
deleted file mode 100644
index dae0f3f2..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo@2x.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo@3x.png b/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo@3x.png
deleted file mode 100644
index 2dbc70c3..00000000
Binary files a/template/ios/HelloWorld/Images.xcassets/BootSplashLogo.imageset/bootsplash_logo@3x.png and /dev/null differ
diff --git a/template/ios/HelloWorld/Images.xcassets/Contents.json b/template/ios/HelloWorld/Images.xcassets/Contents.json
index 73c00596..2d92bd53 100644
--- a/template/ios/HelloWorld/Images.xcassets/Contents.json
+++ b/template/ios/HelloWorld/Images.xcassets/Contents.json
@@ -1,6 +1,6 @@
{
"info" : {
- "author" : "xcode",
- "version" : 1
+ "version" : 1,
+ "author" : "xcode"
}
}
diff --git a/template/ios/HelloWorld/Info.plist b/template/ios/HelloWorld/Info.plist
index 163aa3dd..0f0ca686 100644
--- a/template/ios/HelloWorld/Info.plist
+++ b/template/ios/HelloWorld/Info.plist
@@ -1,53 +1,51 @@
-
- CFBundleDevelopmentRegion
- en
- CFBundleDisplayName
- $(APP_DISPLAY_NAME)
- CFBundleExecutable
- $(EXECUTABLE_NAME)
- CFBundleIdentifier
- $(BUNDLE_IDENTIFIER)
- CFBundleInfoDictionaryVersion
- 6.0
- CFBundleName
- $(APP_DISPLAY_NAME)
- CFBundlePackageType
- APPL
- CFBundleShortVersionString
- ${VERSION_NAME}
- CFBundleSignature
- ????
- CFBundleVersion
- ${VERSION_CODE}
- ITSAppUsesNonExemptEncryption
-
- LSRequiresIPhoneOS
-
- NSAppTransportSecurity
- NSAllowsArbitraryLoads
-
- NSAllowsLocalNetworking
+ CFBundleDevelopmentRegion
+ en
+ CFBundleDisplayName
+ $(APP_DISPLAY_NAME)
+ CFBundleExecutable
+ $(EXECUTABLE_NAME)
+ CFBundleIdentifier
+ $(BUNDLE_IDENTIFIER)
+ CFBundleInfoDictionaryVersion
+ 6.0
+ CFBundleName
+ $(APP_DISPLAY_NAME)
+ CFBundlePackageType
+ APPL
+ CFBundleShortVersionString
+ ${VERSION_NAME}
+ CFBundleSignature
+ ????
+ CFBundleVersion
+ ${VERSION_CODE}
+ LSRequiresIPhoneOS
+ NSAppTransportSecurity
+
+ NSAllowsArbitraryLoads
+
+ NSAllowsLocalNetworking
+
+
+ NSLocationWhenInUseUsageDescription
+
+ UILaunchStoryboardName
+ $(SPLASH_STORYBOARD_NAME).storyboard
+ UIRequiredDeviceCapabilities
+
+ arm64
+
+ UIStatusBarStyle
+ UIStatusBarStyleLightContent
+ UISupportedInterfaceOrientations
+
+ UIInterfaceOrientationPortrait
+
+ UIViewControllerBasedStatusBarAppearance
+
- NSLocationWhenInUseUsageDescription
-
- UILaunchStoryboardName
- $(SPLASH_STORYBOARD_NAME).storyboard
- UIRequiredDeviceCapabilities
-
- armv7
-
- UIStatusBarStyle
- UIStatusBarStyleLightContent
- UISupportedInterfaceOrientations
-
- UIInterfaceOrientationPortrait
-
- UIViewControllerBasedStatusBarAppearance
-
-
-
+
\ No newline at end of file
diff --git a/template/ios/HelloWorld/PrivacyInfo.xcprivacy b/template/ios/HelloWorld/PrivacyInfo.xcprivacy
index ef1896e7..5bb83c5d 100644
--- a/template/ios/HelloWorld/PrivacyInfo.xcprivacy
+++ b/template/ios/HelloWorld/PrivacyInfo.xcprivacy
@@ -2,37 +2,47 @@
- NSPrivacyCollectedDataTypes
-
-
- NSPrivacyAccessedAPITypes
-
-
- NSPrivacyAccessedAPIType
- NSPrivacyAccessedAPICategoryFileTimestamp
- NSPrivacyAccessedAPITypeReasons
-
- C617.1
-
-
-
- NSPrivacyAccessedAPIType
- NSPrivacyAccessedAPICategoryUserDefaults
- NSPrivacyAccessedAPITypeReasons
-
- CA92.1
-
-
-
- NSPrivacyAccessedAPIType
- NSPrivacyAccessedAPICategorySystemBootTime
- NSPrivacyAccessedAPITypeReasons
-
- 35F9.1
-
-
-
- NSPrivacyTracking
-
+ NSPrivacyAccessedAPITypes
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryUserDefaults
+ NSPrivacyAccessedAPITypeReasons
+
+ CA92.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryFileTimestamp
+ NSPrivacyAccessedAPITypeReasons
+
+ 0A2A.1
+ 3B52.1
+ C617.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategoryDiskSpace
+ NSPrivacyAccessedAPITypeReasons
+
+ E174.1
+ 85F4.1
+
+
+
+ NSPrivacyAccessedAPIType
+ NSPrivacyAccessedAPICategorySystemBootTime
+ NSPrivacyAccessedAPITypeReasons
+
+ 35F9.1
+
+
+
+ NSPrivacyCollectedDataTypes
+
+ NSPrivacyTracking
+
diff --git a/template/ios/HelloWorld/Splash/BootSplash.storyboard b/template/ios/HelloWorld/Splash/BootSplash.storyboard
index 5b697759..8a302bb9 100644
--- a/template/ios/HelloWorld/Splash/BootSplash.storyboard
+++ b/template/ios/HelloWorld/Splash/BootSplash.storyboard
@@ -1,9 +1,9 @@
-
+
-
+
@@ -11,10 +11,10 @@
-
-
+
+
-
+
@@ -24,10 +24,7 @@
-
-
-
-
+
diff --git a/template/ios/Podfile b/template/ios/Podfile
index d60a7e9d..e0c40b95 100644
--- a/template/ios/Podfile
+++ b/template/ios/Podfile
@@ -6,14 +6,15 @@ require Pod::Executable.execute_command('node', ['-p',
{paths: [process.argv[1]]},
)', __dir__]).strip
-platform :ios, '13.4'
-install! 'cocoapods', :deterministic_uuids => false
-flipper_config = ENV['NO_FLIPPER'] == "1" ? FlipperConfiguration.disabled : FlipperConfiguration.enabled(["Debug"])
+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 'HelloWorld' do
use_expo_modules!
post_integrate do |installer|
@@ -22,42 +23,37 @@ target 'HelloWorld' do
rescue => e
Pod::UI.warn e
end
+ begin
+ expo_patch_react_imports!(installer)
+ rescue => e
+ Pod::UI.warn e
+ end
+ begin
+ expo_patch_react_imports!(installer)
+ rescue => e
+ Pod::UI.warn e
+ end
+ begin
+ expo_patch_react_imports!(installer)
+ rescue => e
+ Pod::UI.warn e
+ end
end
config = use_native_modules!
use_react_native!(
:path => config[:reactNativePath],
- # Enables Flipper.
- #
- # Note that if you have use_frameworks! enabled, Flipper will not work and
- # you should disable the next line.
- :flipper_configuration => flipper_config,
# An absolute path to your application root.
:app_path => "#{Pod::Config.instance.installation_root}/.."
)
- # Fix for Undefined symbols for architecture arm64:
- # "_BIO_f_base64", referenced from
- pod 'OpenSSL-Universal', :modular_headers => true, :configurations => ['Release']
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
+ :mac_catalyst_enabled => false,
+ # :ccache_enabled => true
)
- installer.generated_projects.each do |project|
- project.targets.each do |target|
- target.build_configurations.each do |config|
- config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO'
- end
- end
- end
- # For m1 mac
- # installer.pods_project.targets.each do |target|
- # target.build_configurations.each do |config|
- # config.build_settings['EXCLUDED_ARCHS[sdk=iphonesimulator*]'] = "arm64"
- # end
- # end
end
end
diff --git a/template/ios/_xcode.env b/template/ios/_xcode.env
index 9d643e97..3d5782c7 100644
--- a/template/ios/_xcode.env
+++ b/template/ios/_xcode.env
@@ -2,9 +2,10 @@
# 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)
\ No newline at end of file
+export NODE_BINARY=$(command -v node)
diff --git a/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm b/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm
deleted file mode 100644
index b466f089..00000000
--- a/template/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm
+++ /dev/null
@@ -1,1992 +0,0 @@
-/**
- * This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
- *
- * Do not edit this file as changes may cause incorrect behavior and will be lost
- * once the code is regenerated.
- *
- * @generated by codegen project: GenerateModuleObjCpp
- *
- * We create an umbrella header (and corresponding implementation) here since
- * Cxx compilation in BUCK has a limitation: source-code producing genrule()s
- * must have a single output. More files => more genrule()s => slower builds.
- */
-
-#import "FBReactNativeSpec.h"
-
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_isReduceMotionEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "isReduceMotionEnabled", @selector(isReduceMotionEnabled:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_isTouchExplorationEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "isTouchExplorationEnabled", @selector(isTouchExplorationEnabled:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_isAccessibilityServiceEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "isAccessibilityServiceEnabled", @selector(isAccessibilityServiceEnabled:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_setAccessibilityFocus(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setAccessibilityFocus", @selector(setAccessibilityFocus:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_announceForAccessibility(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "announceForAccessibility", @selector(announceForAccessibility:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityInfoSpecJSI_getRecommendedTimeoutMillis(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getRecommendedTimeoutMillis", @selector(getRecommendedTimeoutMillis:onSuccess:), args, count);
- }
-
- NativeAccessibilityInfoSpecJSI::NativeAccessibilityInfoSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["isReduceMotionEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_isReduceMotionEnabled};
-
-
- methodMap_["isTouchExplorationEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_isTouchExplorationEnabled};
-
-
- methodMap_["isAccessibilityServiceEnabled"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_isAccessibilityServiceEnabled};
-
-
- methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_setAccessibilityFocus};
-
-
- methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityInfoSpecJSI_announceForAccessibility};
-
-
- methodMap_["getRecommendedTimeoutMillis"] = MethodMetadata {2, __hostFunction_NativeAccessibilityInfoSpecJSI_getRecommendedTimeoutMillis};
-
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers)
-+ (RCTManagedPointer *)JS_NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-@implementation RCTCxxConvert (NativeAccessibilityManager_SpecAnnounceForAccessibilityWithOptionsOptions)
-+ (RCTManagedPointer *)JS_NativeAccessibilityManager_SpecAnnounceForAccessibilityWithOptionsOptions:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentBoldTextState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentBoldTextState", @selector(getCurrentBoldTextState:onError:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentGrayscaleState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentGrayscaleState", @selector(getCurrentGrayscaleState:onError:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentInvertColorsState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentInvertColorsState", @selector(getCurrentInvertColorsState:onError:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentReduceMotionState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentReduceMotionState", @selector(getCurrentReduceMotionState:onError:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentPrefersCrossFadeTransitionsState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentPrefersCrossFadeTransitionsState", @selector(getCurrentPrefersCrossFadeTransitionsState:onError:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentReduceTransparencyState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentReduceTransparencyState", @selector(getCurrentReduceTransparencyState:onError:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentVoiceOverState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentVoiceOverState", @selector(getCurrentVoiceOverState:onError:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_setAccessibilityContentSizeMultipliers(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setAccessibilityContentSizeMultipliers", @selector(setAccessibilityContentSizeMultipliers:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_setAccessibilityFocus(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setAccessibilityFocus", @selector(setAccessibilityFocus:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_announceForAccessibility(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "announceForAccessibility", @selector(announceForAccessibility:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAccessibilityManagerSpecJSI_announceForAccessibilityWithOptions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "announceForAccessibilityWithOptions", @selector(announceForAccessibilityWithOptions:options:), args, count);
- }
-
- NativeAccessibilityManagerSpecJSI::NativeAccessibilityManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getCurrentBoldTextState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentBoldTextState};
-
-
- methodMap_["getCurrentGrayscaleState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentGrayscaleState};
-
-
- methodMap_["getCurrentInvertColorsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentInvertColorsState};
-
-
- methodMap_["getCurrentReduceMotionState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentReduceMotionState};
-
-
- methodMap_["getCurrentPrefersCrossFadeTransitionsState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentPrefersCrossFadeTransitionsState};
-
-
- methodMap_["getCurrentReduceTransparencyState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentReduceTransparencyState};
-
-
- methodMap_["getCurrentVoiceOverState"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_getCurrentVoiceOverState};
-
-
- methodMap_["setAccessibilityContentSizeMultipliers"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerSpecJSI_setAccessibilityContentSizeMultipliers};
- setMethodArgConversionSelector(@"setAccessibilityContentSizeMultipliers", 0, @"JS_NativeAccessibilityManager_SpecSetAccessibilityContentSizeMultipliersJSMultipliers:");
-
- methodMap_["setAccessibilityFocus"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerSpecJSI_setAccessibilityFocus};
-
-
- methodMap_["announceForAccessibility"] = MethodMetadata {1, __hostFunction_NativeAccessibilityManagerSpecJSI_announceForAccessibility};
-
-
- methodMap_["announceForAccessibilityWithOptions"] = MethodMetadata {2, __hostFunction_NativeAccessibilityManagerSpecJSI_announceForAccessibilityWithOptions};
- setMethodArgConversionSelector(@"announceForAccessibilityWithOptions", 1, @"JS_NativeAccessibilityManager_SpecAnnounceForAccessibilityWithOptionsOptions:");
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions)
-+ (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-@implementation RCTCxxConvert (NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions)
-+ (RCTManagedPointer *)JS_NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeActionSheetManagerSpecJSI_showActionSheetWithOptions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "showActionSheetWithOptions", @selector(showActionSheetWithOptions:callback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeActionSheetManagerSpecJSI_showShareActionSheetWithOptions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "showShareActionSheetWithOptions", @selector(showShareActionSheetWithOptions:failureCallback:successCallback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeActionSheetManagerSpecJSI_dismissActionSheet(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "dismissActionSheet", @selector(dismissActionSheet), args, count);
- }
-
- NativeActionSheetManagerSpecJSI::NativeActionSheetManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["showActionSheetWithOptions"] = MethodMetadata {2, __hostFunction_NativeActionSheetManagerSpecJSI_showActionSheetWithOptions};
- setMethodArgConversionSelector(@"showActionSheetWithOptions", 0, @"JS_NativeActionSheetManager_SpecShowActionSheetWithOptionsOptions:");
-
- methodMap_["showShareActionSheetWithOptions"] = MethodMetadata {3, __hostFunction_NativeActionSheetManagerSpecJSI_showShareActionSheetWithOptions};
- setMethodArgConversionSelector(@"showShareActionSheetWithOptions", 0, @"JS_NativeActionSheetManager_SpecShowShareActionSheetWithOptionsOptions:");
-
- methodMap_["dismissActionSheet"] = MethodMetadata {0, __hostFunction_NativeActionSheetManagerSpecJSI_dismissActionSheet};
-
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeAlertManager_Args)
-+ (RCTManagedPointer *)JS_NativeAlertManager_Args:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeAlertManagerSpecJSI_alertWithArgs(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "alertWithArgs", @selector(alertWithArgs:callback:), args, count);
- }
-
- NativeAlertManagerSpecJSI::NativeAlertManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["alertWithArgs"] = MethodMetadata {2, __hostFunction_NativeAlertManagerSpecJSI_alertWithArgs};
- setMethodArgConversionSelector(@"alertWithArgs", 0, @"JS_NativeAlertManager_Args:");
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeAnimatedModule_EventMapping)
-+ (RCTManagedPointer *)JS_NativeAnimatedModule_EventMapping:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_startOperationBatch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "startOperationBatch", @selector(startOperationBatch), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_finishOperationBatch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "finishOperationBatch", @selector(finishOperationBatch), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_createAnimatedNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "createAnimatedNode", @selector(createAnimatedNode:config:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_updateAnimatedNodeConfig(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "updateAnimatedNodeConfig", @selector(updateAnimatedNodeConfig:config:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_getValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getValue", @selector(getValue:saveValueCallback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_startListeningToAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "startListeningToAnimatedNodeValue", @selector(startListeningToAnimatedNodeValue:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_stopListeningToAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "stopListeningToAnimatedNodeValue", @selector(stopListeningToAnimatedNodeValue:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_connectAnimatedNodes(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "connectAnimatedNodes", @selector(connectAnimatedNodes:childTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_disconnectAnimatedNodes(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "disconnectAnimatedNodes", @selector(disconnectAnimatedNodes:childTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_startAnimatingNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "startAnimatingNode", @selector(startAnimatingNode:nodeTag:config:endCallback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_stopAnimation(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "stopAnimation", @selector(stopAnimation:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_setAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setAnimatedNodeValue", @selector(setAnimatedNodeValue:value:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_setAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setAnimatedNodeOffset", @selector(setAnimatedNodeOffset:offset:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_flattenAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "flattenAnimatedNodeOffset", @selector(flattenAnimatedNodeOffset:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_extractAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "extractAnimatedNodeOffset", @selector(extractAnimatedNodeOffset:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_connectAnimatedNodeToView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "connectAnimatedNodeToView", @selector(connectAnimatedNodeToView:viewTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_disconnectAnimatedNodeFromView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "disconnectAnimatedNodeFromView", @selector(disconnectAnimatedNodeFromView:viewTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_restoreDefaultValues(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "restoreDefaultValues", @selector(restoreDefaultValues:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_dropAnimatedNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "dropAnimatedNode", @selector(dropAnimatedNode:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_addAnimatedEventToView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addAnimatedEventToView", @selector(addAnimatedEventToView:eventName:eventMapping:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_removeAnimatedEventFromView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeAnimatedEventFromView", @selector(removeAnimatedEventFromView:eventName:animatedNodeTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedModuleSpecJSI_queueAndExecuteBatchedOperations(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "queueAndExecuteBatchedOperations", @selector(queueAndExecuteBatchedOperations:), args, count);
- }
-
- NativeAnimatedModuleSpecJSI::NativeAnimatedModuleSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["startOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedModuleSpecJSI_startOperationBatch};
-
-
- methodMap_["finishOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedModuleSpecJSI_finishOperationBatch};
-
-
- methodMap_["createAnimatedNode"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_createAnimatedNode};
-
-
- methodMap_["updateAnimatedNodeConfig"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_updateAnimatedNodeConfig};
-
-
- methodMap_["getValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_getValue};
-
-
- methodMap_["startListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_startListeningToAnimatedNodeValue};
-
-
- methodMap_["stopListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_stopListeningToAnimatedNodeValue};
-
-
- methodMap_["connectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_connectAnimatedNodes};
-
-
- methodMap_["disconnectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_disconnectAnimatedNodes};
-
-
- methodMap_["startAnimatingNode"] = MethodMetadata {4, __hostFunction_NativeAnimatedModuleSpecJSI_startAnimatingNode};
-
-
- methodMap_["stopAnimation"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_stopAnimation};
-
-
- methodMap_["setAnimatedNodeValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_setAnimatedNodeValue};
-
-
- methodMap_["setAnimatedNodeOffset"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_setAnimatedNodeOffset};
-
-
- methodMap_["flattenAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_flattenAnimatedNodeOffset};
-
-
- methodMap_["extractAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_extractAnimatedNodeOffset};
-
-
- methodMap_["connectAnimatedNodeToView"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_connectAnimatedNodeToView};
-
-
- methodMap_["disconnectAnimatedNodeFromView"] = MethodMetadata {2, __hostFunction_NativeAnimatedModuleSpecJSI_disconnectAnimatedNodeFromView};
-
-
- methodMap_["restoreDefaultValues"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_restoreDefaultValues};
-
-
- methodMap_["dropAnimatedNode"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_dropAnimatedNode};
-
-
- methodMap_["addAnimatedEventToView"] = MethodMetadata {3, __hostFunction_NativeAnimatedModuleSpecJSI_addAnimatedEventToView};
- setMethodArgConversionSelector(@"addAnimatedEventToView", 2, @"JS_NativeAnimatedModule_EventMapping:");
-
- methodMap_["removeAnimatedEventFromView"] = MethodMetadata {3, __hostFunction_NativeAnimatedModuleSpecJSI_removeAnimatedEventFromView};
-
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_removeListeners};
-
-
- methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedModuleSpecJSI_queueAndExecuteBatchedOperations};
-
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeAnimatedTurboModule_EventMapping)
-+ (RCTManagedPointer *)JS_NativeAnimatedTurboModule_EventMapping:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_startOperationBatch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "startOperationBatch", @selector(startOperationBatch), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_finishOperationBatch(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "finishOperationBatch", @selector(finishOperationBatch), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_createAnimatedNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "createAnimatedNode", @selector(createAnimatedNode:config:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_updateAnimatedNodeConfig(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "updateAnimatedNodeConfig", @selector(updateAnimatedNodeConfig:config:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_getValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getValue", @selector(getValue:saveValueCallback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_startListeningToAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "startListeningToAnimatedNodeValue", @selector(startListeningToAnimatedNodeValue:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_stopListeningToAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "stopListeningToAnimatedNodeValue", @selector(stopListeningToAnimatedNodeValue:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_connectAnimatedNodes(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "connectAnimatedNodes", @selector(connectAnimatedNodes:childTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_disconnectAnimatedNodes(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "disconnectAnimatedNodes", @selector(disconnectAnimatedNodes:childTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_startAnimatingNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "startAnimatingNode", @selector(startAnimatingNode:nodeTag:config:endCallback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_stopAnimation(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "stopAnimation", @selector(stopAnimation:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_setAnimatedNodeValue(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setAnimatedNodeValue", @selector(setAnimatedNodeValue:value:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_setAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setAnimatedNodeOffset", @selector(setAnimatedNodeOffset:offset:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_flattenAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "flattenAnimatedNodeOffset", @selector(flattenAnimatedNodeOffset:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_extractAnimatedNodeOffset(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "extractAnimatedNodeOffset", @selector(extractAnimatedNodeOffset:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_connectAnimatedNodeToView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "connectAnimatedNodeToView", @selector(connectAnimatedNodeToView:viewTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_disconnectAnimatedNodeFromView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "disconnectAnimatedNodeFromView", @selector(disconnectAnimatedNodeFromView:viewTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_restoreDefaultValues(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "restoreDefaultValues", @selector(restoreDefaultValues:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_dropAnimatedNode(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "dropAnimatedNode", @selector(dropAnimatedNode:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_addAnimatedEventToView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addAnimatedEventToView", @selector(addAnimatedEventToView:eventName:eventMapping:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_removeAnimatedEventFromView(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeAnimatedEventFromView", @selector(removeAnimatedEventFromView:eventName:animatedNodeTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimatedTurboModuleSpecJSI_queueAndExecuteBatchedOperations(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "queueAndExecuteBatchedOperations", @selector(queueAndExecuteBatchedOperations:), args, count);
- }
-
- NativeAnimatedTurboModuleSpecJSI::NativeAnimatedTurboModuleSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["startOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedTurboModuleSpecJSI_startOperationBatch};
-
-
- methodMap_["finishOperationBatch"] = MethodMetadata {0, __hostFunction_NativeAnimatedTurboModuleSpecJSI_finishOperationBatch};
-
-
- methodMap_["createAnimatedNode"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_createAnimatedNode};
-
-
- methodMap_["updateAnimatedNodeConfig"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_updateAnimatedNodeConfig};
-
-
- methodMap_["getValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_getValue};
-
-
- methodMap_["startListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_startListeningToAnimatedNodeValue};
-
-
- methodMap_["stopListeningToAnimatedNodeValue"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_stopListeningToAnimatedNodeValue};
-
-
- methodMap_["connectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_connectAnimatedNodes};
-
-
- methodMap_["disconnectAnimatedNodes"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_disconnectAnimatedNodes};
-
-
- methodMap_["startAnimatingNode"] = MethodMetadata {4, __hostFunction_NativeAnimatedTurboModuleSpecJSI_startAnimatingNode};
-
-
- methodMap_["stopAnimation"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_stopAnimation};
-
-
- methodMap_["setAnimatedNodeValue"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_setAnimatedNodeValue};
-
-
- methodMap_["setAnimatedNodeOffset"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_setAnimatedNodeOffset};
-
-
- methodMap_["flattenAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_flattenAnimatedNodeOffset};
-
-
- methodMap_["extractAnimatedNodeOffset"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_extractAnimatedNodeOffset};
-
-
- methodMap_["connectAnimatedNodeToView"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_connectAnimatedNodeToView};
-
-
- methodMap_["disconnectAnimatedNodeFromView"] = MethodMetadata {2, __hostFunction_NativeAnimatedTurboModuleSpecJSI_disconnectAnimatedNodeFromView};
-
-
- methodMap_["restoreDefaultValues"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_restoreDefaultValues};
-
-
- methodMap_["dropAnimatedNode"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_dropAnimatedNode};
-
-
- methodMap_["addAnimatedEventToView"] = MethodMetadata {3, __hostFunction_NativeAnimatedTurboModuleSpecJSI_addAnimatedEventToView};
- setMethodArgConversionSelector(@"addAnimatedEventToView", 2, @"JS_NativeAnimatedTurboModule_EventMapping:");
-
- methodMap_["removeAnimatedEventFromView"] = MethodMetadata {3, __hostFunction_NativeAnimatedTurboModuleSpecJSI_removeAnimatedEventFromView};
-
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_removeListeners};
-
-
- methodMap_["queueAndExecuteBatchedOperations"] = MethodMetadata {1, __hostFunction_NativeAnimatedTurboModuleSpecJSI_queueAndExecuteBatchedOperations};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeAnimationsDebugModuleSpecJSI_startRecordingFps(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "startRecordingFps", @selector(startRecordingFps), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAnimationsDebugModuleSpecJSI_stopRecordingFps(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "stopRecordingFps", @selector(stopRecordingFps:), args, count);
- }
-
- NativeAnimationsDebugModuleSpecJSI::NativeAnimationsDebugModuleSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["startRecordingFps"] = MethodMetadata {0, __hostFunction_NativeAnimationsDebugModuleSpecJSI_startRecordingFps};
-
-
- methodMap_["stopRecordingFps"] = MethodMetadata {1, __hostFunction_NativeAnimationsDebugModuleSpecJSI_stopRecordingFps};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeAppStateSpecJSI_getCurrentAppState(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getCurrentAppState", @selector(getCurrentAppState:error:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAppStateSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAppStateSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAppStateSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
- }
-
- NativeAppStateSpecJSI::NativeAppStateSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getCurrentAppState"] = MethodMetadata {2, __hostFunction_NativeAppStateSpecJSI_getCurrentAppState};
-
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppStateSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppStateSpecJSI_removeListeners};
-
-
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeAppStateSpecJSI_getConstants};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeAppearanceSpecJSI_getColorScheme(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, StringKind, "getColorScheme", @selector(getColorScheme), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAppearanceSpecJSI_setColorScheme(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setColorScheme", @selector(setColorScheme:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAppearanceSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeAppearanceSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- NativeAppearanceSpecJSI::NativeAppearanceSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getColorScheme"] = MethodMetadata {0, __hostFunction_NativeAppearanceSpecJSI_getColorScheme};
-
-
- methodMap_["setColorScheme"] = MethodMetadata {1, __hostFunction_NativeAppearanceSpecJSI_setColorScheme};
-
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeAppearanceSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeAppearanceSpecJSI_removeListeners};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_addNetworkingHandler(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addNetworkingHandler", @selector(addNetworkingHandler), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_addWebSocketHandler(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addWebSocketHandler", @selector(addWebSocketHandler:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_removeWebSocketHandler(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeWebSocketHandler", @selector(removeWebSocketHandler:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_sendOverSocket(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "sendOverSocket", @selector(sendOverSocket:socketID:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_createFromParts(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "createFromParts", @selector(createFromParts:withId:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_release(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "release", @selector(release:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeBlobModuleSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
- }
-
- NativeBlobModuleSpecJSI::NativeBlobModuleSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["addNetworkingHandler"] = MethodMetadata {0, __hostFunction_NativeBlobModuleSpecJSI_addNetworkingHandler};
-
-
- methodMap_["addWebSocketHandler"] = MethodMetadata {1, __hostFunction_NativeBlobModuleSpecJSI_addWebSocketHandler};
-
-
- methodMap_["removeWebSocketHandler"] = MethodMetadata {1, __hostFunction_NativeBlobModuleSpecJSI_removeWebSocketHandler};
-
-
- methodMap_["sendOverSocket"] = MethodMetadata {2, __hostFunction_NativeBlobModuleSpecJSI_sendOverSocket};
-
-
- methodMap_["createFromParts"] = MethodMetadata {2, __hostFunction_NativeBlobModuleSpecJSI_createFromParts};
-
-
- methodMap_["release"] = MethodMetadata {1, __hostFunction_NativeBlobModuleSpecJSI_release};
-
-
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeBlobModuleSpecJSI_getConstants};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeBugReportingSpecJSI_startReportAProblemFlow(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "startReportAProblemFlow", @selector(startReportAProblemFlow), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeBugReportingSpecJSI_setExtraData(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setExtraData", @selector(setExtraData:extraFiles:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeBugReportingSpecJSI_setCategoryID(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setCategoryID", @selector(setCategoryID:), args, count);
- }
-
- NativeBugReportingSpecJSI::NativeBugReportingSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["startReportAProblemFlow"] = MethodMetadata {0, __hostFunction_NativeBugReportingSpecJSI_startReportAProblemFlow};
-
-
- methodMap_["setExtraData"] = MethodMetadata {2, __hostFunction_NativeBugReportingSpecJSI_setExtraData};
-
-
- methodMap_["setCategoryID"] = MethodMetadata {1, __hostFunction_NativeBugReportingSpecJSI_setCategoryID};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeClipboardSpecJSI_getString(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "getString", @selector(getString:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeClipboardSpecJSI_setString(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setString", @selector(setString:), args, count);
- }
-
- NativeClipboardSpecJSI::NativeClipboardSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getString"] = MethodMetadata {0, __hostFunction_NativeClipboardSpecJSI_getString};
-
-
- methodMap_["setString"] = MethodMetadata {1, __hostFunction_NativeClipboardSpecJSI_setString};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeDevLoadingViewSpecJSI_showMessage(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "showMessage", @selector(showMessage:withColor:withBackgroundColor:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevLoadingViewSpecJSI_hide(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "hide", @selector(hide), args, count);
- }
-
- NativeDevLoadingViewSpecJSI::NativeDevLoadingViewSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["showMessage"] = MethodMetadata {3, __hostFunction_NativeDevLoadingViewSpecJSI_showMessage};
-
-
- methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeDevLoadingViewSpecJSI_hide};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_show(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "show", @selector(show), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_reload(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "reload", @selector(reload), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_debugRemotely(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "debugRemotely", @selector(debugRemotely:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_setProfilingEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setProfilingEnabled", @selector(setProfilingEnabled:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevMenuSpecJSI_setHotLoadingEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setHotLoadingEnabled", @selector(setHotLoadingEnabled:), args, count);
- }
-
- NativeDevMenuSpecJSI::NativeDevMenuSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeDevMenuSpecJSI_show};
-
-
- methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevMenuSpecJSI_reload};
-
-
- methodMap_["debugRemotely"] = MethodMetadata {1, __hostFunction_NativeDevMenuSpecJSI_debugRemotely};
-
-
- methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuSpecJSI_setProfilingEnabled};
-
-
- methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevMenuSpecJSI_setHotLoadingEnabled};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_reload(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "reload", @selector(reload), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_reloadWithReason(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "reloadWithReason", @selector(reloadWithReason:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_onFastRefresh(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "onFastRefresh", @selector(onFastRefresh), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setHotLoadingEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setHotLoadingEnabled", @selector(setHotLoadingEnabled:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setIsDebuggingRemotely(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setIsDebuggingRemotely", @selector(setIsDebuggingRemotely:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setProfilingEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setProfilingEnabled", @selector(setProfilingEnabled:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_toggleElementInspector(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "toggleElementInspector", @selector(toggleElementInspector), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_addMenuItem(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addMenuItem", @selector(addMenuItem:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevSettingsSpecJSI_setIsShakeToShowDevMenuEnabled(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setIsShakeToShowDevMenuEnabled", @selector(setIsShakeToShowDevMenuEnabled:), args, count);
- }
-
- NativeDevSettingsSpecJSI::NativeDevSettingsSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["reload"] = MethodMetadata {0, __hostFunction_NativeDevSettingsSpecJSI_reload};
-
-
- methodMap_["reloadWithReason"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_reloadWithReason};
-
-
- methodMap_["onFastRefresh"] = MethodMetadata {0, __hostFunction_NativeDevSettingsSpecJSI_onFastRefresh};
-
-
- methodMap_["setHotLoadingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setHotLoadingEnabled};
-
-
- methodMap_["setIsDebuggingRemotely"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setIsDebuggingRemotely};
-
-
- methodMap_["setProfilingEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setProfilingEnabled};
-
-
- methodMap_["toggleElementInspector"] = MethodMetadata {0, __hostFunction_NativeDevSettingsSpecJSI_toggleElementInspector};
-
-
- methodMap_["addMenuItem"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_addMenuItem};
-
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_removeListeners};
-
-
- methodMap_["setIsShakeToShowDevMenuEnabled"] = MethodMetadata {1, __hostFunction_NativeDevSettingsSpecJSI_setIsShakeToShowDevMenuEnabled};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeDevToolsSettingsManagerSpecJSI_setConsolePatchSettings(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setConsolePatchSettings", @selector(setConsolePatchSettings:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevToolsSettingsManagerSpecJSI_getConsolePatchSettings(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, StringKind, "getConsolePatchSettings", @selector(getConsolePatchSettings), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevToolsSettingsManagerSpecJSI_setProfilingSettings(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setProfilingSettings", @selector(setProfilingSettings:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeDevToolsSettingsManagerSpecJSI_getProfilingSettings(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, StringKind, "getProfilingSettings", @selector(getProfilingSettings), args, count);
- }
-
- NativeDevToolsSettingsManagerSpecJSI::NativeDevToolsSettingsManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["setConsolePatchSettings"] = MethodMetadata {1, __hostFunction_NativeDevToolsSettingsManagerSpecJSI_setConsolePatchSettings};
-
-
- methodMap_["getConsolePatchSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerSpecJSI_getConsolePatchSettings};
-
-
- methodMap_["setProfilingSettings"] = MethodMetadata {1, __hostFunction_NativeDevToolsSettingsManagerSpecJSI_setProfilingSettings};
-
-
- methodMap_["getProfilingSettings"] = MethodMetadata {0, __hostFunction_NativeDevToolsSettingsManagerSpecJSI_getProfilingSettings};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeDeviceEventManagerSpecJSI_invokeDefaultBackPressHandler(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "invokeDefaultBackPressHandler", @selector(invokeDefaultBackPressHandler), args, count);
- }
-
- NativeDeviceEventManagerSpecJSI::NativeDeviceEventManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["invokeDefaultBackPressHandler"] = MethodMetadata {0, __hostFunction_NativeDeviceEventManagerSpecJSI_invokeDefaultBackPressHandler};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeDeviceInfoSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
- }
-
- NativeDeviceInfoSpecJSI::NativeDeviceInfoSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeDeviceInfoSpecJSI_getConstants};
-
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeExceptionsManager_StackFrame)
-+ (RCTManagedPointer *)JS_NativeExceptionsManager_StackFrame:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-@implementation RCTCxxConvert (NativeExceptionsManager_ExceptionData)
-+ (RCTManagedPointer *)JS_NativeExceptionsManager_ExceptionData:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_reportFatalException(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "reportFatalException", @selector(reportFatalException:stack:exceptionId:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_reportSoftException(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "reportSoftException", @selector(reportSoftException:stack:exceptionId:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_reportException(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "reportException", @selector(reportException:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_updateExceptionMessage(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "updateExceptionMessage", @selector(updateExceptionMessage:stack:exceptionId:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeExceptionsManagerSpecJSI_dismissRedbox(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "dismissRedbox", @selector(dismissRedbox), args, count);
- }
-
- NativeExceptionsManagerSpecJSI::NativeExceptionsManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["reportFatalException"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerSpecJSI_reportFatalException};
-
-
- methodMap_["reportSoftException"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerSpecJSI_reportSoftException};
-
-
- methodMap_["reportException"] = MethodMetadata {1, __hostFunction_NativeExceptionsManagerSpecJSI_reportException};
- setMethodArgConversionSelector(@"reportException", 0, @"JS_NativeExceptionsManager_ExceptionData:");
-
- methodMap_["updateExceptionMessage"] = MethodMetadata {3, __hostFunction_NativeExceptionsManagerSpecJSI_updateExceptionMessage};
-
-
- methodMap_["dismissRedbox"] = MethodMetadata {0, __hostFunction_NativeExceptionsManagerSpecJSI_dismissRedbox};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeFileReaderModuleSpecJSI_readAsDataURL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "readAsDataURL", @selector(readAsDataURL:resolve:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeFileReaderModuleSpecJSI_readAsText(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "readAsText", @selector(readAsText:encoding:resolve:reject:), args, count);
- }
-
- NativeFileReaderModuleSpecJSI::NativeFileReaderModuleSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["readAsDataURL"] = MethodMetadata {1, __hostFunction_NativeFileReaderModuleSpecJSI_readAsDataURL};
-
-
- methodMap_["readAsText"] = MethodMetadata {2, __hostFunction_NativeFileReaderModuleSpecJSI_readAsText};
-
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeFrameRateLogger_SpecSetGlobalOptionsOptions)
-+ (RCTManagedPointer *)JS_NativeFrameRateLogger_SpecSetGlobalOptionsOptions:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeFrameRateLoggerSpecJSI_setGlobalOptions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setGlobalOptions", @selector(setGlobalOptions:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeFrameRateLoggerSpecJSI_setContext(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setContext", @selector(setContext:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeFrameRateLoggerSpecJSI_beginScroll(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "beginScroll", @selector(beginScroll), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeFrameRateLoggerSpecJSI_endScroll(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "endScroll", @selector(endScroll), args, count);
- }
-
- NativeFrameRateLoggerSpecJSI::NativeFrameRateLoggerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["setGlobalOptions"] = MethodMetadata {1, __hostFunction_NativeFrameRateLoggerSpecJSI_setGlobalOptions};
- setMethodArgConversionSelector(@"setGlobalOptions", 0, @"JS_NativeFrameRateLogger_SpecSetGlobalOptionsOptions:");
-
- methodMap_["setContext"] = MethodMetadata {1, __hostFunction_NativeFrameRateLoggerSpecJSI_setContext};
-
-
- methodMap_["beginScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerSpecJSI_beginScroll};
-
-
- methodMap_["endScroll"] = MethodMetadata {0, __hostFunction_NativeFrameRateLoggerSpecJSI_endScroll};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeHeadlessJsTaskSupportSpecJSI_notifyTaskFinished(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "notifyTaskFinished", @selector(notifyTaskFinished:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeHeadlessJsTaskSupportSpecJSI_notifyTaskRetry(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "notifyTaskRetry", @selector(notifyTaskRetry:resolve:reject:), args, count);
- }
-
- NativeHeadlessJsTaskSupportSpecJSI::NativeHeadlessJsTaskSupportSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["notifyTaskFinished"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportSpecJSI_notifyTaskFinished};
-
-
- methodMap_["notifyTaskRetry"] = MethodMetadata {1, __hostFunction_NativeHeadlessJsTaskSupportSpecJSI_notifyTaskRetry};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeI18nManagerSpecJSI_allowRTL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "allowRTL", @selector(allowRTL:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeI18nManagerSpecJSI_forceRTL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "forceRTL", @selector(forceRTL:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeI18nManagerSpecJSI_swapLeftAndRightInRTL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "swapLeftAndRightInRTL", @selector(swapLeftAndRightInRTL:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeI18nManagerSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
- }
-
- NativeI18nManagerSpecJSI::NativeI18nManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["allowRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerSpecJSI_allowRTL};
-
-
- methodMap_["forceRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerSpecJSI_forceRTL};
-
-
- methodMap_["swapLeftAndRightInRTL"] = MethodMetadata {1, __hostFunction_NativeI18nManagerSpecJSI_swapLeftAndRightInRTL};
-
-
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativeI18nManagerSpecJSI_getConstants};
-
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeImageEditor_OptionsOffset)
-+ (RCTManagedPointer *)JS_NativeImageEditor_OptionsOffset:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-@implementation RCTCxxConvert (NativeImageEditor_OptionsSize)
-+ (RCTManagedPointer *)JS_NativeImageEditor_OptionsSize:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-@implementation RCTCxxConvert (NativeImageEditor_OptionsDisplaySize)
-+ (RCTManagedPointer *)JS_NativeImageEditor_OptionsDisplaySize:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-@implementation RCTCxxConvert (NativeImageEditor_Options)
-+ (RCTManagedPointer *)JS_NativeImageEditor_Options:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeImageEditorSpecJSI_cropImage(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "cropImage", @selector(cropImage:cropData:successCallback:errorCallback:), args, count);
- }
-
- NativeImageEditorSpecJSI::NativeImageEditorSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["cropImage"] = MethodMetadata {4, __hostFunction_NativeImageEditorSpecJSI_cropImage};
- setMethodArgConversionSelector(@"cropImage", 1, @"JS_NativeImageEditor_Options:");
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_getSize(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "getSize", @selector(getSize:resolve:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_getSizeWithHeaders(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "getSizeWithHeaders", @selector(getSizeWithHeaders:headers:resolve:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_prefetchImage(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "prefetchImage", @selector(prefetchImage:resolve:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_prefetchImageWithMetadata(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "prefetchImageWithMetadata", @selector(prefetchImageWithMetadata:queryRootName:rootTag:resolve:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeImageLoaderIOSSpecJSI_queryCache(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "queryCache", @selector(queryCache:resolve:reject:), args, count);
- }
-
- NativeImageLoaderIOSSpecJSI::NativeImageLoaderIOSSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getSize"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSSpecJSI_getSize};
-
-
- methodMap_["getSizeWithHeaders"] = MethodMetadata {2, __hostFunction_NativeImageLoaderIOSSpecJSI_getSizeWithHeaders};
-
-
- methodMap_["prefetchImage"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSSpecJSI_prefetchImage};
-
-
- methodMap_["prefetchImageWithMetadata"] = MethodMetadata {3, __hostFunction_NativeImageLoaderIOSSpecJSI_prefetchImageWithMetadata};
-
-
- methodMap_["queryCache"] = MethodMetadata {1, __hostFunction_NativeImageLoaderIOSSpecJSI_queryCache};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeImageStoreIOSSpecJSI_getBase64ForTag(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getBase64ForTag", @selector(getBase64ForTag:successCallback:errorCallback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeImageStoreIOSSpecJSI_hasImageForTag(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "hasImageForTag", @selector(hasImageForTag:callback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeImageStoreIOSSpecJSI_removeImageForTag(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeImageForTag", @selector(removeImageForTag:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeImageStoreIOSSpecJSI_addImageFromBase64(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addImageFromBase64", @selector(addImageFromBase64:successCallback:errorCallback:), args, count);
- }
-
- NativeImageStoreIOSSpecJSI::NativeImageStoreIOSSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getBase64ForTag"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSSpecJSI_getBase64ForTag};
-
-
- methodMap_["hasImageForTag"] = MethodMetadata {2, __hostFunction_NativeImageStoreIOSSpecJSI_hasImageForTag};
-
-
- methodMap_["removeImageForTag"] = MethodMetadata {1, __hostFunction_NativeImageStoreIOSSpecJSI_removeImageForTag};
-
-
- methodMap_["addImageFromBase64"] = MethodMetadata {3, __hostFunction_NativeImageStoreIOSSpecJSI_addImageFromBase64};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeJSCHeapCaptureSpecJSI_captureComplete(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "captureComplete", @selector(captureComplete:error:), args, count);
- }
-
- NativeJSCHeapCaptureSpecJSI::NativeJSCHeapCaptureSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["captureComplete"] = MethodMetadata {2, __hostFunction_NativeJSCHeapCaptureSpecJSI_captureComplete};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeJSCSamplingProfilerSpecJSI_operationComplete(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "operationComplete", @selector(operationComplete:result:error:), args, count);
- }
-
- NativeJSCSamplingProfilerSpecJSI::NativeJSCSamplingProfilerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["operationComplete"] = MethodMetadata {3, __hostFunction_NativeJSCSamplingProfilerSpecJSI_operationComplete};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeKeyboardObserverSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeKeyboardObserverSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- NativeKeyboardObserverSpecJSI::NativeKeyboardObserverSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeKeyboardObserverSpecJSI_removeListeners};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_getInitialURL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "getInitialURL", @selector(getInitialURL:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_canOpenURL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "canOpenURL", @selector(canOpenURL:resolve:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_openURL(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "openURL", @selector(openURL:resolve:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_openSettings(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "openSettings", @selector(openSettings:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeLinkingManagerSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- NativeLinkingManagerSpecJSI::NativeLinkingManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getInitialURL"] = MethodMetadata {0, __hostFunction_NativeLinkingManagerSpecJSI_getInitialURL};
-
-
- methodMap_["canOpenURL"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerSpecJSI_canOpenURL};
-
-
- methodMap_["openURL"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerSpecJSI_openURL};
-
-
- methodMap_["openSettings"] = MethodMetadata {0, __hostFunction_NativeLinkingManagerSpecJSI_openSettings};
-
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeLinkingManagerSpecJSI_removeListeners};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeLogBoxSpecJSI_show(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "show", @selector(show), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeLogBoxSpecJSI_hide(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "hide", @selector(hide), args, count);
- }
-
- NativeLogBoxSpecJSI::NativeLogBoxSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["show"] = MethodMetadata {0, __hostFunction_NativeLogBoxSpecJSI_show};
-
-
- methodMap_["hide"] = MethodMetadata {0, __hostFunction_NativeLogBoxSpecJSI_hide};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeModalManagerSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeModalManagerSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- NativeModalManagerSpecJSI::NativeModalManagerSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeModalManagerSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeModalManagerSpecJSI_removeListeners};
-
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativeNetworkingIOS_SpecSendRequestQuery)
-+ (RCTManagedPointer *)JS_NativeNetworkingIOS_SpecSendRequestQuery:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_sendRequest(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "sendRequest", @selector(sendRequest:callback:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_abortRequest(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "abortRequest", @selector(abortRequest:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_clearCookies(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "clearCookies", @selector(clearCookies:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_addListener(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "addListener", @selector(addListener:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativeNetworkingIOSSpecJSI_removeListeners(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "removeListeners", @selector(removeListeners:), args, count);
- }
-
- NativeNetworkingIOSSpecJSI::NativeNetworkingIOSSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["sendRequest"] = MethodMetadata {2, __hostFunction_NativeNetworkingIOSSpecJSI_sendRequest};
- setMethodArgConversionSelector(@"sendRequest", 0, @"JS_NativeNetworkingIOS_SpecSendRequestQuery:");
-
- methodMap_["abortRequest"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSSpecJSI_abortRequest};
-
-
- methodMap_["clearCookies"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSSpecJSI_clearCookies};
-
-
- methodMap_["addListener"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSSpecJSI_addListener};
-
-
- methodMap_["removeListeners"] = MethodMetadata {1, __hostFunction_NativeNetworkingIOSSpecJSI_removeListeners};
-
- }
- } // namespace react
-} // namespace facebook
-
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativePlatformConstantsIOSSpecJSI_getConstants(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, ObjectKind, "getConstants", @selector(getConstants), args, count);
- }
-
- NativePlatformConstantsIOSSpecJSI::NativePlatformConstantsIOSSpecJSI(const ObjCTurboModule::InitParams ¶ms)
- : ObjCTurboModule(params) {
-
- methodMap_["getConstants"] = MethodMetadata {0, __hostFunction_NativePlatformConstantsIOSSpecJSI_getConstants};
-
- }
- } // namespace react
-} // namespace facebook
-@implementation RCTCxxConvert (NativePushNotificationManagerIOS_SpecRequestPermissionsPermission)
-+ (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_SpecRequestPermissionsPermission:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-@implementation RCTCxxConvert (NativePushNotificationManagerIOS_Notification)
-+ (RCTManagedPointer *)JS_NativePushNotificationManagerIOS_Notification:(id)json
-{
- return facebook::react::managedPointer(json);
-}
-@end
-namespace facebook {
- namespace react {
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_onFinishRemoteNotification(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "onFinishRemoteNotification", @selector(onFinishRemoteNotification:fetchResult:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_setApplicationIconBadgeNumber(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "setApplicationIconBadgeNumber", @selector(setApplicationIconBadgeNumber:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_getApplicationIconBadgeNumber(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getApplicationIconBadgeNumber", @selector(getApplicationIconBadgeNumber:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_requestPermissions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "requestPermissions", @selector(requestPermissions:resolve:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_abandonPermissions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "abandonPermissions", @selector(abandonPermissions), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_checkPermissions(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "checkPermissions", @selector(checkPermissions:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_presentLocalNotification(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "presentLocalNotification", @selector(presentLocalNotification:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_scheduleLocalNotification(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "scheduleLocalNotification", @selector(scheduleLocalNotification:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_cancelAllLocalNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "cancelAllLocalNotifications", @selector(cancelAllLocalNotifications), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_cancelLocalNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "cancelLocalNotifications", @selector(cancelLocalNotifications:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_getInitialNotification(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, PromiseKind, "getInitialNotification", @selector(getInitialNotification:reject:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_getScheduledLocalNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast(turboModule).invokeObjCMethod(rt, VoidKind, "getScheduledLocalNotifications", @selector(getScheduledLocalNotifications:), args, count);
- }
-
- static facebook::jsi::Value __hostFunction_NativePushNotificationManagerIOSSpecJSI_removeAllDeliveredNotifications(facebook::jsi::Runtime& rt, TurboModule &turboModule, const facebook::jsi::Value* args, size_t count) {
- return static_cast