├── packages ├── adapter │ ├── types.d.ts │ ├── README.md │ ├── src │ │ └── index.ts │ └── tsconfig.json ├── engine-rn-web │ ├── types.d.ts │ ├── templates │ │ ├── platforms │ │ │ ├── web │ │ │ │ └── public │ │ │ │ │ ├── robots.txt │ │ │ │ │ ├── favicon.ico │ │ │ │ │ └── browserconfig.xml │ │ │ ├── tizenwatch │ │ │ │ └── .tproject │ │ │ ├── tizen │ │ │ │ └── .tproject │ │ │ ├── tizenmobile │ │ │ │ └── .tproject │ │ │ ├── webos │ │ │ │ ├── public │ │ │ │ │ └── manifest.json │ │ │ │ └── appinfo.json │ │ │ ├── webtv │ │ │ │ └── public │ │ │ │ │ └── manifest.json │ │ │ └── kaios │ │ │ │ └── public │ │ │ │ └── manifest.webapp │ │ └── appShell │ │ │ └── index.html │ ├── README.md │ ├── src │ │ ├── config.ts │ │ ├── getContext.ts │ │ ├── constants.ts │ │ └── tasks │ │ │ └── taskDebug.ts │ └── tsconfig.json ├── sdk-android │ ├── types.d.ts │ ├── README.md │ ├── src │ │ ├── cli.ts │ │ ├── getContext.ts │ │ ├── tasks │ │ │ ├── taskSdkConfigure.ts │ │ │ └── taskBuild.ts │ │ └── constants.ts │ ├── templateFiles │ │ ├── gradleProject │ │ │ └── gradle │ │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── colors_xml.json │ │ ├── strings_xml.json │ │ └── build.gradle.json │ └── tsconfig.json ├── engine-core │ ├── types.d.ts │ ├── README.md │ ├── src │ │ ├── getContext.ts │ │ └── tasks │ │ │ ├── global │ │ │ └── taskConfig.ts │ │ │ ├── plugin │ │ │ └── taskPluginList.ts │ │ │ ├── linking │ │ │ └── types.ts │ │ │ ├── hooks │ │ │ └── taskHooksPipes.ts │ │ │ └── platform │ │ │ └── taskPlatformList.ts │ └── tsconfig.json ├── engine-rn-electron │ ├── types.d.ts │ ├── src │ │ ├── sdk │ │ │ ├── constants.ts │ │ │ └── types.ts │ │ ├── config.ts │ │ ├── getContext.ts │ │ └── tasks │ │ │ ├── taskBuild.ts │ │ │ ├── taskStart.ts │ │ │ └── taskExport.ts │ ├── README.md │ ├── tsconfig.json │ └── templates │ │ └── platforms │ │ ├── macos │ │ ├── entitlements.mas.inherit.plist │ │ └── package.json │ │ ├── linux │ │ └── package.json │ │ └── windows │ │ └── package.json ├── engine-rn-next │ ├── types.d.ts │ ├── src │ │ ├── sdk │ │ │ └── constants.ts │ │ ├── config.ts │ │ ├── getContext.ts │ │ └── tasks │ │ │ ├── taskBuild.ts │ │ │ ├── taskExport.ts │ │ │ └── taskConfigure.ts │ ├── README.md │ └── tsconfig.json ├── sdk-kaios │ ├── types.d.ts │ ├── README.md │ ├── src │ │ ├── types.ts │ │ ├── constants.ts │ │ ├── getContext.ts │ │ └── index.ts │ └── tsconfig.json ├── sdk-telemetry │ ├── types.d.ts │ ├── README.md │ ├── src │ │ ├── constants.ts │ │ └── types.ts │ └── tsconfig.json ├── sdk-tizen │ ├── types.d.ts │ ├── README.md │ ├── src │ │ ├── taskOptions.ts │ │ ├── getContext.ts │ │ ├── types.ts │ │ ├── constants.ts │ │ └── tasks │ │ │ └── taskSdkConfigure.ts │ └── tsconfig.json ├── sdk-webos │ ├── types.d.ts │ ├── README.md │ ├── src │ │ ├── getContext.ts │ │ ├── types.ts │ │ ├── tasks │ │ │ └── taskSdkConfigure.ts │ │ └── constants.ts │ └── tsconfig.json ├── cli │ ├── README.md │ ├── src │ │ ├── types.ts │ │ └── bin.ts │ ├── types.d.ts │ └── tsconfig.json ├── core │ ├── README.md │ ├── typings │ │ ├── svgs.d.ts │ │ ├── rimraf.d.ts │ │ ├── svg2js.d.ts │ │ ├── netcat.d.ts │ │ └── global.d.ts │ ├── src │ │ ├── api │ │ │ └── provider.ts │ │ ├── schema │ │ │ ├── configFiles │ │ │ │ ├── runtime.ts │ │ │ │ ├── overrides.ts │ │ │ │ ├── integration.ts │ │ │ │ ├── plugin.ts │ │ │ │ └── workspaces.ts │ │ │ ├── platforms │ │ │ │ └── fragments │ │ │ │ │ ├── webos.ts │ │ │ │ │ ├── lightning.ts │ │ │ │ │ ├── tizen.ts │ │ │ │ │ ├── web.ts │ │ │ │ │ └── reactNative.ts │ │ │ ├── validators.ts │ │ │ ├── defaults.ts │ │ │ └── plugins │ │ │ │ └── fragments │ │ │ │ └── platformAndroid.ts │ │ ├── engines │ │ │ └── nameExtractor.ts │ │ ├── system │ │ │ └── is.ts │ │ ├── env │ │ │ └── types.ts │ │ ├── types.ts │ │ ├── context │ │ │ └── provider.ts │ │ ├── configs │ │ │ └── utils.ts │ │ ├── projects │ │ │ └── types.ts │ │ └── migrator │ │ │ └── index.ts │ └── templateFiles │ │ └── buildHooksSrc │ │ └── index.ts ├── rnv │ ├── .dockerignore │ ├── src │ │ ├── constants.ts │ │ └── bin.ts │ ├── docker-compose.yml │ └── tsconfig.json ├── sdk-webpack │ ├── README.md │ ├── types.d.ts │ ├── src │ │ └── config │ │ │ ├── webpack │ │ │ └── persistentCache │ │ │ │ └── createEnvironmentHash.js │ │ │ └── jest │ │ │ ├── babelTransform.js │ │ │ └── cssTransform.js │ ├── tsconfig.json │ └── nodeModuleOverrides │ │ └── react-dev-utils │ │ └── clearConsole.js ├── app-harness │ ├── .gitignore │ ├── secrets │ │ ├── privateConfigs.enc.timestamp │ │ └── privateConfigs.enc │ ├── index.js │ ├── typings │ │ └── assets.d.ts │ ├── test │ │ ├── .eslintrc │ │ └── specs │ │ │ └── playground.js │ ├── static │ │ ├── icon.png │ │ └── fonts │ │ │ └── Inter-Light.ttf │ ├── babel.config.js │ ├── public │ │ └── images │ │ │ └── favicon.ico │ ├── src │ │ ├── components │ │ │ ├── SplashScreen │ │ │ │ ├── types.ts │ │ │ │ ├── index.android.ts │ │ │ │ └── index.mobile.native.ts │ │ │ ├── SafeArea │ │ │ │ ├── index.ts │ │ │ │ └── index.web.tsx │ │ │ ├── Permissions │ │ │ │ ├── index.ts │ │ │ │ └── index.mobile.native.ts │ │ │ ├── types.ts │ │ │ ├── Player │ │ │ │ ├── index.tsx │ │ │ │ ├── index.kaios.tsx │ │ │ │ └── index.web.tsx │ │ │ ├── OrientationLocker │ │ │ │ ├── index.mobile.native.ts │ │ │ │ └── index.tsx │ │ │ ├── CastButton │ │ │ │ └── index.tsx │ │ │ └── Notifications │ │ │ │ └── index.ts │ │ ├── pages │ │ │ ├── index.tsx │ │ │ ├── _app.tsx │ │ │ └── 404.tsx │ │ ├── entry │ │ │ ├── index.ts │ │ │ ├── index.lng.ts │ │ │ └── index.web.tsx │ │ ├── app │ │ │ └── index.chromecast.tsx │ │ └── screens │ │ │ └── Cast.tsx │ ├── appConfigs │ │ ├── base │ │ │ ├── assets │ │ │ │ └── runtime │ │ │ │ │ └── logo.png │ │ │ └── fonts │ │ │ │ └── Inter-Light.ttf │ │ ├── harness │ │ │ ├── assets │ │ │ │ ├── ios │ │ │ │ │ └── launch-image.png │ │ │ │ └── android │ │ │ │ │ └── res │ │ │ │ │ ├── drawable-hdpi │ │ │ │ │ └── splash_icon.png │ │ │ │ │ ├── drawable-mdpi │ │ │ │ │ └── splash_icon.png │ │ │ │ │ ├── drawable-xhdpi │ │ │ │ │ └── splash_icon.png │ │ │ │ │ ├── drawable-xxhdpi │ │ │ │ │ └── splash_icon.png │ │ │ │ │ ├── drawable-xxxhdpi │ │ │ │ │ └── splash_icon.png │ │ │ │ │ └── layout │ │ │ │ │ └── launch_screen.xml │ │ │ └── rnv.json │ │ └── unicorn │ │ │ └── renative.json │ ├── metadata.json │ ├── next.config.js │ ├── metro.config.js │ ├── react-native.config.js │ ├── next-env.d.ts │ ├── README.md │ ├── buildHooks │ │ └── src │ │ │ └── index.ts │ ├── settings.json │ ├── Gemfile │ └── webpack.config.js ├── engine-roku │ ├── src │ │ └── index.ts │ ├── README.md │ ├── renative.engine.json │ └── tsconfig.json ├── sdk-apple │ ├── README.md │ ├── templateFiles │ │ ├── entitlements.json │ │ └── AppleWWDRCA.cer │ ├── src │ │ ├── getContext.ts │ │ └── tasks │ │ │ ├── taskCryptoUpdateProfile.ts │ │ │ └── taskLog.ts │ └── tsconfig.json ├── build-hooks-git │ ├── README.md │ ├── src │ │ ├── index.ts │ │ └── __tests__ │ │ │ └── sanity.test.ts │ └── tsconfig.json ├── sdk-utils │ ├── README.md │ ├── src │ │ ├── axiosUtils.ts │ │ ├── constants.ts │ │ └── index.ts │ ├── types.d.ts │ ├── templateFiles │ │ └── fontManager.js │ └── tsconfig.json ├── template-starter │ ├── index.js │ ├── typings │ │ └── assets.d.ts │ ├── test │ │ ├── .eslintrc │ │ └── specs │ │ │ └── playground.js │ ├── rnv.json │ ├── rnv.template.json │ ├── .gitignore │ ├── babel.config.js │ ├── metro.config.js │ ├── src │ │ ├── pages │ │ │ ├── index.tsx │ │ │ ├── _app.tsx │ │ │ └── 404.tsx │ │ └── entry │ │ │ ├── index.ts │ │ │ └── index.web.tsx │ ├── appConfigs │ │ ├── base │ │ │ ├── assets │ │ │ │ └── runtime │ │ │ │ │ └── logo.png │ │ │ ├── fonts │ │ │ │ └── Inter-Light.ttf │ │ │ └── rnv.json │ │ ├── template │ │ │ └── rnv.json │ │ └── app │ │ │ ├── rnv.json │ │ │ └── renative.json │ ├── next.config.js │ ├── buildHooks │ │ └── src │ │ │ └── index.ts │ ├── react-native.config.js │ ├── next-env.d.ts │ ├── webpack.config.js │ └── Gemfile ├── build-hooks-schema │ ├── README.md │ ├── src │ │ └── index.ts │ └── tsconfig.json ├── config-templates │ ├── README.md │ └── pluginTemplates │ │ ├── react-native-photo-editor │ │ └── builds │ │ │ ├── ios │ │ │ ├── Resources │ │ │ │ ├── arrow1.png │ │ │ │ ├── arrow2.png │ │ │ │ ├── arrow3.png │ │ │ │ ├── arrow4.png │ │ │ │ └── arrow5.png │ │ │ └── RNVApp │ │ │ │ └── RNPhotoEditor │ │ │ │ └── RNPhotoEditor.h │ │ │ └── android │ │ │ └── app │ │ │ └── src │ │ │ └── main │ │ │ └── res │ │ │ └── drawable │ │ │ ├── arrow1.png │ │ │ ├── arrow2.png │ │ │ ├── arrow3.png │ │ │ ├── arrow4.png │ │ │ └── arrow5.png │ │ ├── @react-native-community │ │ ├── cli │ │ │ └── overrides.json │ │ └── cli-platform-ios │ │ │ └── overrides@11.3.7.json │ │ └── react-native-tvos │ │ └── overrides.json ├── engine-rn │ ├── templates │ │ └── platforms │ │ │ ├── macos │ │ │ ├── main.jsbundle │ │ │ ├── exportOptions.plist │ │ │ ├── RNVApp │ │ │ │ ├── Bridge-Header.h │ │ │ │ └── RNVApp.xcdatamodeld │ │ │ │ │ ├── .xccurrentversion │ │ │ │ │ └── RNVApp.xcdatamodel │ │ │ │ │ └── contents │ │ │ └── RNVApp.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ ├── ios │ │ │ ├── exportOptions.plist │ │ │ ├── RNVApp │ │ │ │ ├── AppDelegate.mm │ │ │ │ ├── AppDelegate.h │ │ │ │ ├── main.m │ │ │ │ └── RNVApp.xcdatamodeld │ │ │ │ │ ├── .xccurrentversion │ │ │ │ │ └── RNVApp.xcdatamodel │ │ │ │ │ └── contents │ │ │ ├── RNVApp.xcworkspace │ │ │ │ ├── contents.xcworkspacedata │ │ │ │ └── xcshareddata │ │ │ │ │ └── IDEWorkspaceChecks.plist │ │ │ └── .xcode.env │ │ │ ├── android │ │ │ ├── app │ │ │ │ ├── debug.keystore │ │ │ │ └── src │ │ │ │ │ └── main │ │ │ │ │ ├── res │ │ │ │ │ └── values │ │ │ │ │ │ ├── colors.xml │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ └── styles.xml │ │ │ │ │ └── AndroidManifest.xml │ │ │ └── settings.gradle │ │ │ └── androidwear │ │ │ ├── app │ │ │ ├── debug.keystore │ │ │ └── src │ │ │ │ ├── main │ │ │ │ ├── res │ │ │ │ │ └── values │ │ │ │ │ │ ├── colors.xml │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ └── styles.xml │ │ │ │ └── AndroidManifest.xml │ │ │ │ └── debug │ │ │ │ └── AndroidManifest.xml │ │ │ └── settings.gradle │ ├── README.md │ ├── src │ │ ├── config.ts │ │ ├── getContext.ts │ │ └── adapters │ │ │ └── babelAdapter.ts │ └── tsconfig.json ├── sdk-react-native │ ├── README.md │ ├── src │ │ ├── getContext.ts │ │ ├── constants.ts │ │ └── index.ts │ └── tsconfig.json ├── engine-rn-tvos │ ├── README.md │ ├── templates │ │ └── platforms │ │ │ ├── tvos │ │ │ ├── exportOptions.plist │ │ │ ├── RNVApp │ │ │ │ ├── AppDelegate.mm │ │ │ │ ├── AppDelegate.h │ │ │ │ └── main.m │ │ │ ├── RNVApp.xcworkspace │ │ │ │ └── contents.xcworkspacedata │ │ │ └── .xcode.env │ │ │ ├── firetv │ │ │ ├── app │ │ │ │ ├── debug.keystore │ │ │ │ └── src │ │ │ │ │ ├── main │ │ │ │ │ ├── res │ │ │ │ │ │ └── values │ │ │ │ │ │ │ ├── colors.xml │ │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ │ └── styles.xml │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ │ └── debug │ │ │ │ │ └── AndroidManifest.xml │ │ │ └── settings.gradle │ │ │ └── androidtv │ │ │ ├── app │ │ │ ├── debug.keystore │ │ │ └── src │ │ │ │ ├── main │ │ │ │ ├── res │ │ │ │ │ └── values │ │ │ │ │ │ ├── colors.xml │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ └── styles.xml │ │ │ │ └── AndroidManifest.xml │ │ │ │ └── debug │ │ │ │ └── AndroidManifest.xml │ │ │ └── settings.gradle │ ├── src │ │ ├── config.ts │ │ └── getContext.ts │ └── tsconfig.json ├── integration-starter │ ├── README.md │ ├── renative.integration.json │ ├── src │ │ ├── config.ts │ │ ├── index.ts │ │ └── tasks │ │ │ └── taskStarterHello.ts │ └── tsconfig.json ├── renative │ ├── src │ │ ├── api │ │ │ ├── isWebBased │ │ │ │ ├── index.ts │ │ │ │ └── index.web.ts │ │ │ ├── engine │ │ │ │ ├── index.engine-rn.ts │ │ │ │ ├── index.engine-rn-next.ts │ │ │ │ ├── index.engine-rn-tvos.ts │ │ │ │ ├── index.engine-rn-web.ts │ │ │ │ ├── index.engine-lightning.ts │ │ │ │ ├── index.engine-rn-macos.ts │ │ │ │ ├── index.engine-rn-windows.ts │ │ │ │ ├── index.engine-rn-electron.ts │ │ │ │ └── index.ts │ │ │ ├── factor │ │ │ │ ├── index.tv.ts │ │ │ │ ├── index.browser.ts │ │ │ │ ├── index.desktop.ts │ │ │ │ ├── index.mobile.ts │ │ │ │ ├── index.watch.ts │ │ │ │ └── index.ts │ │ │ └── platform │ │ │ │ ├── index.ios.ts │ │ │ │ ├── index.web.ts │ │ │ │ ├── index.linux.ts │ │ │ │ ├── index.macos.ts │ │ │ │ ├── index.tizen.ts │ │ │ │ ├── index.tvos.ts │ │ │ │ ├── index.webos.ts │ │ │ │ ├── index.webtv.ts │ │ │ │ ├── index.xbox.ts │ │ │ │ ├── index.android.ts │ │ │ │ ├── index.firetv.ts │ │ │ │ ├── index.windows.ts │ │ │ │ ├── index.androidtv.ts │ │ │ │ ├── index.tizenwatch.ts │ │ │ │ ├── index.androidwear.ts │ │ │ │ ├── index.tizenmobile.ts │ │ │ │ ├── index.kaios.ts │ │ │ │ └── index.ts │ │ └── index.ts │ ├── renative.plugin.json │ └── tsconfig.json ├── engine-lightning │ ├── README.md │ ├── src │ │ ├── sdk │ │ │ └── constants.ts │ │ ├── config.ts │ │ ├── getContext.ts │ │ └── tasks │ │ │ ├── taskBuild.ts │ │ │ └── taskConfigure.ts │ ├── tsconfig.json │ ├── renative.engine.json │ └── templates │ │ └── platforms │ │ └── webos │ │ └── project │ │ └── appinfo.json ├── engine-rn-macos │ ├── README.md │ ├── templates │ │ └── platforms │ │ │ └── macos │ │ │ ├── exportOptions.plist │ │ │ ├── RNVAppMACOS │ │ │ ├── ViewController.h │ │ │ ├── main.m │ │ │ ├── AppDelegate.h │ │ │ └── RNVAppMACOS.entitlements │ │ │ └── RNVAppMACOS.xcworkspace │ │ │ ├── contents.xcworkspacedata │ │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ ├── src │ │ ├── config.ts │ │ ├── getContext.ts │ │ └── adapters │ │ │ └── babelAdapter.ts │ └── tsconfig.json ├── integration-docker │ ├── README.md │ ├── renative.integration.json │ ├── src │ │ ├── config.ts │ │ ├── index.ts │ │ └── tasks │ │ │ ├── taskDockerDeploy.ts │ │ │ └── taskDockerExport.ts │ ├── docker-compose.build.yml │ ├── docker-compose.yml │ ├── tsconfig.json │ └── Dockerfile └── engine-rn-windows │ ├── pluginTemplates │ ├── @react-native-windows │ │ └── cli │ │ │ └── overrides │ │ │ └── templates │ │ │ ├── app.json │ │ │ ├── metro.config.js │ │ │ └── shared │ │ │ └── assets │ │ │ ├── StoreLogo.backup.png │ │ │ ├── LargeTile.scale-100.png │ │ │ ├── LargeTile.scale-125.png │ │ │ ├── LargeTile.scale-150.png │ │ │ ├── LargeTile.scale-200.png │ │ │ ├── LargeTile.scale-400.png │ │ │ ├── SmallTile.scale-100.png │ │ │ ├── SmallTile.scale-125.png │ │ │ ├── SmallTile.scale-150.png │ │ │ ├── SmallTile.scale-200.png │ │ │ ├── SmallTile.scale-400.png │ │ │ ├── StoreLogo.scale-100.png │ │ │ ├── StoreLogo.scale-125.png │ │ │ ├── StoreLogo.scale-150.png │ │ │ ├── StoreLogo.scale-200.png │ │ │ ├── StoreLogo.scale-400.png │ │ │ ├── SplashScreen.scale-100.png │ │ │ ├── SplashScreen.scale-125.png │ │ │ ├── SplashScreen.scale-150.png │ │ │ ├── SplashScreen.scale-200.png │ │ │ ├── SplashScreen.scale-400.png │ │ │ ├── Square44x44Logo.scale-100.png │ │ │ ├── Square44x44Logo.scale-125.png │ │ │ ├── Square44x44Logo.scale-150.png │ │ │ ├── Square44x44Logo.scale-200.png │ │ │ ├── Square44x44Logo.scale-400.png │ │ │ ├── Wide310x150Logo.scale-100.png │ │ │ ├── Wide310x150Logo.scale-125.png │ │ │ ├── Wide310x150Logo.scale-150.png │ │ │ ├── Wide310x150Logo.scale-200.png │ │ │ ├── Wide310x150Logo.scale-400.png │ │ │ ├── Square150x150Logo.scale-100.png │ │ │ ├── Square150x150Logo.scale-125.png │ │ │ ├── Square150x150Logo.scale-150.png │ │ │ ├── Square150x150Logo.scale-200.png │ │ │ ├── Square150x150Logo.scale-400.png │ │ │ ├── Square44x44Logo.targetsize-16.png │ │ │ ├── Square44x44Logo.targetsize-24.png │ │ │ ├── Square44x44Logo.targetsize-256.png │ │ │ ├── Square44x44Logo.targetsize-32.png │ │ │ ├── Square44x44Logo.targetsize-48.png │ │ │ ├── Square44x44Logo.altform-unplated_targetsize-16.png │ │ │ ├── Square44x44Logo.altform-unplated_targetsize-256.png │ │ │ ├── Square44x44Logo.altform-unplated_targetsize-32.png │ │ │ ├── Square44x44Logo.altform-unplated_targetsize-48.png │ │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ │ ├── Square44x44Logo.altform-lightunplated_targetsize-16.png │ │ │ ├── Square44x44Logo.altform-lightunplated_targetsize-24.png │ │ │ ├── Square44x44Logo.altform-lightunplated_targetsize-256.png │ │ │ ├── Square44x44Logo.altform-lightunplated_targetsize-32.png │ │ │ └── Square44x44Logo.altform-lightunplated_targetsize-48.png │ └── react-native-windows │ │ └── overrides@0.64.12 │ │ └── template │ │ ├── app.json │ │ ├── metro.config.js │ │ └── shared-app │ │ └── assets │ │ ├── StoreLogo.backup.png │ │ ├── LargeTile.scale-100.png │ │ ├── LargeTile.scale-125.png │ │ ├── LargeTile.scale-150.png │ │ ├── LargeTile.scale-200.png │ │ ├── LargeTile.scale-400.png │ │ ├── SmallTile.scale-100.png │ │ ├── SmallTile.scale-125.png │ │ ├── SmallTile.scale-150.png │ │ ├── SmallTile.scale-200.png │ │ ├── SmallTile.scale-400.png │ │ ├── StoreLogo.scale-100.png │ │ ├── StoreLogo.scale-125.png │ │ ├── StoreLogo.scale-150.png │ │ ├── StoreLogo.scale-200.png │ │ ├── StoreLogo.scale-400.png │ │ ├── SplashScreen.scale-100.png │ │ ├── SplashScreen.scale-125.png │ │ ├── SplashScreen.scale-150.png │ │ ├── SplashScreen.scale-200.png │ │ ├── SplashScreen.scale-400.png │ │ ├── Square150x150Logo.scale-100.png │ │ ├── Square150x150Logo.scale-125.png │ │ ├── Square150x150Logo.scale-150.png │ │ ├── Square150x150Logo.scale-200.png │ │ ├── Square150x150Logo.scale-400.png │ │ ├── Square44x44Logo.scale-100.png │ │ ├── Square44x44Logo.scale-125.png │ │ ├── Square44x44Logo.scale-150.png │ │ ├── Square44x44Logo.scale-200.png │ │ ├── Square44x44Logo.scale-400.png │ │ ├── Wide310x150Logo.scale-100.png │ │ ├── Wide310x150Logo.scale-125.png │ │ ├── Wide310x150Logo.scale-150.png │ │ ├── Wide310x150Logo.scale-200.png │ │ ├── Wide310x150Logo.scale-400.png │ │ ├── Square44x44Logo.targetsize-16.png │ │ ├── Square44x44Logo.targetsize-24.png │ │ ├── Square44x44Logo.targetsize-32.png │ │ ├── Square44x44Logo.targetsize-48.png │ │ ├── Square44x44Logo.targetsize-256.png │ │ ├── Square44x44Logo.altform-unplated_targetsize-16.png │ │ ├── Square44x44Logo.altform-unplated_targetsize-256.png │ │ ├── Square44x44Logo.altform-unplated_targetsize-32.png │ │ ├── Square44x44Logo.altform-unplated_targetsize-48.png │ │ ├── Square44x44Logo.targetsize-24_altform-unplated.png │ │ ├── Square44x44Logo.altform-lightunplated_targetsize-16.png │ │ ├── Square44x44Logo.altform-lightunplated_targetsize-24.png │ │ ├── Square44x44Logo.altform-lightunplated_targetsize-256.png │ │ ├── Square44x44Logo.altform-lightunplated_targetsize-32.png │ │ └── Square44x44Logo.altform-lightunplated_targetsize-48.png │ ├── src │ ├── sdk │ │ └── constants.ts │ ├── config.ts │ └── adapters │ │ └── babelAdapter.ts │ └── tsconfig.json ├── FUNDING.yml ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ └── -question.md └── PULL_REQUEST_TEMPLATE.md ├── spec ├── xml-ish │ └── exportOptions.plist ├── other │ ├── robots.txt │ ├── main.m │ ├── gradle-wrapper.properties │ └── .xcode.env ├── xml │ ├── AndroidManifest.xml │ ├── colors.xml │ ├── browserconfig.xml │ └── .tproject ├── spec.md └── json │ ├── manifest.webapp │ ├── appinfo.json │ └── site.webmanifest ├── .prettierrc.js ├── babel.config.js ├── .husky └── pre-commit ├── __mocks__ ├── @rnv │ ├── sdk-utils.ts │ ├── sdk-tizen.ts │ ├── sdk-apple.ts │ └── sdk-webpack.ts ├── rnv.ts ├── path.ts ├── process.ts ├── axios.ts ├── inquirer.ts ├── shelljs.ts └── child_process.ts ├── .eslintrc.js ├── lerna.json ├── .prettierignore ├── jest.config.js ├── SECURITY.md └── .eslintignore /packages/adapter/types.d.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/engine-rn-web/types.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/sdk-android/types.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/engine-core/types.d.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/types.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/engine-rn-next/types.d.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/sdk-kaios/types.d.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/sdk-telemetry/types.d.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/sdk-tizen/types.d.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/sdk-webos/types.d.ts: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /FUNDING.yml: -------------------------------------------------------------------------------- 1 | open_collective: renative 2 | -------------------------------------------------------------------------------- /packages/cli/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/cli 2 | 3 | -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/core 2 | -------------------------------------------------------------------------------- /packages/rnv/.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /packages/cli/src/types.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | open_collective: renative 2 | -------------------------------------------------------------------------------- /packages/adapter/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/adapter 2 | 3 | -------------------------------------------------------------------------------- /packages/cli/types.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'inquirer'; -------------------------------------------------------------------------------- /packages/sdk-android/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-android 2 | -------------------------------------------------------------------------------- /packages/sdk-webpack/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-webpack 2 | -------------------------------------------------------------------------------- /packages/app-harness/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Inherit from root -------------------------------------------------------------------------------- /packages/core/typings/svgs.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'svgs'; 2 | -------------------------------------------------------------------------------- /packages/engine-core/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-core 2 | 3 | -------------------------------------------------------------------------------- /packages/engine-roku/src/index.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/sdk-apple/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-apple 2 | 3 | -------------------------------------------------------------------------------- /packages/sdk-apple/templateFiles/entitlements.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/sdk-kaios/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-kaios 2 | 3 | -------------------------------------------------------------------------------- /packages/sdk-kaios/src/types.ts: -------------------------------------------------------------------------------- 1 | export default {}; 2 | -------------------------------------------------------------------------------- /packages/sdk-tizen/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-tizen 2 | 3 | -------------------------------------------------------------------------------- /packages/sdk-webos/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-webos 2 | 3 | -------------------------------------------------------------------------------- /packages/build-hooks-git/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/build-hooks-git 2 | -------------------------------------------------------------------------------- /packages/core/typings/rimraf.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'rimraf'; 2 | -------------------------------------------------------------------------------- /packages/core/typings/svg2js.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'svg2js'; 2 | -------------------------------------------------------------------------------- /packages/sdk-telemetry/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-telemetry 2 | 3 | -------------------------------------------------------------------------------- /packages/sdk-utils/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-utils 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/template-starter/index.js: -------------------------------------------------------------------------------- 1 | import './src/entry/'; 2 | -------------------------------------------------------------------------------- /spec/xml-ish/exportOptions.plist: -------------------------------------------------------------------------------- 1 | {{PLUGIN_EXPORT_OPTIONS}} 2 | -------------------------------------------------------------------------------- /packages/build-hooks-git/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './git'; 2 | -------------------------------------------------------------------------------- /packages/build-hooks-schema/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/build-hooks-schema 2 | -------------------------------------------------------------------------------- /packages/config-templates/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/config-templates 2 | 3 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/macos/main.jsbundle: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/engine-roku/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-roku 2 | 3 | WIP 4 | -------------------------------------------------------------------------------- /packages/sdk-react-native/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/sdk-react-native 2 | 3 | -------------------------------------------------------------------------------- /packages/sdk-webpack/types.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'command-exists' 2 | -------------------------------------------------------------------------------- /packages/app-harness/secrets/privateConfigs.enc.timestamp: -------------------------------------------------------------------------------- 1 | 1732705799185 -------------------------------------------------------------------------------- /packages/build-hooks-schema/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './schema'; 2 | -------------------------------------------------------------------------------- /packages/core/typings/netcat.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'netcat/client'; 2 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-rn-tvos 2 | 3 | WIP 4 | -------------------------------------------------------------------------------- /packages/integration-starter/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/integration-starter 2 | -------------------------------------------------------------------------------- /packages/renative/src/api/isWebBased/index.ts: -------------------------------------------------------------------------------- 1 | export default false; 2 | -------------------------------------------------------------------------------- /packages/engine-lightning/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-lightning 2 | 3 | WIP 4 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-rn-macos 2 | 3 | WIP 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/isWebBased/index.web.ts: -------------------------------------------------------------------------------- 1 | export default true; 2 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | ...require('@flexn/prettier-config'), 3 | }; 4 | -------------------------------------------------------------------------------- /packages/adapter/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './adapters'; 2 | export * from './types'; 3 | -------------------------------------------------------------------------------- /packages/app-harness/index.js: -------------------------------------------------------------------------------- 1 | import Main from './src/entry'; 2 | 3 | export default Main; -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/exportOptions.plist: -------------------------------------------------------------------------------- 1 | {{PLUGIN_EXPORT_OPTIONS}} 2 | -------------------------------------------------------------------------------- /packages/app-harness/typings/assets.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png'; 2 | declare module '*.jpg'; 3 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/templates/platforms/macos/exportOptions.plist: -------------------------------------------------------------------------------- 1 | {{PLUGIN_EXPORT_OPTIONS}} -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/tvos/exportOptions.plist: -------------------------------------------------------------------------------- 1 | {{PLUGIN_EXPORT_OPTIONS}} 2 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/macos/exportOptions.plist: -------------------------------------------------------------------------------- 1 | {{PLUGIN_EXPORT_OPTIONS}} 2 | -------------------------------------------------------------------------------- /packages/sdk-utils/src/axiosUtils.ts: -------------------------------------------------------------------------------- 1 | import axios from 'axios'; 2 | 3 | export { axios }; 4 | -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:@react-native/babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /packages/app-harness/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "mocha": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/template-starter/typings/assets.d.ts: -------------------------------------------------------------------------------- 1 | declare module '*.png'; 2 | declare module '*.jpg'; 3 | -------------------------------------------------------------------------------- /spec/other/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /packages/template-starter/test/.eslintrc: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "mocha": true 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npm run sanity 5 | 6 | npx lint-staged -------------------------------------------------------------------------------- /packages/integration-docker/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/integration-docker 2 | 3 | More info: 4 | 5 | https://renative.org 6 | -------------------------------------------------------------------------------- /packages/rnv/src/constants.ts: -------------------------------------------------------------------------------- 1 | import path from 'path'; 2 | 3 | export const RNV_HOME_DIR = path.join(__dirname, '..'); 4 | -------------------------------------------------------------------------------- /packages/sdk-android/src/cli.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | // import runner from './index'; 4 | 5 | // runner.foo() 6 | -------------------------------------------------------------------------------- /__mocks__/@rnv/sdk-utils.ts: -------------------------------------------------------------------------------- 1 | const mock: any = jest.createMockFromModule('@rnv/sdk-utils'); 2 | 3 | module.exports = mock; 4 | -------------------------------------------------------------------------------- /__mocks__/rnv.ts: -------------------------------------------------------------------------------- 1 | // __mocks__/rnv.ts 2 | const rnv: any = jest.createMockFromModule('rnv'); 3 | 4 | module.exports = rnv; 5 | -------------------------------------------------------------------------------- /packages/app-harness/static/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/static/icon.png -------------------------------------------------------------------------------- /packages/cli/src/bin.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import { run } from './'; 4 | 5 | run({ RNV_HOME_DIR: undefined }); 6 | -------------------------------------------------------------------------------- /packages/renative/renative.plugin.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/rnv.plugin.json", 3 | "plugins": {} 4 | } 5 | -------------------------------------------------------------------------------- /packages/sdk-utils/types.d.ts: -------------------------------------------------------------------------------- 1 | declare module 'better-opn' 2 | declare module 'detect-port'; 3 | declare module 'color-string'; -------------------------------------------------------------------------------- /packages/template-starter/rnv.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": ".rnv/schema/renative-1.0.schema.json", 3 | "project": {} 4 | } 5 | -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.engine-rn.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | export default Engine.rn; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/factor/index.tv.ts: -------------------------------------------------------------------------------- 1 | import { FormFactor } from '../../constants'; 2 | 3 | export default FormFactor.tv; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.ios.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.ios; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.web.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.web; 4 | -------------------------------------------------------------------------------- /packages/app-harness/babel.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVBabel } = require('@rnv/adapter'); 2 | 3 | module.exports = withRNVBabel({}); 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.linux.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.linux; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.macos.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.macos; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.tizen.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.tizen; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.tvos.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.tvos; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.webos.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.webos; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.webtv.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.webtv; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.xbox.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.xbox; 4 | -------------------------------------------------------------------------------- /packages/template-starter/rnv.template.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": ".rnv/schema/renative-1.0.schema.json", 3 | "template": {} 4 | } 5 | -------------------------------------------------------------------------------- /__mocks__/path.ts: -------------------------------------------------------------------------------- 1 | const path: any = jest.createMockFromModule('path'); 2 | 3 | // path.join = jest.fn(); 4 | 5 | module.exports = path; 6 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/web/public/robots.txt: -------------------------------------------------------------------------------- 1 | # https://www.robotstxt.org/robotstxt.html 2 | User-agent: * 3 | Disallow: 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.engine-rn-next.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | export default Engine.rn_next; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.engine-rn-tvos.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | export default Engine.rn_tvos; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.engine-rn-web.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | export default Engine.rn_web; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/factor/index.browser.ts: -------------------------------------------------------------------------------- 1 | import { FormFactor } from '../../constants'; 2 | 3 | export default FormFactor.browser; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/factor/index.desktop.ts: -------------------------------------------------------------------------------- 1 | import { FormFactor } from '../../constants'; 2 | 3 | export default FormFactor.desktop; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/factor/index.mobile.ts: -------------------------------------------------------------------------------- 1 | import { FormFactor } from '../../constants'; 2 | 3 | export default FormFactor.mobile; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/factor/index.watch.ts: -------------------------------------------------------------------------------- 1 | import { FormFactor } from '../../constants'; 2 | 3 | export default FormFactor.watch; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.android.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.android; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.firetv.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.firetv; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.windows.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.windows; 4 | -------------------------------------------------------------------------------- /packages/template-starter/.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # Special case for rnv template. public folder is generated we don't want to commit it 3 | public/ -------------------------------------------------------------------------------- /packages/template-starter/babel.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVBabel } = require('@rnv/adapter'); 2 | 3 | module.exports = withRNVBabel({}); 4 | -------------------------------------------------------------------------------- /packages/template-starter/metro.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVMetro } = require('@rnv/adapter'); 2 | 3 | module.exports = withRNVMetro({}); 4 | -------------------------------------------------------------------------------- /packages/app-harness/public/images/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/public/images/favicon.ico -------------------------------------------------------------------------------- /packages/app-harness/secrets/privateConfigs.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/secrets/privateConfigs.enc -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.engine-lightning.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | export default Engine.lightning; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.engine-rn-macos.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | export default Engine.rn_macos; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.engine-rn-windows.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | export default Engine.rn_windows; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.androidtv.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.androidtv; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.tizenwatch.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.tizenwatch; 4 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/-question.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: '❓Question' 3 | about: Ask a question 4 | title: '' 5 | labels: question 6 | assignees: '' 7 | --- 8 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/SplashScreen/types.ts: -------------------------------------------------------------------------------- 1 | export type SplashscreenType = { 2 | hide: () => void; 3 | show: () => void; 4 | }; 5 | -------------------------------------------------------------------------------- /packages/app-harness/static/fonts/Inter-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/static/fonts/Inter-Light.ttf -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.engine-rn-electron.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | export default Engine.rn_electron; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.androidwear.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.androidwear; 4 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.tizenmobile.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | export default Platform.tizenmobile; 4 | -------------------------------------------------------------------------------- /packages/sdk-apple/templateFiles/AppleWWDRCA.cer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/sdk-apple/templateFiles/AppleWWDRCA.cer -------------------------------------------------------------------------------- /packages/sdk-tizen/src/taskOptions.ts: -------------------------------------------------------------------------------- 1 | import { createTaskOptionsMap } from '@rnv/core'; 2 | 3 | export const TaskOptions = createTaskOptionsMap([]); 4 | -------------------------------------------------------------------------------- /__mocks__/process.ts: -------------------------------------------------------------------------------- 1 | const mock: any = jest.createMockFromModule('process'); 2 | 3 | mock.cwd = () => 'mocked value'; 4 | 5 | module.exports = mock; 6 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/SafeArea/index.ts: -------------------------------------------------------------------------------- 1 | import { SafeAreaProvider } from 'react-native-safe-area-context'; 2 | 3 | export { SafeAreaProvider }; 4 | -------------------------------------------------------------------------------- /packages/app-harness/src/pages/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import App from '../app'; 3 | 4 | const Page = () => ; 5 | export default Page; 6 | -------------------------------------------------------------------------------- /packages/core/src/api/provider.ts: -------------------------------------------------------------------------------- 1 | import type { RnvApi } from './types'; 2 | 3 | export const getApi = (): RnvApi => { 4 | return global.RNV_API; 5 | }; 6 | -------------------------------------------------------------------------------- /__mocks__/@rnv/sdk-tizen.ts: -------------------------------------------------------------------------------- 1 | const sdkMock: any = jest.createMockFromModule('@rnv/sdk-tizen'); 2 | 3 | sdkMock.runTizen = jest.fn(); 4 | module.exports = sdkMock; 5 | -------------------------------------------------------------------------------- /packages/integration-docker/renative.integration.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/rnv.integration.json", 3 | "name": "@rnv/integration-docker" 4 | } 5 | -------------------------------------------------------------------------------- /packages/renative/src/api/engine/index.ts: -------------------------------------------------------------------------------- 1 | import { Engine } from '../../constants'; 2 | 3 | const engine: Engine = Engine.generic; 4 | 5 | export default engine; 6 | -------------------------------------------------------------------------------- /packages/rnv/src/bin.ts: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | 3 | import { run } from '@rnv/cli'; 4 | import { RNV_HOME_DIR } from './constants'; 5 | 6 | run({ RNV_HOME_DIR }); 7 | -------------------------------------------------------------------------------- /packages/template-starter/src/pages/index.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import App from '../app'; 3 | 4 | const Page = () => ; 5 | export default Page; 6 | -------------------------------------------------------------------------------- /__mocks__/axios.ts: -------------------------------------------------------------------------------- 1 | // __mocks__/axios.ts 2 | const axios: any = jest.createMockFromModule('axios'); 3 | 4 | axios.get = () => true; 5 | 6 | module.exports = axios; 7 | -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/base/assets/runtime/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/appConfigs/base/assets/runtime/logo.png -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/base/fonts/Inter-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/appConfigs/base/fonts/Inter-Light.ttf -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{ name }}", 3 | "displayName": "{{ title }}" 4 | } -------------------------------------------------------------------------------- /packages/engine-rn/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-rn 2 | 3 | ReNative Engine to build react-native based platforms. 4 | 5 | More info at https://renative.org/docs/engine-rn 6 | -------------------------------------------------------------------------------- /packages/integration-starter/renative.integration.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/rnv.integration.json", 3 | "name": "@rnv/integration-starter" 4 | } 5 | -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.kaios.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | import '../../kaiospolyfills'; 3 | 4 | export default Platform.kaios; 5 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- 1 | ## Description 2 | 3 | - Small description 4 | 5 | ## Related issues 6 | 7 | - GH issues 8 | 9 | ## Npm releases 10 | 11 | n/a 12 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/Permissions/index.ts: -------------------------------------------------------------------------------- 1 | export const requestPermissions = () => { 2 | return 'requestPermissions not supported on this platform'; 3 | }; 4 | -------------------------------------------------------------------------------- /packages/app-harness/src/entry/index.ts: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from '../app'; 3 | 4 | AppRegistry.registerComponent('RNVApp', () => App); 5 | -------------------------------------------------------------------------------- /packages/engine-lightning/src/sdk/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const SdkPlatforms: Array = ['tizen', 'webos']; 4 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/templates/platforms/macos/RNVAppMACOS/ViewController.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface ViewController : NSViewController 4 | 5 | @end 6 | -------------------------------------------------------------------------------- /packages/engine-rn-next/src/sdk/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const SdkPlatforms: Array = ['web', 'chromecast']; 4 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{ name }}", 3 | "displayName": "{{ title }}" 4 | } -------------------------------------------------------------------------------- /packages/engine-rn-windows/src/sdk/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const SdkPlatforms: Array = ['windows', 'xbox']; 4 | -------------------------------------------------------------------------------- /packages/renative/src/index.ts: -------------------------------------------------------------------------------- 1 | import Api from './api'; 2 | 3 | export * from './api'; 4 | export * from './constants'; 5 | export * from './is'; 6 | 7 | export { Api }; 8 | -------------------------------------------------------------------------------- /packages/sdk-utils/templateFiles/fontManager.js: -------------------------------------------------------------------------------- 1 | function registerFonts() { 2 | return {}; 3 | } 4 | 5 | const fonts = registerFonts(null); 6 | 7 | export default fonts; 8 | -------------------------------------------------------------------------------- /packages/app-harness/metadata.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "app-harness", 3 | "identifier": "com.app.harness", 4 | "version": "1.0.0", 5 | "icon": "./static/icon.png" 6 | } 7 | -------------------------------------------------------------------------------- /packages/core/src/schema/configFiles/runtime.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodConfigFileRuntime = z.object({ 4 | // extend: z.optional(z.string()), 5 | }); 6 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/appShell/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/web/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-web/templates/platforms/web/public/favicon.ico -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn/templates/platforms/android/app/debug.keystore -------------------------------------------------------------------------------- /packages/renative/src/api/platform/index.ts: -------------------------------------------------------------------------------- 1 | import { Platform } from '../../constants'; 2 | 3 | const platform: Platform = Platform.generic; 4 | 5 | export default platform; 6 | -------------------------------------------------------------------------------- /packages/rnv/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: '3' 2 | 3 | services: 4 | test: 5 | build: 6 | context: . 7 | environment: 8 | - DOCKER=true 9 | command: npm test -------------------------------------------------------------------------------- /packages/template-starter/appConfigs/base/assets/runtime/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/template-starter/appConfigs/base/assets/runtime/logo.png -------------------------------------------------------------------------------- /packages/template-starter/appConfigs/base/fonts/Inter-Light.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/template-starter/appConfigs/base/fonts/Inter-Light.ttf -------------------------------------------------------------------------------- /packages/template-starter/src/entry/index.ts: -------------------------------------------------------------------------------- 1 | import { AppRegistry } from 'react-native'; 2 | import App from '../app'; 3 | 4 | AppRegistry.registerComponent('RNVApp', () => App); 5 | -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/harness/assets/ios/launch-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/appConfigs/harness/assets/ios/launch-image.png -------------------------------------------------------------------------------- /packages/app-harness/src/pages/_app.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default function MyApp({ Component, pageProps }) { 4 | return ; 5 | } 6 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/src/sdk/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const SdkPlatforms: Array = ['macos', 'windows', 'linux']; 4 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/metro.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVMetro } = require('rnv'); 2 | 3 | module.exports = withRNVMetro({}); -------------------------------------------------------------------------------- /packages/renative/src/api/factor/index.ts: -------------------------------------------------------------------------------- 1 | import { FormFactor } from '../../constants'; 2 | 3 | const formFactor: FormFactor = FormFactor.generic; 4 | 5 | export default formFactor; 6 | -------------------------------------------------------------------------------- /__mocks__/inquirer.ts: -------------------------------------------------------------------------------- 1 | // __mocks__/inquirer.ts 2 | const inquirer: any = jest.createMockFromModule('inquirer'); 3 | 4 | inquirer.prompt = () => true; 5 | 6 | module.exports = inquirer; 7 | -------------------------------------------------------------------------------- /packages/app-harness/next.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVNext } = require('@rnv/adapter'); 2 | 3 | const config = { 4 | compress: false, 5 | }; 6 | 7 | module.exports = withRNVNext(config); 8 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/src/sdk/types.ts: -------------------------------------------------------------------------------- 1 | import { NpmPackageFile } from '@rnv/core'; 2 | 3 | export type FileElectronPackage = NpmPackageFile & { 4 | productName?: string; 5 | }; 6 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/firetv/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-tvos/templates/platforms/firetv/app/debug.keystore -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/metro.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVMetro } = require('rnv'); 2 | 3 | module.exports = withRNVMetro({}); -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/androidwear/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn/templates/platforms/androidwear/app/debug.keystore -------------------------------------------------------------------------------- /packages/template-starter/src/pages/_app.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | 3 | export default function MyApp({ Component, pageProps }) { 4 | return ; 5 | } 6 | -------------------------------------------------------------------------------- /__mocks__/shelljs.ts: -------------------------------------------------------------------------------- 1 | // __mocks__/rnv.ts 2 | const shelljs: any = jest.createMockFromModule('shelljs'); 3 | 4 | shelljs.mkdir = () => { 5 | //NOOP 6 | }; 7 | 8 | module.exports = shelljs; 9 | -------------------------------------------------------------------------------- /packages/app-harness/src/app/index.chromecast.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ScreenCast from '../screens/Cast'; 3 | 4 | const App = () => ; 5 | 6 | export default App; 7 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/types.ts: -------------------------------------------------------------------------------- 1 | export type NotificationCallback = (message: string) => void; 2 | export type NotificationError = { message: string; code: number; details: any }; 3 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/templates/platforms/macos/RNVAppMACOS/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | int main(int argc, const char *argv[]) { 4 | return NSApplicationMain(argc, argv); 5 | } 6 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/androidtv/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-tvos/templates/platforms/androidtv/app/debug.keystore -------------------------------------------------------------------------------- /packages/template-starter/next.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVNext } = require('@rnv/adapter'); 2 | 3 | const config = { 4 | compress: false, 5 | }; 6 | 7 | module.exports = withRNVNext(config); 8 | -------------------------------------------------------------------------------- /packages/engine-rn-web/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-rn-web 2 | 3 | ReNative Engine to build web based platforms with react native support. 4 | 5 | More info at https://renative.org/docs/engine-rn-web 6 | -------------------------------------------------------------------------------- /packages/engine-rn/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileEngine } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.engine.json'; 4 | export const Config: ConfigFileEngine = CNF; 5 | -------------------------------------------------------------------------------- /spec/xml/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_MANIFEST_FILE}} 6 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/SplashScreen/index.android.ts: -------------------------------------------------------------------------------- 1 | import SplashScreen from 'react-native-splash-screen'; 2 | 3 | export function useSplashScreen() { 4 | return { SplashScreen }; 5 | } 6 | -------------------------------------------------------------------------------- /packages/engine-lightning/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileEngine } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.engine.json'; 4 | export const Config: ConfigFileEngine = CNF; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileEngine } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.engine.json'; 4 | export const Config: ConfigFileEngine = CNF; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-next/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-rn-next 2 | 3 | ReNative Engine to build next based platforms with react native support. 4 | 5 | More info at https://renative.org/docs/engine-rn-next 6 | -------------------------------------------------------------------------------- /packages/engine-rn-next/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileEngine } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.engine.json'; 4 | export const Config: ConfigFileEngine = CNF; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileEngine } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.engine.json'; 4 | export const Config: ConfigFileEngine = CNF; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-web/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileEngine } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.engine.json'; 4 | export const Config: ConfigFileEngine = CNF; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileEngine } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.engine.json'; 4 | export const Config: ConfigFileEngine = CNF; 5 | -------------------------------------------------------------------------------- /packages/sdk-utils/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const REMOTE_DEBUGGER_ENABLED_PLATFORMS: RnvPlatformKey[] = ['kaios', 'tizen', 'tizenmobile', 'tizenwatch']; 4 | -------------------------------------------------------------------------------- /packages/app-harness/metro.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVMetro } = require('@rnv/adapter'); 2 | 3 | module.exports = withRNVMetro({ 4 | resolver: { 5 | unstable_enableSymlinks: true, 6 | }, 7 | }); 8 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/Player/index.tsx: -------------------------------------------------------------------------------- 1 | import { Text } from 'react-native'; 2 | 3 | export const Player = () => { 4 | return Not supported; 5 | }; 6 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileEngine } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.engine.json'; 4 | export const Config: ConfigFileEngine = CNF; 5 | -------------------------------------------------------------------------------- /packages/template-starter/appConfigs/template/rnv.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/renative-1.0.schema.json", 3 | "app": { 4 | "id": "template" 5 | }, 6 | "project": {} 7 | } 8 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/Player/index.kaios.tsx: -------------------------------------------------------------------------------- 1 | import { Text } from 'react-native'; 2 | 3 | export const Player = () => { 4 | return Not supported; 5 | }; 6 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/SplashScreen/index.mobile.native.ts: -------------------------------------------------------------------------------- 1 | import SplashScreen from 'react-native-splash-screen'; 2 | 3 | export function useSplashScreen() { 4 | return { SplashScreen }; 5 | } 6 | -------------------------------------------------------------------------------- /packages/core/src/schema/platforms/fragments/webos.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodPlatformWebOSFragment = z 4 | .object({ 5 | iconColor: z.string(), 6 | }) 7 | .partial(); 8 | -------------------------------------------------------------------------------- /packages/sdk-android/templateFiles/gradleProject/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/sdk-android/templateFiles/gradleProject/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /packages/sdk-kaios/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const CLI_KAIOS_EMULATOR = 'kaiosEmulator'; 4 | 5 | export const SdkPlatforms: Array = ['kaios']; 6 | -------------------------------------------------------------------------------- /__mocks__/@rnv/sdk-apple.ts: -------------------------------------------------------------------------------- 1 | // __mocks__/@rnv/sdk-apple.ts 2 | const sdkApple: any = jest.createMockFromModule('@rnv/sdk-apple'); 3 | 4 | sdkApple.launchAppleSimulator = () => null; 5 | 6 | module.exports = sdkApple; 7 | -------------------------------------------------------------------------------- /__mocks__/child_process.ts: -------------------------------------------------------------------------------- 1 | // __mocks__/child_process.ts 2 | 3 | const child_process: any = jest.createMockFromModule('child_process'); 4 | 5 | child_process.spawn = jest.fn(); 6 | 7 | module.exports = child_process; 8 | -------------------------------------------------------------------------------- /packages/build-hooks-git/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/core/src/engines/nameExtractor.ts: -------------------------------------------------------------------------------- 1 | export const extractEngineName = (name: string) => `@rnv/${name.replace('@rnv/', '')}`; 2 | 3 | export const extractEngineId = (name: string) => name.replace('@rnv/', ''); 4 | -------------------------------------------------------------------------------- /packages/core/src/schema/platforms/fragments/lightning.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodPlatformLightningFragment = z 4 | .object({ 5 | target: z.string(), 6 | }) 7 | .partial(); 8 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/engine-rn-electron 2 | 3 | ReNative Engine to build electron based platforms with react native support. 4 | 5 | More info at https://renative.org/docs/engine-rn-electron 6 | -------------------------------------------------------------------------------- /__mocks__/@rnv/sdk-webpack.ts: -------------------------------------------------------------------------------- 1 | // __mocks__/@rnv/sdk-webpack.ts 2 | const sdkWebpack: any = jest.createMockFromModule('@rnv/sdk-webpack'); 3 | 4 | sdkWebpack.runWebpackServer = jest.fn(); 5 | module.exports = sdkWebpack; 6 | -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/unicorn/renative.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/rnv.app.json", 3 | "extendsTemplate": "@rnv/template-starter/appConfigs/base/renative.json", 4 | "id": "unicorn" 5 | } 6 | -------------------------------------------------------------------------------- /packages/core/src/system/is.ts: -------------------------------------------------------------------------------- 1 | export const isSystemMac = process.platform === 'darwin'; 2 | 3 | export const isSystemLinux = process.platform === 'linux'; 4 | 5 | export const isSystemWin = process.platform === 'win32'; 6 | -------------------------------------------------------------------------------- /packages/integration-docker/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileIntegration } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.integration.json'; 4 | export const Config: ConfigFileIntegration = CNF; 5 | -------------------------------------------------------------------------------- /packages/integration-starter/src/config.ts: -------------------------------------------------------------------------------- 1 | import type { ConfigFileIntegration } from '@rnv/core'; 2 | //@ts-ignore 3 | import CNF from '../renative.integration.json'; 4 | export const Config: ConfigFileIntegration = CNF; 5 | -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/harness/assets/android/res/drawable-hdpi/splash_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/appConfigs/harness/assets/android/res/drawable-hdpi/splash_icon.png -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/harness/assets/android/res/drawable-mdpi/splash_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/appConfigs/harness/assets/android/res/drawable-mdpi/splash_icon.png -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/harness/assets/android/res/drawable-xhdpi/splash_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/appConfigs/harness/assets/android/res/drawable-xhdpi/splash_icon.png -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/harness/assets/android/res/drawable-xxhdpi/splash_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/appConfigs/harness/assets/android/res/drawable-xxhdpi/splash_icon.png -------------------------------------------------------------------------------- /packages/app-harness/react-native.config.js: -------------------------------------------------------------------------------- 1 | //! NO CONSOLE LOGS HERE. IT WILL BREAK THE APP 2 | const { withRNVRNConfig } = require('@rnv/adapter'); 3 | 4 | const config = withRNVRNConfig({}); 5 | 6 | module.exports = config; 7 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/OrientationLocker/index.mobile.native.ts: -------------------------------------------------------------------------------- 1 | import { OrientationLocker, PORTRAIT, LANDSCAPE } from 'react-native-orientation-locker'; 2 | 3 | export { OrientationLocker, PORTRAIT, LANDSCAPE }; 4 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/android/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_COLORS_XML_FILE}} -------------------------------------------------------------------------------- /packages/template-starter/appConfigs/base/rnv.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/renative-1.0.schema.json", 3 | "app": { 4 | "id": "base", 5 | "hidden": true 6 | }, 7 | "project": {} 8 | } 9 | -------------------------------------------------------------------------------- /packages/template-starter/buildHooks/src/index.ts: -------------------------------------------------------------------------------- 1 | const hooks = { 2 | hello: async () => { 3 | console.log('Hello build hook!'); 4 | }, 5 | }; 6 | 7 | const pipes = {}; 8 | 9 | export { pipes, hooks }; 10 | -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/harness/assets/android/res/drawable-xxxhdpi/splash_icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/app-harness/appConfigs/harness/assets/android/res/drawable-xxxhdpi/splash_icon.png -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/firetv/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_COLORS_XML_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_STRINGS_XML_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/androidwear/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_COLORS_XML_FILE}} -------------------------------------------------------------------------------- /packages/template-starter/react-native.config.js: -------------------------------------------------------------------------------- 1 | //! NO CONSOLE LOGS HERE. IT WILL BREAK THE APP 2 | const { withRNVRNConfig } = require('@rnv/adapter'); 3 | 4 | const config = withRNVRNConfig({}); 5 | 6 | module.exports = config; 7 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/androidtv/app/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_COLORS_XML_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/firetv/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_STRINGS_XML_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_MANIFEST_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/androidwear/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_STRINGS_XML_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/androidtv/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | {{PLUGIN_STRINGS_XML_FILE}} -------------------------------------------------------------------------------- /packages/integration-docker/docker-compose.build.yml: -------------------------------------------------------------------------------- 1 | version: "2.3" 2 | services: 3 | web: 4 | build: . 5 | ports: 6 | - "8080:80" 7 | - "8443:443" 8 | volumes: 9 | - /tmp/dockernginxlogs:/var/log/nginx 10 | -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow1.png -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow2.png -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow3.png -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow4.png -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/Resources/arrow5.png -------------------------------------------------------------------------------- /packages/core/src/schema/validators.ts: -------------------------------------------------------------------------------- 1 | import { zodConfigFileProject } from './configFiles/project'; 2 | 3 | export const validateRenativeProjectSchema = (inputJson: unknown) => { 4 | return zodConfigFileProject.safeParse(inputJson); 5 | }; 6 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/androidtv/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_MANIFEST_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/firetv/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_MANIFEST_FILE}} 6 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/androidwear/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | {{PLUGIN_MANIFEST_FILE}} -------------------------------------------------------------------------------- /packages/core/src/schema/configFiles/overrides.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodConfigFileOverrides = z 4 | .object({ 5 | overrides: z.record(z.string(), z.record(z.string(), z.string())), 6 | }) 7 | .partial(); 8 | -------------------------------------------------------------------------------- /packages/integration-docker/docker-compose.yml: -------------------------------------------------------------------------------- 1 | version: "2.3" 2 | services: 3 | web: 4 | image: {{IMAGE_AND_TAG}} 5 | ports: 6 | - "8080:80" 7 | - "8443:443" 8 | volumes: 9 | - /tmp/dockernginxlogs:/var/log/nginx 10 | -------------------------------------------------------------------------------- /packages/sdk-utils/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './constants'; 2 | export * from './fonts'; 3 | export * from './getConfigProps'; 4 | export * from './ipUtils'; 5 | export * from './utils'; 6 | export * from './target'; 7 | export * from './axiosUtils'; 8 | -------------------------------------------------------------------------------- /packages/core/src/env/types.ts: -------------------------------------------------------------------------------- 1 | export type RnvEnvContext = Record; 2 | 3 | export type RnvEnvContextOptions = { 4 | exludeEnvKeys?: Array; 5 | includedEnvKeys?: Array; 6 | }; 7 | -------------------------------------------------------------------------------- /packages/engine-core/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from '.'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/RNVApp/AppDelegate.mm: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | 3 | #import 4 | {{APPDELEGATE_MM_IMPORTS}} 5 | 6 | @implementation AppDelegate 7 | 8 | {{APPDELEGATE_METHODS}} 9 | 10 | @end -------------------------------------------------------------------------------- /packages/sdk-kaios/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from './'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/sdk-tizen/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from './'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/sdk-webos/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from './'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/engine-lightning/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from '.'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from '.'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-next/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from '.'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from '.'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-web/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from '.'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/sdk-react-native/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from './'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /spec/other/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | @autoreleasepool { 8 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from '.'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/tvos/RNVApp/AppDelegate.mm: -------------------------------------------------------------------------------- 1 | #import "AppDelegate.h" 2 | 3 | #import 4 | {{APPDELEGATE_MM_IMPORTS}} 5 | 6 | @implementation AppDelegate 7 | 8 | {{APPDELEGATE_METHODS}} 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /packages/sdk-android/templateFiles/colors_xml.json: -------------------------------------------------------------------------------- 1 | { 2 | "tag": "resources", 3 | "children": [ 4 | { 5 | "tag": "color", 6 | "name": "bg", 7 | "value": "{{PLUGIN_COLORS_BG}}" 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /packages/sdk-android/templateFiles/strings_xml.json: -------------------------------------------------------------------------------- 1 | { 2 | "tag": "resources", 3 | "children": [ 4 | { 5 | "tag": "string", 6 | "name": "app_name", 7 | "value": "{{APP_TITLE}}" 8 | } 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /spec/xml/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | #FF0000 5 | 6 | -------------------------------------------------------------------------------- /packages/sdk-telemetry/src/constants.ts: -------------------------------------------------------------------------------- 1 | export const REDASH_URL = 'https://analytics.prod.api.flexn.io/rnv'; 2 | export const REDASH_KEY = '471577f3b856fb6348ae913ceb32545c'; 3 | export const SENTRY_ENDPOINT = 'https://004caee3caa04c81a10f2ba31a945362@sentry.io/1795473'; 4 | -------------------------------------------------------------------------------- /packages/sdk-webos/src/types.ts: -------------------------------------------------------------------------------- 1 | export type WebosDevice = { 2 | key?: string; 3 | name: string; 4 | value?: string; 5 | device: string; 6 | connection: string; 7 | profile: string; 8 | isDevice: boolean; 9 | active: boolean; 10 | }; 11 | -------------------------------------------------------------------------------- /packages/template-starter/next-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | 4 | // NOTE: This file should not be edited 5 | // see https://nextjs.org/docs/basic-features/typescript for more information. 6 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/templates/platforms/macos/RNVAppMACOS/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @class RCTBridge; 4 | 5 | @interface AppDelegate : NSObject 6 | 7 | @property (nonatomic, readonly) RCTBridge *bridge; 8 | 9 | @end 10 | -------------------------------------------------------------------------------- /packages/template-starter/appConfigs/app/rnv.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/renative-1.0.schema.json", 3 | "app": { 4 | "extendsTemplate": "@rnv/template-starter/appConfigs/base/rnv.json", 5 | "id": "app" 6 | }, 7 | "project": {} 8 | } 9 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@flexn/eslint-config', 'prettier'], 3 | settings: { 4 | 'import/core-modules': ['@flexn/eslint-config'], 5 | }, 6 | rules: { 7 | '@typescript-eslint/no-empty-interface': 'warn', 8 | }, 9 | }; 10 | -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/harness/rnv.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/renative-1.0.schema.json", 3 | "app": { 4 | "extendsTemplate": "@rnv/template-starter/appConfigs/base/rnv.json", 5 | "id": "harness" 6 | }, 7 | "project": {} 8 | } 9 | -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/@react-native-community/cli/overrides.json: -------------------------------------------------------------------------------- 1 | { 2 | "overrides": { 3 | "build/bin.js": { 4 | "require(\"./tools/gracefulifyFs\");": "\nvar dotenv = require('dotenv'); if(dotenv) dotenv.config();" 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-tvos/overrides.json: -------------------------------------------------------------------------------- 1 | { 2 | "overrides": { 3 | "sdks/hermes-engine/hermes-engine.podspec": { 4 | "require.resolve(\n \"react-native\",": "require.resolve(\n \"react-native-tvos\"," 5 | } 6 | 7 | } 8 | } -------------------------------------------------------------------------------- /packages/core/src/schema/configFiles/integration.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodConfigFileIntegration = z 4 | .object({ 5 | name: z.string().describe('Name of the integration (best to use name of the actual package)'), 6 | }) 7 | .partial(); 8 | -------------------------------------------------------------------------------- /lerna.json: -------------------------------------------------------------------------------- 1 | { 2 | "version": "independent", 3 | "npmClient": "yarn", 4 | "useWorkspaces": true, 5 | "command": { 6 | "bootstrap": { 7 | "npmClientArgs": ["--no-package-lock", "--unsafe-perm=true", "--no-optional"] 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/app-harness/src/pages/404.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { View, Text } from 'react-native'; 3 | 4 | export default function Page() { 5 | return ( 6 | 7 | This is custom 404! 8 | 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /packages/build-hooks-git/src/__tests__/sanity.test.ts: -------------------------------------------------------------------------------- 1 | describe('Test', () => { 2 | beforeEach(() => { 3 | //console.log('Testing'); 4 | }); 5 | it('init test', async () => { 6 | const x = true; 7 | expect(x).toEqual(true); 8 | }); 9 | }); 10 | -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow1.png -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow2.png -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow3.png -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow4.png -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/config-templates/pluginTemplates/react-native-photo-editor/builds/android/app/src/main/res/drawable/arrow5.png -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/androidtv/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | {{PLUGIN_STYLES_XML_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/firetv/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | {{PLUGIN_STYLES_XML_FILE}} -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | {{PLUGIN_STYLES_XML_FILE}} 9 | -------------------------------------------------------------------------------- /packages/sdk-webpack/src/config/webpack/persistentCache/createEnvironmentHash.js: -------------------------------------------------------------------------------- 1 | const { createHash } = require('crypto'); 2 | 3 | module.exports = (env) => { 4 | const hash = createHash('md5'); 5 | hash.update(JSON.stringify(env)); 6 | 7 | return hash.digest('hex'); 8 | }; 9 | -------------------------------------------------------------------------------- /packages/app-harness/next-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | 4 | // NOTE: This file should not be edited 5 | // see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information. 6 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/androidwear/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 7 | 8 | {{PLUGIN_STYLES_XML_FILE}} 9 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/RNVApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | {{APPDELEGATE_H_IMPORTS}} 5 | 6 | @interface AppDelegate : RCTAppDelegate {{APPDELEGATE_H_EXTENSIONS}} 7 | 8 | {{APPDELEGATE_H_METHODS}} 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /packages/renative/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.react.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "sourceMap": false, 7 | "declarationMap": false 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /packages/core/src/schema/platforms/fragments/tizen.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodPlatformTizenFragment = z 4 | .object({ 5 | package: z.string(), 6 | certificateProfile: z.string(), 7 | appName: z.string(), 8 | }) 9 | .partial(); 10 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/tvos/RNVApp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | 4 | {{APPDELEGATE_H_IMPORTS}} 5 | 6 | @interface AppDelegate : RCTAppDelegate {{APPDELEGATE_H_EXTENSIONS}} 7 | 8 | {{APPDELEGATE_H_METHODS}} 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.backup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.backup.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/LargeTile.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SmallTile.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/StoreLogo.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/RNVApp/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | @autoreleasepool { 8 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/core/templateFiles/buildHooksSrc/index.ts: -------------------------------------------------------------------------------- 1 | import { RnvContext } from '@rnv/core'; 2 | 3 | const hooks = { 4 | hello: async (c: RnvContext) => { 5 | console.log('Hello build hook!', c.rnvVersion); 6 | }, 7 | }; 8 | 9 | const pipes = {}; 10 | 11 | export { pipes, hooks }; 12 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/tvos/RNVApp/main.m: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | #import "AppDelegate.h" 4 | 5 | int main(int argc, char *argv[]) 6 | { 7 | @autoreleasepool { 8 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/SplashScreen.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.backup.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.backup.png -------------------------------------------------------------------------------- /packages/sdk-tizen/src/types.ts: -------------------------------------------------------------------------------- 1 | export type TizenDevice = { 2 | name: string; 3 | type: string; 4 | id: string; 5 | deviceType: string; 6 | }; 7 | 8 | export type TizenSecurityConfig = { 9 | profileName: string; 10 | certPath: string; 11 | certPassword: string; 12 | }; 13 | -------------------------------------------------------------------------------- /spec/other/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-{{INJECT_GRADLE_WRAPPER_VERSION}}-all.zip 4 | networkTimeout=10000 5 | zipStoreBase=GRADLE_USER_HOME 6 | zipStorePath=wrapper/dists 7 | -------------------------------------------------------------------------------- /packages/app-harness/README.md: -------------------------------------------------------------------------------- 1 | # @rnv/app-harness 2 | 3 | ### Exporting App Harness 4 | 5 | #### iOS, tvOS 6 | 1. `npx rnv crypto decrypt` 7 | 2. `npx rnv hooks run -x appleSetup`. Make sure you have fastlane installed before running this command. 8 | 3. `npx rnv export -p [platform] -s release` 9 | 10 | -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/react-native-photo-editor/builds/ios/RNVApp/RNPhotoEditor/RNPhotoEditor.h: -------------------------------------------------------------------------------- 1 | #import 2 | #import 3 | #import 4 | 5 | @interface RNPhotoEditor : NSObject 6 | 7 | @end 8 | 9 | -------------------------------------------------------------------------------- /packages/core/src/schema/platforms/fragments/web.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodPlatformWebFragment = z 4 | .object({ 5 | timestampBuildFiles: z.array(z.string()), 6 | devServerHost: z.string(), 7 | environment: z.string(), 8 | }) 9 | .partial(); 10 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Wide310x150Logo.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/LargeTile.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SmallTile.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/StoreLogo.scale-400.png -------------------------------------------------------------------------------- /packages/sdk-telemetry/src/types.ts: -------------------------------------------------------------------------------- 1 | export type TizenDevice = { 2 | name: string; 3 | type: string; 4 | id: string; 5 | deviceType: string; 6 | }; 7 | 8 | export type TizenSecurityConfig = { 9 | profileName: string; 10 | certPath: string; 11 | certPassword: string; 12 | }; 13 | -------------------------------------------------------------------------------- /spec/xml/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | #da532c 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /packages/engine-rn-web/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const EnginePlatforms: Array = [ 4 | 'web', 5 | 'webtv', 6 | 'tizen', 7 | 'webos', 8 | 'tizenmobile', 9 | 'tizenwatch', 10 | 'kaios', 11 | 'chromecast', 12 | ]; 13 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square150x150Logo.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/SplashScreen.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-16.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-24.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-256.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-32.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-48.png -------------------------------------------------------------------------------- /packages/sdk-tizen/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const CLI_TIZEN_EMULATOR = 'tizenEmulator'; 4 | export const CLI_TIZEN = 'tizen'; 5 | export const CLI_SDB_TIZEN = 'tizenSdb'; 6 | 7 | export const SdkPlatforms: Array = ['tizen', 'tizenwatch', 'tizenmobile']; 8 | -------------------------------------------------------------------------------- /packages/app-harness/src/entry/index.lng.ts: -------------------------------------------------------------------------------- 1 | import { Launch } from '@lightningjs/sdk'; 2 | import App from '../app'; 3 | 4 | const app: any = App; //Temp lng.ts type workaround 5 | 6 | const Main = (appSettings, platformSettings, appData) => Launch(app, appSettings, platformSettings, appData); 7 | 8 | export default Main; 9 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square150x150Logo.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-100.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-100.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-125.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-125.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-150.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-200.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-200.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-400.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Wide310x150Logo.scale-400.png -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/macos/RNVApp/Bridge-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Bridge-Header.h 3 | // RNVApp 4 | // 5 | // Created by Pavel Jacko on 23/10/2017. 6 | // 7 | 8 | //#import 9 | 10 | #ifndef Bridge_Header_h 11 | #define Bridge_Header_h 12 | 13 | 14 | #endif /* Bridge_Header_h */ 15 | -------------------------------------------------------------------------------- /packages/sdk-android/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { GetReturnType, getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from './'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | export type Context = GetReturnType; 6 | -------------------------------------------------------------------------------- /packages/app-harness/buildHooks/src/index.ts: -------------------------------------------------------------------------------- 1 | import { logHook } from '@rnv/core'; 2 | import appleSetup from './setup/apple'; 3 | 4 | const hooks = { 5 | hello: async () => { 6 | logHook('Hello build hook!'); 7 | }, 8 | appleSetup, 9 | }; 10 | 11 | const pipes = {}; 12 | 13 | export { pipes, hooks }; 14 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-16.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-24.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-32.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-48.png -------------------------------------------------------------------------------- /packages/sdk-apple/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { GetReturnType, getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from './'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | 6 | export type Context = GetReturnType; 7 | -------------------------------------------------------------------------------- /packages/sdk-react-native/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const SdkPlatforms: Array = [ 4 | 'ios', 5 | 'android', 6 | 'androidtv', 7 | 'androidwear', 8 | 'firetv', 9 | 'macos', 10 | 'xbox', 11 | 'windows', 12 | 'tvos', 13 | ]; 14 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-256.png -------------------------------------------------------------------------------- /packages/engine-roku/renative.engine.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/rnv.engine.json", 3 | "name": "@rnv/engine-roku", 4 | "engineExtension": "rk", 5 | "overview": "ReNative Roku Engine", 6 | "plugins": {}, 7 | "npm": { 8 | "devDependencies": {} 9 | }, 10 | "platforms": {} 11 | } 12 | -------------------------------------------------------------------------------- /packages/rnv/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "exclude": ["./src/**/*.test.ts", "./lib/**/*", "./templateFiles/**/*"] 9 | } 10 | -------------------------------------------------------------------------------- /packages/app-harness/src/entry/index.web.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import App from '../app'; 4 | 5 | const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement); 6 | root.render( 7 | 8 | 9 | 10 | ); 11 | -------------------------------------------------------------------------------- /packages/core/src/types.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformName } from './enums/platformName'; 2 | 3 | export type RnvPlatformKey = keyof typeof RnvPlatformName; 4 | export type RnvPlatform = RnvPlatformKey | null; 5 | export type RenativeConfigVersion = string | { version: string }; 6 | export type RnvError = any; 7 | export type Env = Record; 8 | -------------------------------------------------------------------------------- /packages/core/typings/global.d.ts: -------------------------------------------------------------------------------- 1 | import { RnvApi, RnvContext } from "../src"; 2 | 3 | export {}; 4 | 5 | declare global { 6 | //eslint-disable-next-line no-var 7 | var fetch; 8 | //eslint-disable-next-line no-var 9 | var RNV_CONTEXT: RnvContext; 10 | //eslint-disable-next-line no-var 11 | var RNV_API: RnvApi; 12 | } 13 | -------------------------------------------------------------------------------- /packages/sdk-webpack/src/config/jest/babelTransform.js: -------------------------------------------------------------------------------- 1 | const babelJest = require('babel-jest').default; 2 | 3 | module.exports = babelJest.createTransformer({ 4 | presets: [ 5 | ["@babel/preset-react", { 6 | "runtime": "automatic" 7 | }] 8 | ], 9 | babelrc: false, 10 | configFile: false, 11 | }); 12 | -------------------------------------------------------------------------------- /packages/template-starter/appConfigs/app/renative.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/rnv.app.json", 3 | "extendsTemplate": "@rnv/template-starter/appConfigs/base/renative.json", 4 | "id": "app", 5 | "common": { 6 | "runtime": { 7 | "welcomeMessage": "Hello ReNative!" 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/template-starter/src/entry/index.web.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import ReactDOM from 'react-dom/client'; 3 | import App from '../app'; 4 | 5 | const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement); 6 | root.render( 7 | 8 | 9 | 10 | ); 11 | -------------------------------------------------------------------------------- /packages/template-starter/webpack.config.js: -------------------------------------------------------------------------------- 1 | const { withRNVWebpack } = require('@rnv/adapter'); 2 | 3 | module.exports = withRNVWebpack({ 4 | output: { 5 | //This allows to build and output a single bundle.js file 6 | //https://github.com/flexn-io/renative/issues/1353 7 | // chunkFormat: false, 8 | }, 9 | }); 10 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/Permissions/index.mobile.native.ts: -------------------------------------------------------------------------------- 1 | import { request, PERMISSIONS } from 'react-native-permissions'; 2 | import { isPlatformIos } from '@rnv/renative'; 3 | 4 | export const requestPermissions = () => { 5 | return isPlatformIos ? request(PERMISSIONS.IOS.CONTACTS) : request(PERMISSIONS.ANDROID.WRITE_CONTACTS); 6 | }; 7 | -------------------------------------------------------------------------------- /packages/build-hooks-schema/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src" 6 | }, 7 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts"], 8 | "exclude": ["node_modules", "./src/**/*.test.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/web/public/browserconfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | #da532c 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-unplated_targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-unplated_targetsize-16.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-unplated_targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-unplated_targetsize-256.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-unplated_targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-unplated_targetsize-32.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-unplated_targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-unplated_targetsize-48.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/RNVApp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/macos/RNVApp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/tvos/RNVApp.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-16.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-24.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-256.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-32.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/@react-native-windows/cli/overrides/templates/shared/assets/Square44x44Logo.altform-lightunplated_targetsize-48.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-unplated_targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-unplated_targetsize-16.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-unplated_targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-unplated_targetsize-256.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-unplated_targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-unplated_targetsize-32.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-unplated_targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-unplated_targetsize-48.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-24_altform-unplated.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.targetsize-24_altform-unplated.png -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/RNVApp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/macos/RNVApp.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/app-harness/settings.json: -------------------------------------------------------------------------------- 1 | { 2 | "appSettings": { 3 | "stage": { 4 | "clearColor": "0x00000000", 5 | "useImageWorker": true 6 | }, 7 | "debug": false 8 | }, 9 | "platformSettings": { 10 | "path": "./static", 11 | "log": true, 12 | "showVersion": false 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/RNVApp/RNVApp.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | RNVApp.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/templates/platforms/macos/RNVAppMACOS.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/templates/platforms/macos/RNVAppMACOS.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-16.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-24.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-24.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-256.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-32.png -------------------------------------------------------------------------------- /packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/flexn-io/renative/HEAD/packages/engine-rn-windows/pluginTemplates/react-native-windows/overrides@0.64.12/template/shared-app/assets/Square44x44Logo.altform-lightunplated_targetsize-48.png -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/macos/RNVApp/RNVApp.xcdatamodeld/.xccurrentversion: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | _XCCurrentVersionName 6 | RNVApp.xcdatamodel 7 | 8 | 9 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/CastButton/index.tsx: -------------------------------------------------------------------------------- 1 | import { Text } from 'react-native'; 2 | import { testProps } from '../../config'; 3 | 4 | export const CastComponent = () => { 5 | return ( 6 | 7 | Not supported 8 | 9 | ); 10 | }; 11 | -------------------------------------------------------------------------------- /packages/cli/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "lib": ["ES2021.String"] 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/sdk-apple/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "lib": ["ES2021.String"] 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts"] 10 | } 11 | -------------------------------------------------------------------------------- /spec/spec.md: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | .xml 5 | .gradle 6 | .properties 7 | .java 8 | .mm 9 | 10 | 11 | 12 | templateWeb 13 | 14 | templateAndroid 15 | 16 | templateXcode 17 | 18 | templateTizenWeb 19 | 20 | templateTizenNative 21 | 22 | templateWebos 23 | 24 | templateNext 25 | 26 | templateElectron 27 | 28 | templateRoku 29 | 30 | templateLightning 31 | 32 | templateVisualStudio -------------------------------------------------------------------------------- /packages/core/src/schema/configFiles/plugin.ts: -------------------------------------------------------------------------------- 1 | import { AnyZodObject, z } from 'zod'; 2 | import { zodExt } from '../shared'; 3 | import { zodPluginSchema } from '../plugins'; 4 | 5 | export const zodPluginFragment = z.object({ 6 | custom: z.optional(zodExt), 7 | }); 8 | 9 | export const zodConfigFilePlugin: AnyZodObject = zodPluginSchema.merge(zodPluginFragment).partial(); 10 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/tizenwatch/.tproject: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | wearable-5.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /packages/sdk-android/templateFiles/gradleProject/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-{{INJECT_GRADLE_WRAPPER_VERSION}}-all.zip 4 | networkTimeout=10000 5 | validateDistributionUrl=true 6 | zipStoreBase=GRADLE_USER_HOME 7 | zipStorePath=wrapper/dists 8 | -------------------------------------------------------------------------------- /spec/xml/.tproject: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | tv-samsung-8.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /packages/app-harness/test/specs/playground.js: -------------------------------------------------------------------------------- 1 | // this file is only for internal test functionality testing 2 | const FlexnRunner = require('@flexn/graybox').default; 3 | 4 | describe('Test template', () => { 5 | before(() => { 6 | FlexnRunner.launchApp(); 7 | }); 8 | it('pause for 10s', async () => { 9 | await FlexnRunner.pause(10000); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/core/src/context/provider.ts: -------------------------------------------------------------------------------- 1 | import type { ProgramOptionsKey } from '../tasks/taskOptions'; 2 | import type { RnvContext } from './types'; 3 | 4 | // We separate this context access from the rest to avoid circular reference issues 5 | export const getContext = (): RnvContext => { 6 | return global.RNV_CONTEXT as RnvContext; 7 | }; 8 | -------------------------------------------------------------------------------- /packages/template-starter/src/pages/404.tsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import { View, Text } from 'react-native'; 3 | import { themeStyles } from '../config'; 4 | 5 | export default function Page() { 6 | return ( 7 | 8 | This is custom 404! 9 | 10 | ); 11 | } 12 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | lib 2 | dist 3 | node_modules 4 | .expo 5 | .next 6 | .vscode 7 | 8 | appConfigs/**/* 9 | platformBuilds 10 | platformAssets 11 | renative.build.json 12 | metro.config.local.js 13 | 14 | !/**/*/renative.json 15 | !/**/*/rnv.json 16 | 17 | coverage 18 | build 19 | 20 | .vercel 21 | 22 | allure-results 23 | pluginTemplates 24 | templateFiles/**/* 25 | !/**/*/*.json 26 | *.d.ts -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/RNVApp/RNVApp.xcdatamodeld/RNVApp.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/macos/RNVApp/RNVApp.xcdatamodeld/RNVApp.xcdatamodel/contents: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /packages/template-starter/test/specs/playground.js: -------------------------------------------------------------------------------- 1 | // this file is only for internal test functionality testing 2 | const FlexnRunner = require('@flexn/graybox').default; 3 | 4 | describe('Test template', () => { 5 | before(() => { 6 | FlexnRunner.launchApp(); 7 | }); 8 | it('pause for 10s', async () => { 9 | await FlexnRunner.pause(10000); 10 | }); 11 | }); 12 | -------------------------------------------------------------------------------- /packages/engine-rn/src/getContext.ts: -------------------------------------------------------------------------------- 1 | import { getContext as _getContext } from '@rnv/core'; 2 | import type { GetContext } from '.'; 3 | // re-export the original getContext with newly decorated type 4 | export const getContext = _getContext as GetContext; 5 | 6 | // THIS IS INTENTIONAL ERROR TO CATCH ACCIDENTAL ANYFICATIONS 7 | // @ts-expect-error 8 | console.log(getContext().program.opts().UNTYPED); 9 | -------------------------------------------------------------------------------- /packages/template-starter/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version 4 | ruby ">= 2.6.10" 5 | 6 | # Exclude problematic versions of cocoapods and activesupport that causes build failures. 7 | gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' 8 | gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' 9 | gem 'xcodeproj', '< 1.26.0' -------------------------------------------------------------------------------- /packages/app-harness/src/components/SafeArea/index.web.tsx: -------------------------------------------------------------------------------- 1 | import { FC, ReactNode, createContext } from 'react'; 2 | 3 | const MockContext = createContext({}); 4 | 5 | type MockProviderProps = { 6 | children: ReactNode; 7 | }; 8 | 9 | export const SafeAreaProvider: FC = ({ children }) => { 10 | return {children}; 11 | }; 12 | -------------------------------------------------------------------------------- /packages/engine-core/src/tasks/global/taskConfig.ts: -------------------------------------------------------------------------------- 1 | import { RnvTaskName, createTask } from '@rnv/core'; 2 | 3 | export default createTask({ 4 | description: 'Display RNV config', 5 | dependsOn: [RnvTaskName.configureSoft], 6 | fn: async ({ ctx }) => { 7 | console.log(JSON.stringify(ctx.buildConfig, null, 2)); 8 | return true; 9 | }, 10 | task: RnvTaskName.config, 11 | }); 12 | -------------------------------------------------------------------------------- /packages/engine-rn/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-next/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-web/src/tasks/taskDebug.ts: -------------------------------------------------------------------------------- 1 | import { executeAsync, createTask, RnvTaskName } from '@rnv/core'; 2 | 3 | export default createTask({ 4 | description: 'Debug your app on target device or emulator', 5 | fn: async () => { 6 | return executeAsync('npx weinre --boundHost -all-'); 7 | }, 8 | task: RnvTaskName.debug, 9 | platforms: ['web', 'webtv', 'tizen', 'kaios'], 10 | }); 11 | -------------------------------------------------------------------------------- /packages/engine-rn-web/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-roku/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/sdk-webpack/src/config/jest/cssTransform.js: -------------------------------------------------------------------------------- 1 | // This is a custom Jest transformer turning style imports into empty objects. 2 | // http://facebook.github.io/jest/docs/en/webpack.html 3 | 4 | module.exports = { 5 | process() { 6 | return 'module.exports = {};'; 7 | }, 8 | getCacheKey() { 9 | // The output is always the same. 10 | return 'cssTransform'; 11 | }, 12 | }; 13 | -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | preset: 'react-native', 3 | testEnvironment: 'jsdom', 4 | testMatch: ['**/src/**/__tests__/**/*.(js|ts)?(x)', '**/src/**/?(*.)+(spec|test).(js|ts)?(x)'], 5 | transform: { 6 | '^.+\\.jsx?$': 'babel-jest', 7 | }, 8 | transformIgnorePatterns: ['node_modules/(?!([@]?react-native.*|renative|lodash-es)/)'], 9 | modulePathIgnorePatterns: ['lib'], 10 | }; 11 | -------------------------------------------------------------------------------- /packages/engine-lightning/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/tizen/.tproject: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | tv-samsung-8.0 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/tizenmobile/.tproject: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | mobile 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /packages/integration-docker/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/integration-starter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false 7 | }, 8 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 9 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 10 | } 11 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/templates/platforms/macos/entitlements.mas.inherit.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | com.apple.security.app-sandbox 6 | 7 | com.apple.security.inherit 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/firetv/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/androidwear/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /packages/sdk-utils/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "allowJs": true, 7 | "resolveJsonModule": false 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/sdk-webpack/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "allowJs": true, 7 | "resolveJsonModule": false 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 11 | } 12 | -------------------------------------------------------------------------------- /spec/json/manifest.webapp: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{APP_TITLE}}", 3 | "description": "{{APP_DESCRIPTION}}", 4 | "launch_path": "/index.html", 5 | "icons": { 6 | "16": "/icons/icon16x16.png", 7 | "48": "/icons/icon48x48.png", 8 | "60": "/icons/icon60x60.png", 9 | "128": "/icons/icon128x128.png" 10 | }, 11 | "developer": { 12 | "name": "{{AUTHOR_NAME}}", 13 | "url": "{{AUTHOR_URL}}" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/androidtv/app/src/debug/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /packages/adapter/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false, 7 | "lib": ["ES2021.String"] 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/core/src/configs/utils.ts: -------------------------------------------------------------------------------- 1 | import { logDebug } from '../logger'; 2 | import { writeFileSync } from '../system/fs'; 3 | import { generateBuildConfig } from './buildConfig'; 4 | 5 | export const writeRenativeConfigFile = (configPath: string | undefined, configData: string | object) => { 6 | logDebug(`writeRenativeConfigFile:${configPath}`); 7 | writeFileSync(configPath, configData); 8 | generateBuildConfig(); 9 | }; 10 | -------------------------------------------------------------------------------- /packages/sdk-kaios/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false, 7 | "lib": ["ES2021.String"] 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/sdk-tizen/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false, 7 | "lib": ["ES2021.String"] 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/sdk-webos/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false, 7 | "lib": ["ES2021.String"] 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/engine-core/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false, 7 | "lib": ["ES2021.String"] 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/sdk-android/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false, 7 | "lib": ["ES2021.String"] 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/sdk-telemetry/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false, 7 | "lib": ["ES2021.String"] 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/app-harness/Gemfile: -------------------------------------------------------------------------------- 1 | source 'https://rubygems.org' 2 | 3 | # You may use http://rbenv.org/ or https://rvm.io/ to install and use this version 4 | ruby ">= 2.6.10" 5 | 6 | # Exclude problematic versions of cocoapods and activesupport that causes build failures. 7 | gem 'cocoapods', '>= 1.13', '!= 1.15.0', '!= 1.15.1' 8 | gem 'activesupport', '>= 6.1.7.5', '!= 7.1.0' 9 | gem 'xcodeproj', '< 1.26.0' 10 | gem 'cocoapods-user-defined-build-types' -------------------------------------------------------------------------------- /packages/core/src/schema/defaults.ts: -------------------------------------------------------------------------------- 1 | export const DEFAULTS = { 2 | compileSdkVersion: 0, 3 | minSdkVersion: 0, 4 | targetSdkVersion: 0, 5 | backgroundColor: '#FFFFFF', 6 | deploymentTarget: '15.0', 7 | devServerHost: '127.0.0.1', 8 | buildToolsVersion: '35.0.0', 9 | gradleWrapperVersion: '8.10.2', 10 | author: 'Unknown', 11 | certificateProfile: 'RNVanillaCert', 12 | signingConfig: 'Debug', 13 | }; 14 | -------------------------------------------------------------------------------- /packages/sdk-react-native/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "resolveJsonModule": false, 7 | "lib": ["ES2021.String"] 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/OrientationLocker/index.tsx: -------------------------------------------------------------------------------- 1 | import { View } from 'react-native'; 2 | 3 | const OrientationLocker = (_props: { 4 | orientation?: string; 5 | onChange?: (orientation) => void; 6 | onDeviceChange?: (orientation) => void; 7 | }) => { 8 | return ; 9 | }; 10 | 11 | const PORTRAIT = 'PORTRAIT'; 12 | const LANDSCAPE = 'LANDSCAPE'; 13 | 14 | export { OrientationLocker, PORTRAIT, LANDSCAPE }; 15 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "@flexn/typescript-config/tsconfig.lib.node.json", 3 | "compilerOptions": { 4 | "outDir": "./lib", 5 | "rootDir": "./src", 6 | "allowJs": true, 7 | "resolveJsonModule": false 8 | }, 9 | "include": ["./src/**/*", "./src/**/*.json", "./types.d.ts", "./package.json"], 10 | "exclude": ["node_modules", "./src/**/*.test.ts", "./lib/**/*"] 11 | } 12 | -------------------------------------------------------------------------------- /packages/integration-docker/src/index.ts: -------------------------------------------------------------------------------- 1 | import taskDockerDeploy from './tasks/taskDockerDeploy'; 2 | import taskDockerExport from './tasks/taskDockerExport'; 3 | import { Config } from './config'; 4 | import { createRnvModule } from '@rnv/core'; 5 | 6 | const Integration = createRnvModule({ 7 | tasks: [taskDockerExport, taskDockerDeploy] as const, 8 | name: Config.name, 9 | type: 'public', 10 | }); 11 | 12 | export default Integration; 13 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/Notifications/index.ts: -------------------------------------------------------------------------------- 1 | import { NotificationCallback } from '../types'; 2 | 3 | export const addNotificationListeners = (callback: NotificationCallback) => { 4 | callback('addNotificationListeners not supported on this platform'); 5 | }; 6 | 7 | export const removeNotificationListeners = (callback: NotificationCallback) => { 8 | callback('removeNotificationListeners not supported on this platform'); 9 | }; 10 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/android/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { includeBuild('{{RN_GRADLE_PLUGIN_LOCATION}}') } 2 | plugins { id("com.facebook.react.settings") } 3 | extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } 4 | rootProject.name = '{{RN_GRADLE_PROJECT_NAME}}' 5 | include ':app' {{SETTINGS_GRADLE_INCLUDE}} 6 | includeBuild('{{RN_GRADLE_PLUGIN_LOCATION}}') 7 | {{SETTINGS_GRADLE_PROJECT}} -------------------------------------------------------------------------------- /packages/integration-starter/src/index.ts: -------------------------------------------------------------------------------- 1 | import taskStarterHello from './tasks/taskStarterHello'; 2 | import taskSingleCommand from './tasks/taskSingleCommand'; 3 | import { Config } from './config'; 4 | import { createRnvModule } from '@rnv/core'; 5 | 6 | const Integration = createRnvModule({ 7 | tasks: [taskStarterHello, taskSingleCommand] as const, 8 | name: Config.name, 9 | type: 'public', 10 | }); 11 | 12 | export default Integration; 13 | -------------------------------------------------------------------------------- /packages/engine-rn/src/adapters/babelAdapter.ts: -------------------------------------------------------------------------------- 1 | import { BabelConfig, withBabelPluginModuleResolver } from '@rnv/adapter'; 2 | 3 | export const withRNVBabel = (cnf: BabelConfig): BabelConfig => { 4 | const plugins = cnf?.plugins || []; 5 | 6 | return { 7 | retainLines: true, 8 | presets: ['module:@react-native/babel-preset'], 9 | ...cnf, 10 | plugins: [withBabelPluginModuleResolver(), ...plugins], 11 | }; 12 | }; 13 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/src/adapters/babelAdapter.ts: -------------------------------------------------------------------------------- 1 | import { BabelConfig, withBabelPluginModuleResolver } from '@rnv/adapter'; 2 | 3 | export const withRNVBabel = (cnf: BabelConfig): BabelConfig => { 4 | const plugins = cnf?.plugins || []; 5 | 6 | return { 7 | retainLines: true, 8 | presets: ['module:@react-native/babel-preset'], 9 | ...cnf, 10 | plugins: [withBabelPluginModuleResolver(), ...plugins], 11 | }; 12 | }; 13 | -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- 1 | # Reporting Security Issues 2 | 3 | 4 | If you believe you have found a security vulnerability, we encourage you to let us know right away. 5 | 6 | Please do not open GitHub issues or pull requests - this makes the problem immediately visible to everyone, including malicious actors. 7 | 8 | Email security@flexn.io to disclose any security vulnerabilities. 9 | 10 | We will investigate all legitimate reports and do our best to quickly fix the problem. 11 | -------------------------------------------------------------------------------- /packages/config-templates/pluginTemplates/@react-native-community/cli-platform-ios/overrides@11.3.7.json: -------------------------------------------------------------------------------- 1 | { 2 | "overrides": { 3 | "build/tools/listIOSDevices.js": { 4 | "rawOutput.filter(device => !device.platform.includes('appletv') && !device.platform.includes('macos')).sort(device => device.simulator ? 1 : -1).map(device => {": "rawOutput.sort(device => device.simulator ? 1 : -1).map(device => { // <= PATCHED BY RENATIVE" 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /packages/core/src/schema/platforms/fragments/reactNative.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodPlatformReactNativeFragment = z 4 | .object({ 5 | reactNativeEngine: z 6 | .enum(['jsc', 'v8-android', 'v8-android-nointl', 'v8-android-jit', 'v8-android-jit-nointl', 'hermes']) 7 | .default('hermes') 8 | .describe('Allows you to define specific native render engine to be used'), 9 | }) 10 | .partial(); 11 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/webos/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "RNVApp", 3 | "name": "RNVApp", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | } 10 | ], 11 | "start_url": "./index.html", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /packages/engine-rn-windows/src/adapters/babelAdapter.ts: -------------------------------------------------------------------------------- 1 | import { BabelConfig, withBabelPluginModuleResolver } from '@rnv/adapter'; 2 | 3 | export const withRNVBabel = (cnf: BabelConfig): BabelConfig => { 4 | const plugins = cnf?.plugins || []; 5 | 6 | return { 7 | retainLines: true, 8 | presets: ['module:@react-native/babel-preset'], 9 | ...cnf, 10 | plugins: [withBabelPluginModuleResolver(), ...plugins], 11 | }; 12 | }; 13 | -------------------------------------------------------------------------------- /packages/integration-docker/src/tasks/taskDockerDeploy.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName } from '@rnv/core'; 2 | import Docker from '../docker'; 3 | 4 | export default createTask({ 5 | dependsOn: [RnvTaskName.export], 6 | description: 'Deploys your project to docker image', 7 | fn: async () => { 8 | const docker = new Docker(); 9 | return docker.doDeploy(); 10 | }, 11 | task: 'docker deploy', 12 | platforms: ['web'], 13 | }); 14 | -------------------------------------------------------------------------------- /packages/core/src/schema/configFiles/workspaces.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | 3 | export const zodConfigFileWorkspaces = z.object({ 4 | workspaces: z.record( 5 | z.string(), 6 | z.object({ 7 | path: z.string(), 8 | remote: z.optional( 9 | z.object({ 10 | url: z.string(), 11 | type: z.string(), 12 | }) 13 | ), 14 | }) 15 | ), 16 | }); 17 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/webtv/public/manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "short_name": "RN Vanilla", 3 | "name": "RN Vanilla", 4 | "icons": [ 5 | { 6 | "src": "favicon.ico", 7 | "sizes": "64x64 32x32 24x24 16x16", 8 | "type": "image/x-icon" 9 | } 10 | ], 11 | "start_url": "./index.html", 12 | "display": "standalone", 13 | "theme_color": "#000000", 14 | "background_color": "#ffffff" 15 | } 16 | -------------------------------------------------------------------------------- /spec/json/appinfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "appDescription": "{{APP_DESCRIPTION}}", 3 | "bgColor": "{{APP_BG_COLOR}}", 4 | "icon": "icon.png", 5 | "iconColor": "{{APP_ICON_COLOR}}", 6 | "id": "{{APPLICATION_ID}}", 7 | "largeIcon": "largeIcon.png", 8 | "main": "index.html", 9 | "splashBackground": "splashBackground.png", 10 | "title": "{{APP_TITLE}}", 11 | "type": "web", 12 | "vendor": "{{APP_VENDOR}}", 13 | "version": "{{APP_VERSION}}" 14 | } 15 | -------------------------------------------------------------------------------- /packages/app-harness/src/components/Player/index.web.tsx: -------------------------------------------------------------------------------- 1 | import { useEffect, useState } from 'react'; 2 | import { View } from 'react-native'; 3 | import ReactPlayer from 'react-player'; 4 | 5 | export const Player = () => { 6 | const [isClient, setIsClient] = useState(false); 7 | 8 | useEffect(() => { 9 | setIsClient(true); 10 | }, []); 11 | 12 | return {isClient ? : null}; 13 | }; 14 | -------------------------------------------------------------------------------- /packages/engine-lightning/renative.engine.json: -------------------------------------------------------------------------------- 1 | { 2 | "$schema": "../../.rnv/schema/rnv.engine.json", 3 | "name": "@rnv/engine-lightning", 4 | "overview": "ReNative Engine to build lightning based apps.", 5 | "plugins": { 6 | "@lightningjs/sdk": "source:rnv", 7 | "@lightningjs/cli": "source:rnv" 8 | }, 9 | "npm": { 10 | "devDependencies": {} 11 | }, 12 | "platforms": { 13 | "tizen": {}, 14 | "webos": {} 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/app-harness/appConfigs/harness/assets/android/res/layout/launch_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 5 | 7 | -------------------------------------------------------------------------------- /packages/core/src/schema/plugins/fragments/platformAndroid.ts: -------------------------------------------------------------------------------- 1 | import { z } from 'zod'; 2 | import { zodTemplateAndroidFragment } from '../../platforms/fragments/templateAndroid'; 3 | 4 | export const zodPluginPlatformAndroidFragment = zodTemplateAndroidFragment 5 | .extend({ 6 | projectName: z.string(), 7 | skipLinking: z.boolean(), 8 | skipImplementation: z.boolean(), 9 | implementation: z.string(), 10 | package: z.string(), 11 | }) 12 | .partial(); 13 | -------------------------------------------------------------------------------- /packages/engine-rn-macos/templates/platforms/macos/RNVAppMACOS/RNVAppMACOS.entitlements: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/kaios/public/manifest.webapp: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{APP_TITLE}}", 3 | "description": "{{APP_DESCRIPTION}}", 4 | "start_url": "/index.html", 5 | "icons": { 6 | "16": "/icons/icon16x16.png", 7 | "48": "/icons/icon48x48.png", 8 | "60": "/icons/icon60x60.png", 9 | "128": "/icons/icon128x128.png" 10 | }, 11 | "developer": { 12 | "name": "{{AUTHOR_NAME}}", 13 | "url": "{{AUTHOR_URL}}" 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | webOSTV.js 2 | webOSTV-dev.js 3 | shaka.js 4 | **/node_modules 5 | **/dist 6 | **/platformAssets 7 | **/appConfigs 8 | **/rnv-cli/platformTemplates 9 | **/platformBuilds 10 | **/public 11 | **/bundle.js 12 | test/examples/*.js 13 | **/platformTemplates 14 | **/pluginsTemplates 15 | **/projectTemplate 16 | **/projectTemplates 17 | **/pluginTemplates 18 | **/nodeModuleOverrides 19 | **/templateFiles 20 | **/templateFiles 21 | packages/rnv/tests 22 | jest.config.*.js 23 | **/templates 24 | docs/ 25 | **/lib -------------------------------------------------------------------------------- /packages/engine-rn-electron/templates/platforms/linux/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{PACKAGE_NAME}}-linux", 3 | "productName": "{{APP_TITLE}} linux", 4 | "version": "{{APP_VERSION}}", 5 | "description": "{{APP_DESCRIPTION}}", 6 | "main": "{{ENTRY_MAIN}}", 7 | "author": { 8 | "name": "{{AUTHOR_NAME}}", 9 | "email": "{{AUTHOR_EMAIL}}", 10 | "url": "{{AUTHOR_URL}}" 11 | }, 12 | "scripts": {}, 13 | "license": "{{LICENSE}}", 14 | "dependencies": {} 15 | } 16 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/templates/platforms/macos/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{PACKAGE_NAME}}-macos", 3 | "productName": "{{APP_TITLE}} MacOS", 4 | "version": "{{APP_VERSION}}", 5 | "description": "{{APP_DESCRIPTION}}", 6 | "main": "{{ENTRY_MAIN}}", 7 | "author": { 8 | "name": "{{AUTHOR_NAME}}", 9 | "email": "{{AUTHOR_EMAIL}}", 10 | "url": "{{AUTHOR_URL}}" 11 | }, 12 | "scripts": {}, 13 | "license": "{{LICENSE}}", 14 | "dependencies": {} 15 | } 16 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/androidtv/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { includeBuild('{{RN_GRADLE_PLUGIN_LOCATION}}') } 2 | plugins { id("com.facebook.react.settings") } 3 | extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } 4 | rootProject.name = '{{RN_GRADLE_PROJECT_NAME}}' 5 | apply from: file("{{RN_CLI_LOCATION}}/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 6 | include ':app' 7 | includeBuild('{{RN_GRADLE_PLUGIN_LOCATION}}') 8 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/firetv/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { includeBuild('{{RN_GRADLE_PLUGIN_LOCATION}}') } 2 | plugins { id("com.facebook.react.settings") } 3 | extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } 4 | rootProject.name = '{{RN_GRADLE_PROJECT_NAME}}' 5 | apply from: file("{{RN_CLI_LOCATION}}/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 6 | include ':app' 7 | includeBuild('{{RN_GRADLE_PLUGIN_LOCATION}}') 8 | -------------------------------------------------------------------------------- /packages/engine-rn-web/templates/platforms/webos/appinfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "appDescription": "{{APP_DESCRIPTION}}", 3 | "bgColor": "{{APP_BG_COLOR}}", 4 | "icon": "icon.png", 5 | "iconColor": "{{APP_ICON_COLOR}}", 6 | "id": "{{APPLICATION_ID}}", 7 | "largeIcon": "largeIcon.png", 8 | "main": "index.html", 9 | "splashBackground": "splashBackground.png", 10 | "title": "{{APP_TITLE}}", 11 | "type": "web", 12 | "vendor": "{{APP_VENDOR}}", 13 | "version": "{{APP_VERSION}}" 14 | } 15 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/androidwear/settings.gradle: -------------------------------------------------------------------------------- 1 | pluginManagement { includeBuild('{{RN_GRADLE_PLUGIN_LOCATION}}') } 2 | plugins { id("com.facebook.react.settings") } 3 | extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() } 4 | rootProject.name = '{{RN_GRADLE_PROJECT_NAME}}' 5 | apply from: file("{{RN_CLI_LOCATION}}/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 6 | include ':app' 7 | includeBuild('{{RN_GRADLE_PLUGIN_LOCATION}}') 8 | -------------------------------------------------------------------------------- /packages/sdk-apple/src/tasks/taskCryptoUpdateProfile.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName } from '@rnv/core'; 2 | import { updateProfile } from '../fastlane'; 3 | import { SdkPlatforms } from '../common'; 4 | 5 | export default createTask({ 6 | description: 'Update provisioning profile (mac only)', 7 | dependsOn: [RnvTaskName.projectConfigure], 8 | fn: async () => { 9 | return updateProfile(); 10 | }, 11 | task: RnvTaskName.cryptoUpdateProfile, 12 | platforms: SdkPlatforms, 13 | }); 14 | -------------------------------------------------------------------------------- /packages/core/src/projects/types.ts: -------------------------------------------------------------------------------- 1 | import { NpmDepKey } from '../configs/types'; 2 | 3 | export type ParseFontsCallback = (font: string, dir: string) => void; 4 | 5 | export type AsyncCallback = () => Promise; 6 | 7 | export type DependencyMutation = { 8 | name: string; 9 | original?: { 10 | version: string; 11 | }; 12 | updated: { 13 | version: string; 14 | }; 15 | type: NpmDepKey; 16 | msg: string; 17 | source: string; 18 | targetPath?: string; 19 | }; 20 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/templates/platforms/windows/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{PACKAGE_NAME}}-windows", 3 | "productName": "{{APP_TITLE}} Windows", 4 | "version": "{{APP_VERSION}}", 5 | "description": "{{APP_DESCRIPTION}}", 6 | "main": "{{ENTRY_MAIN}}", 7 | "author": { 8 | "name": "{{AUTHOR_NAME}}", 9 | "email": "{{AUTHOR_EMAIL}}", 10 | "url": "{{AUTHOR_URL}}" 11 | }, 12 | "scripts": {}, 13 | "license": "{{LICENSE}}", 14 | "dependencies": {} 15 | } 16 | -------------------------------------------------------------------------------- /packages/engine-core/src/tasks/plugin/taskPluginList.ts: -------------------------------------------------------------------------------- 1 | import { logToSummary, createTask, RnvTaskName } from '@rnv/core'; 2 | import { getPluginList } from './taskHelpers'; 3 | 4 | export default createTask({ 5 | description: 'Show list of all available plugins', 6 | dependsOn: [RnvTaskName.projectConfigure], 7 | fn: async () => { 8 | const o = getPluginList(); 9 | logToSummary(`Plugins:\n\n${o.asString}`); 10 | return true; 11 | }, 12 | task: RnvTaskName.pluginList, 13 | }); 14 | -------------------------------------------------------------------------------- /packages/sdk-apple/src/tasks/taskLog.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName } from '@rnv/core'; 2 | import { runAppleLog } from '../runner'; 3 | import { SdkPlatforms } from '../common'; 4 | 5 | export default createTask({ 6 | description: 'Attach logger to device or emulator and print out logs', 7 | dependsOn: [RnvTaskName.workspaceConfigure], 8 | fn: async () => { 9 | return runAppleLog(); 10 | }, 11 | task: RnvTaskName.log, 12 | platforms: SdkPlatforms, 13 | isGlobalScope: true, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/engine-core/src/tasks/linking/types.ts: -------------------------------------------------------------------------------- 1 | export type LinkablePackage = { 2 | name: string; 3 | sourcePath: string; 4 | sourcePathRelative: string; 5 | nmPath: string; 6 | unlinkedPath: string; 7 | cacheDir: string; 8 | skipLinking: boolean; 9 | isLinked: boolean; 10 | isBrokenLink: boolean; 11 | nmPathExists: boolean; 12 | unlinkedPathExists: boolean; 13 | }; 14 | export type SourcePackage = { 15 | name: string; 16 | path: string; 17 | skipLinking?: boolean; 18 | }; 19 | -------------------------------------------------------------------------------- /packages/engine-lightning/templates/platforms/webos/project/appinfo.json: -------------------------------------------------------------------------------- 1 | { 2 | "appDescription": "{{APP_DESCRIPTION}}", 3 | "bgColor": "{{APP_BG_COLOR}}", 4 | "icon": "icon.png", 5 | "iconColor": "{{APP_ICON_COLOR}}", 6 | "id": "{{APPLICATION_ID}}", 7 | "largeIcon": "largeIcon.png", 8 | "main": "index.html", 9 | "splashBackground": "splashBackground.png", 10 | "title": "{{APP_TITLE}}", 11 | "type": "web", 12 | "vendor": "{{APP_VENDOR}}", 13 | "version": "{{APP_VERSION}}" 14 | } 15 | -------------------------------------------------------------------------------- /packages/engine-core/src/tasks/hooks/taskHooksPipes.ts: -------------------------------------------------------------------------------- 1 | import { logRaw, generateOptions, buildHooks, createTask, RnvTaskName } from '@rnv/core'; 2 | 3 | export default createTask({ 4 | description: 'Get the list of all available pipes', 5 | dependsOn: [RnvTaskName.projectConfigure], 6 | fn: async ({ ctx }) => { 7 | await buildHooks(); 8 | 9 | const pipeOpts = generateOptions(ctx.buildPipes); 10 | logRaw(`Pipes:\n${pipeOpts.asString}`); 11 | }, 12 | task: RnvTaskName.hooksPipes, 13 | }); 14 | -------------------------------------------------------------------------------- /packages/sdk-webos/src/tasks/taskSdkConfigure.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName } from '@rnv/core'; 2 | import { checkAndConfigureWebosSdks, checkWebosSdk } from '../installer'; 3 | import { SdkPlatforms } from '../constants'; 4 | 5 | export default createTask({ 6 | description: 'Configures sdks', 7 | isPrivate: true, 8 | fn: async () => { 9 | await checkAndConfigureWebosSdks(); 10 | await checkWebosSdk(); 11 | }, 12 | task: RnvTaskName.sdkConfigure, 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/sdk-tizen/src/tasks/taskSdkConfigure.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName } from '@rnv/core'; 2 | import { checkAndConfigureTizenSdks, checkTizenSdk } from '../installer'; 3 | import { SdkPlatforms } from '../constants'; 4 | 5 | export default createTask({ 6 | description: 'Configures sdks', 7 | isPrivate: true, 8 | fn: async () => { 9 | await checkAndConfigureTizenSdks(); 10 | await checkTizenSdk(true); 11 | }, 12 | task: RnvTaskName.sdkConfigure, 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/integration-starter/src/tasks/taskStarterHello.ts: -------------------------------------------------------------------------------- 1 | import { RnvTaskName, createTask, logSuccess } from '@rnv/core'; 2 | 3 | export default createTask({ 4 | description: 'Prints hello message', 5 | dependsOn: [RnvTaskName.package], 6 | fn: async ({ ctx }) => { 7 | logSuccess(`Hello from Integration Starter! 8 | --my-opt value: ${ctx.program.opts().myOpt}`); 9 | }, 10 | task: 'starter hello', 11 | platforms: ['ios'], 12 | options: [{ key: 'my-opt', description: 'Hello', isValueType: true }], 13 | }); 14 | -------------------------------------------------------------------------------- /packages/sdk-android/src/tasks/taskSdkConfigure.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName } from '@rnv/core'; 2 | import { checkAndConfigureAndroidSdks, checkAndroidSdk } from '../installer'; 3 | import { SdkPlatforms } from '../constants'; 4 | 5 | export default createTask({ 6 | description: 'Configures sdks', 7 | isPrivate: true, 8 | fn: async () => { 9 | await checkAndConfigureAndroidSdks(); 10 | return checkAndroidSdk(); 11 | }, 12 | task: RnvTaskName.sdkConfigure, 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /spec/other/.xcode.env: -------------------------------------------------------------------------------- 1 | # This `.xcode.env` file is versioned and is used to source the environment 2 | # used when running script phases inside Xcode. 3 | # To customize your local environment, you can create an `.xcode.env.local` 4 | # file that is not versioned. 5 | 6 | # NODE_BINARY variable contains the PATH to the node executable. 7 | # 8 | # Customize the NODE_BINARY variable here. 9 | # For example, to use nvm with brew, add the following line 10 | # . "$(brew --prefix nvm)/nvm.sh" --no-use 11 | export NODE_BINARY=$(command -v node) 12 | -------------------------------------------------------------------------------- /packages/engine-rn-next/src/tasks/taskBuild.ts: -------------------------------------------------------------------------------- 1 | import { RnvTaskOptionPresets, createTask, RnvTaskName } from '@rnv/core'; 2 | import { buildWebNext } from '../sdk/runner'; 3 | import { SdkPlatforms } from '../sdk/constants'; 4 | 5 | export default createTask({ 6 | description: 'Build project binary', 7 | dependsOn: [RnvTaskName.configure], 8 | fn: async () => { 9 | await buildWebNext(); 10 | }, 11 | task: RnvTaskName.build, 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/src/tasks/taskBuild.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName, RnvTaskOptionPresets } from '@rnv/core'; 2 | import { buildElectron } from '../sdk/runner'; 3 | import { SdkPlatforms } from '../sdk/constants'; 4 | 5 | export default createTask({ 6 | description: 'Build project binary', 7 | dependsOn: [RnvTaskName.configure], 8 | fn: async () => { 9 | return buildElectron(); 10 | }, 11 | task: RnvTaskName.build, 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/integration-docker/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM alpine 2 | EXPOSE 80 443 3 | COPY {{BUILD_FOLDER}} /var/www/localhost/htdocs 4 | RUN apk add nginx && \ 5 | apk add openssl && \ 6 | openssl req -x509 -nodes -days 365 -subj "/C=CA/ST=QC/O=STL" -newkey rsa:2048 -keyout /etc/ssl/private/nginx-selfsigned.key -out /etc/ssl/certs/nginx-selfsigned.crt && \ 7 | mkdir -p /run/nginx; 8 | COPY nginx.default.conf /etc/nginx/nginx.conf 9 | {{DOCKER_ADDITIONAL_COMMANDS}} 10 | CMD ["/bin/sh", "-c", "exec nginx -g 'daemon off;';"] 11 | WORKDIR /var/www/localhost/htdocs 12 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/src/tasks/taskStart.ts: -------------------------------------------------------------------------------- 1 | import { runWebpackServer } from '@rnv/sdk-webpack'; 2 | import { RnvTaskOptionPresets, createTask, RnvTaskName } from '@rnv/core'; 3 | import { SdkPlatforms } from '../sdk/constants'; 4 | 5 | export default createTask({ 6 | description: 'Starts bundler / server', 7 | dependsOn: [RnvTaskName.configure], 8 | fn: async () => { 9 | return runWebpackServer(); 10 | }, 11 | task: RnvTaskName.start, 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/sdk-webpack/nodeModuleOverrides/react-dev-utils/clearConsole.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | 'use strict'; 9 | 10 | function clearConsole() { 11 | // PATCH: WE DO NOT WANT THIS TO HAPPEN 12 | // process.stdout.write( 13 | // process.platform === 'win32' ? '\x1B[2J\x1B[0f' : '\x1B[2J\x1B[3J\x1B[H' 14 | // ); 15 | } 16 | 17 | module.exports = clearConsole; 18 | -------------------------------------------------------------------------------- /packages/engine-lightning/src/tasks/taskBuild.ts: -------------------------------------------------------------------------------- 1 | import { RnvTaskName, RnvTaskOptionPresets, createTask } from '@rnv/core'; 2 | import { buildLightningProject } from '../sdk/runner'; 3 | import { SdkPlatforms } from '../sdk/constants'; 4 | 5 | export default createTask({ 6 | description: 'Build project binary', 7 | fn: async () => { 8 | return buildLightningProject(); 9 | }, 10 | task: RnvTaskName.build, 11 | dependsOn: [RnvTaskName.configure], 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/engine-rn-electron/src/tasks/taskExport.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName, RnvTaskOptionPresets } from '@rnv/core'; 2 | import { exportElectron } from '../sdk/runner'; 3 | import { SdkPlatforms } from '../sdk/constants'; 4 | 5 | export default createTask({ 6 | description: 'Export the app into deployable binary', 7 | dependsOn: [RnvTaskName.build], 8 | fn: async () => { 9 | return exportElectron(); 10 | }, 11 | task: RnvTaskName.export, 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/engine-rn-next/src/tasks/taskExport.ts: -------------------------------------------------------------------------------- 1 | import { RnvTaskOptionPresets, createTask, RnvTaskName } from '@rnv/core'; 2 | import { exportWebNext } from '../sdk/runner'; 3 | import { SdkPlatforms } from '../sdk/constants'; 4 | 5 | export default createTask({ 6 | description: 'Export the app into deployable binary', 7 | dependsOn: [RnvTaskName.configure], 8 | fn: async () => { 9 | return exportWebNext(); 10 | }, 11 | task: RnvTaskName.export, 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/engine-rn/templates/platforms/ios/.xcode.env: -------------------------------------------------------------------------------- 1 | # This `.xcode.env` file is versioned and is used to source the environment 2 | # used when running script phases inside Xcode. 3 | # To customize your local environment, you can create an `.xcode.env.local` 4 | # file that is not versioned. 5 | 6 | # NODE_BINARY variable contains the PATH to the node executable. 7 | # 8 | # Customize the NODE_BINARY variable here. 9 | # For example, to use nvm with brew, add the following line 10 | # . "$(brew --prefix nvm)/nvm.sh" --no-use 11 | export NODE_BINARY=$(command -v node) 12 | -------------------------------------------------------------------------------- /packages/sdk-android/src/tasks/taskBuild.ts: -------------------------------------------------------------------------------- 1 | import { RnvTaskName, RnvTaskOptionPresets, createTask } from '@rnv/core'; 2 | import { buildReactNativeAndroid } from '@rnv/sdk-react-native'; 3 | import { SdkPlatforms } from '../constants'; 4 | 5 | export default createTask({ 6 | description: 'Build project binary', 7 | fn: async () => { 8 | return buildReactNativeAndroid(); 9 | }, 10 | task: RnvTaskName.build, 11 | dependsOn: [RnvTaskName.package], 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/engine-rn-tvos/templates/platforms/tvos/.xcode.env: -------------------------------------------------------------------------------- 1 | # This `.xcode.env` file is versioned and is used to source the environment 2 | # used when running script phases inside Xcode. 3 | # To customize your local environment, you can create an `.xcode.env.local` 4 | # file that is not versioned. 5 | 6 | # NODE_BINARY variable contains the PATH to the node executable. 7 | # 8 | # Customize the NODE_BINARY variable here. 9 | # For example, to use nvm with brew, add the following line 10 | # . "$(brew --prefix nvm)/nvm.sh" --no-use 11 | export NODE_BINARY=$(command -v node) 12 | -------------------------------------------------------------------------------- /packages/sdk-webos/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const CLI_WEBOS_ARES = 'webosAres'; 4 | export const CLI_WEBOS_ARES_PACKAGE = 'webosAresPackage'; 5 | export const CLI_WEBOS_ARES_INSTALL = 'webosAresInstall'; 6 | export const CLI_WEBOS_ARES_LAUNCH = 'webosAresLaunch'; 7 | export const CLI_WEBOS_ARES_SETUP_DEVICE = 'webosAresSetup'; 8 | export const CLI_WEBOS_ARES_DEVICE_INFO = 'webosAresDeviceInfo'; 9 | export const CLI_WEBOS_ARES_NOVACOM = 'webosAresNovacom'; 10 | 11 | export const SdkPlatforms: Array = ['webos']; 12 | -------------------------------------------------------------------------------- /spec/json/site.webmanifest: -------------------------------------------------------------------------------- 1 | { 2 | "name": "{{configProps.description}}", 3 | "short_name": "{{configProps.title}}", 4 | "icons": [ 5 | { 6 | "src": "/android-chrome-192x192.png", 7 | "sizes": "192x192", 8 | "type": "image/png" 9 | }, 10 | { 11 | "src": "/android-chrome-512x512.png", 12 | "sizes": "512x512", 13 | "type": "image/png" 14 | } 15 | ], 16 | "theme_color": "#ffffff", 17 | "background_color": "#ffffff", 18 | "display": "standalone" 19 | } 20 | -------------------------------------------------------------------------------- /packages/engine-core/src/tasks/platform/taskPlatformList.ts: -------------------------------------------------------------------------------- 1 | import { chalk, logToSummary, generatePlatformChoices, createTask, RnvTaskName } from '@rnv/core'; 2 | 3 | export default createTask({ 4 | description: 'List all available platforms', 5 | dependsOn: [RnvTaskName.projectConfigure], 6 | fn: async () => { 7 | const opts = generatePlatformChoices().map((v, i) => ` [${chalk().bold.white(i + 1)}]> ${v.name}`); 8 | logToSummary(`Platforms:\n\n${opts.join('\n')}`); 9 | return true; 10 | }, 11 | task: RnvTaskName.platformList, 12 | }); 13 | -------------------------------------------------------------------------------- /packages/sdk-android/src/constants.ts: -------------------------------------------------------------------------------- 1 | import { RnvPlatformKey } from '@rnv/core'; 2 | 3 | export const CLI_ANDROID_EMULATOR = 'androidEmulator'; 4 | export const CLI_ANDROID_ADB = 'androidAdb'; 5 | export const CLI_ANDROID_AVDMANAGER = 'androidAvdManager'; 6 | export const CLI_ANDROID_SDKMANAGER = 'androidSdkManager'; 7 | 8 | export const SdkPlatforms: Array = ['android', 'androidtv', 'androidwear', 'firetv']; 9 | 10 | export const ANDROID_STYLES = 'styles_xml'; 11 | export const ANDROID_STRINGS = 'strings_xml'; 12 | export const ANDROID_COLORS = 'colors_xml'; 13 | -------------------------------------------------------------------------------- /packages/sdk-android/templateFiles/build.gradle.json: -------------------------------------------------------------------------------- 1 | { 2 | "build.gradle": { 3 | "injectLines_1": [ 4 | "apply plugin: 'com.android.application'", 5 | "apply plugin: 'kotlin-android'", 6 | "apply plugin: 'kotlin-android-extensions'" 7 | ], 8 | "android": {}, 9 | "dependencies": {}, 10 | "injectLines_2": [ 11 | "apply plugin: 'com.android.application'", 12 | "apply plugin: 'kotlin-android'", 13 | "apply plugin: 'kotlin-android-extensions'" 14 | ] 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /packages/engine-rn-next/src/tasks/taskConfigure.ts: -------------------------------------------------------------------------------- 1 | import { RnvTaskOptionPresets, createTask, RnvTaskName } from '@rnv/core'; 2 | import { configureNextIfRequired } from '../sdk/runner'; 3 | import { SdkPlatforms } from '../sdk/constants'; 4 | 5 | export default createTask({ 6 | description: 'Configure current project', 7 | dependsOn: [RnvTaskName.platformConfigure], 8 | fn: async () => { 9 | return configureNextIfRequired(); 10 | }, 11 | task: RnvTaskName.configure, 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/integration-docker/src/tasks/taskDockerExport.ts: -------------------------------------------------------------------------------- 1 | import { createTask, RnvTaskName } from '@rnv/core'; 2 | import Docker from '../docker'; 3 | 4 | export default createTask({ 5 | description: 'Exports your project to docker image', 6 | // TODO: we need to do this differently 7 | // Project neds to define pipeline of tasks instead of integration 8 | dependsOn: [RnvTaskName.export], 9 | fn: async () => { 10 | const docker = new Docker(); 11 | await docker.doExport(); 12 | }, 13 | task: 'docker export', 14 | platforms: ['web'], 15 | }); 16 | -------------------------------------------------------------------------------- /packages/app-harness/webpack.config.js: -------------------------------------------------------------------------------- 1 | const webpack = require('webpack'); //to access built-in plugins 2 | 3 | const { withRNVWebpack } = require('@rnv/adapter'); 4 | 5 | module.exports = withRNVWebpack({ 6 | output: { 7 | //This allows to build and output a single JS file 8 | //https://github.com/flexn-io/renative/issues/1353 9 | chunkFormat: false, 10 | }, 11 | resolve: { 12 | alias: { 13 | 'my-module': 'some_path', 14 | }, 15 | modules: ['test_modules'], 16 | }, 17 | plugins: [new webpack.ProgressPlugin()], 18 | }); 19 | -------------------------------------------------------------------------------- /packages/engine-lightning/src/tasks/taskConfigure.ts: -------------------------------------------------------------------------------- 1 | import { RnvTaskName, RnvTaskOptionPresets, createTask } from '@rnv/core'; 2 | import { configureLightningProject } from '../sdk/runner'; 3 | import { SdkPlatforms } from '../sdk/constants'; 4 | 5 | export default createTask({ 6 | dependsOn: [RnvTaskName.platformConfigure], 7 | description: 'Configure current project', 8 | fn: async () => { 9 | return configureLightningProject(); 10 | }, 11 | task: RnvTaskName.configure, 12 | options: RnvTaskOptionPresets.withConfigure(), 13 | platforms: SdkPlatforms, 14 | }); 15 | -------------------------------------------------------------------------------- /packages/sdk-kaios/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './deviceManager'; 2 | export * from './runner'; 3 | export * from './constants'; 4 | 5 | import { GetContextType, createRnvModule } from '@rnv/core'; 6 | import taskTargetLaunch from './tasks/taskTargetLaunch'; 7 | import taskTargetList from './tasks/taskTargetList'; 8 | 9 | const RnvModule = createRnvModule({ 10 | tasks: [taskTargetLaunch, taskTargetList] as const, 11 | name: '@rnv/sdk-kaios', 12 | type: 'internal', 13 | }); 14 | 15 | export default RnvModule; 16 | 17 | export type GetContext = GetContextType; 18 | -------------------------------------------------------------------------------- /packages/sdk-react-native/src/index.ts: -------------------------------------------------------------------------------- 1 | export * from './common'; 2 | export * from './androidRunner'; 3 | export * from './iosRunner'; 4 | export * from './metroRunner'; 5 | export * from './adapters'; 6 | export * from './env'; 7 | import { GetContextType, createRnvModule } from '@rnv/core'; 8 | import taskStart from './tasks/taskStart'; 9 | 10 | const RnvModule = createRnvModule({ 11 | tasks: [taskStart], 12 | name: '@rnv/sdk-react-native', 13 | type: 'internal', 14 | }); 15 | 16 | export default RnvModule; 17 | 18 | export type GetContext = GetContextType; 19 | -------------------------------------------------------------------------------- /packages/app-harness/src/screens/Cast.tsx: -------------------------------------------------------------------------------- 1 | /* eslint-disable react/jsx-one-expression-per-line */ 2 | import React from 'react'; 3 | import { Text, View, ScrollView, Image } from 'react-native'; 4 | import { themeStyles, ICON_LOGO } from '../config'; 5 | 6 | const ScreenMyPage = () => ( 7 | 8 | 9 | 10 | This is cast Page! 11 | 12 | 13 | ); 14 | 15 | export default ScreenMyPage; 16 | -------------------------------------------------------------------------------- /packages/core/src/migrator/index.ts: -------------------------------------------------------------------------------- 1 | import { logDefault } from '../logger'; 2 | 3 | // NOTE: Only support last 3 major releases. i.e: 0.31, 0.30, 0.29 4 | export const checkAndMigrateProject = async () => { 5 | logDefault('checkAndMigrateProject'); 6 | const migrator = { 7 | targetVersion: '^0.37', 8 | taskOptions: [], 9 | commands: [], 10 | folders: [], 11 | configs: [], 12 | files: [], 13 | }; 14 | // Cli Commands 15 | // 16 | logDefault(`Check migrating version from ${migrator.targetVersion}`); 17 | 18 | return true; 19 | }; 20 | --------------------------------------------------------------------------------