├── docs ├── .nojekyll ├── CNAME ├── logo.png ├── favicon.ico ├── finding-modules.png ├── gzip-example-ios.png ├── multidex-error.png ├── terminal-picture.png ├── gzip-example-android.png ├── deviceinfo-example-ios.png ├── deviceinfo-example-android.png ├── fonts │ ├── fira-code-v21-latin-regular.ttf │ ├── fira-code-v21-latin-regular.woff │ ├── fira-code-v21-latin-regular.woff2 │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2 │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2 │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2 │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2 │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2 │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff │ └── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2 └── sitemap.xml ├── packages ├── .gitkeep ├── core │ ├── react-android │ │ ├── README.md │ │ ├── .idea │ │ │ ├── .name │ │ │ ├── .gitignore │ │ │ ├── compiler.xml │ │ │ ├── vcs.xml │ │ │ ├── misc.xml │ │ │ └── gradle.xml │ │ ├── bridge │ │ │ ├── .gitignore │ │ │ ├── consumer-rules.pro │ │ │ ├── src │ │ │ │ └── main │ │ │ │ │ └── AndroidManifest.xml │ │ │ └── proguard-rules.pro │ │ ├── react │ │ │ ├── .gitignore │ │ │ ├── consumer-rules.pro │ │ │ ├── src │ │ │ │ ├── main │ │ │ │ │ ├── java │ │ │ │ │ │ └── com │ │ │ │ │ │ │ └── facebook │ │ │ │ │ │ │ ├── react │ │ │ │ │ │ │ ├── bridge │ │ │ │ │ │ │ │ ├── JSIModule.java │ │ │ │ │ │ │ │ ├── JavaScriptModule.java │ │ │ │ │ │ │ │ ├── JavaScriptContextHolder.java │ │ │ │ │ │ │ │ ├── ReactModuleWithSpec.java │ │ │ │ │ │ │ │ ├── ReadableType.java │ │ │ │ │ │ │ │ ├── ReadableMapKeySetIterator.java │ │ │ │ │ │ │ │ ├── WindowFocusChangeListener.java │ │ │ │ │ │ │ │ ├── JSIModuleType.java │ │ │ │ │ │ │ │ ├── NoSuchKeyException.java │ │ │ │ │ │ │ │ ├── UnexpectedNativeTypeException.java │ │ │ │ │ │ │ │ ├── AssertionException.java │ │ │ │ │ │ │ │ ├── Callback.java │ │ │ │ │ │ │ │ ├── JSApplicationIllegalArgumentException.java │ │ │ │ │ │ │ │ ├── Dynamic.java │ │ │ │ │ │ │ │ ├── WritableArray.java │ │ │ │ │ │ │ │ ├── ReactNoCrashSoftException.java │ │ │ │ │ │ │ │ ├── BaseActivityEventListener.java │ │ │ │ │ │ │ │ ├── UIManagerListener.java │ │ │ │ │ │ │ │ ├── ReactNoCrashBridgeNotAllowedSoftException.java │ │ │ │ │ │ │ │ ├── ReactApplicationContext.java │ │ │ │ │ │ │ │ ├── WritableMap.java │ │ │ │ │ │ │ │ ├── NativeModuleCallExceptionHandler.java │ │ │ │ │ │ │ │ ├── ReadableArray.java │ │ │ │ │ │ │ │ └── ActivityEventListener.java │ │ │ │ │ │ │ ├── uimanager │ │ │ │ │ │ │ │ ├── ReactShadowNode.java │ │ │ │ │ │ │ │ ├── UIBlock.java │ │ │ │ │ │ │ │ ├── events │ │ │ │ │ │ │ │ │ ├── EventDispatcher.java │ │ │ │ │ │ │ │ │ └── EventDispatcherProvider.java │ │ │ │ │ │ │ │ ├── NativeViewHierarchyManager.java │ │ │ │ │ │ │ │ ├── BaseViewManager.java │ │ │ │ │ │ │ │ ├── common │ │ │ │ │ │ │ │ │ ├── UIManagerType.java │ │ │ │ │ │ │ │ │ └── BUCK │ │ │ │ │ │ │ │ ├── RootViewManager.java │ │ │ │ │ │ │ │ └── SimpleViewManager.java │ │ │ │ │ │ │ ├── turbomodule │ │ │ │ │ │ │ │ └── core │ │ │ │ │ │ │ │ │ └── interfaces │ │ │ │ │ │ │ │ │ └── TurboModule.java │ │ │ │ │ │ │ ├── common │ │ │ │ │ │ │ │ ├── build │ │ │ │ │ │ │ │ │ └── ReactBuildConfig.java │ │ │ │ │ │ │ │ ├── ReactConstants.java │ │ │ │ │ │ │ │ ├── annotations │ │ │ │ │ │ │ │ │ └── VisibleForTesting.java │ │ │ │ │ │ │ │ └── SystemClock.java │ │ │ │ │ │ │ ├── ReactApplication.java │ │ │ │ │ │ │ ├── ReactCustomApplication.java │ │ │ │ │ │ │ ├── module │ │ │ │ │ │ │ │ ├── model │ │ │ │ │ │ │ │ │ ├── ReactModuleInfoProvider.java │ │ │ │ │ │ │ │ │ └── BUCK │ │ │ │ │ │ │ │ └── annotations │ │ │ │ │ │ │ │ │ ├── BUCK │ │ │ │ │ │ │ │ │ └── ReactModuleList.java │ │ │ │ │ │ │ ├── jstasks │ │ │ │ │ │ │ │ ├── HeadlessJsTaskRetryPolicy.java │ │ │ │ │ │ │ │ ├── HeadlessJsTaskEventListener.java │ │ │ │ │ │ │ │ └── NoRetryPolicy.java │ │ │ │ │ │ │ ├── modules │ │ │ │ │ │ │ │ ├── core │ │ │ │ │ │ │ │ │ ├── RCTNativeAppEventEmitter.java │ │ │ │ │ │ │ │ │ └── PermissionListener.java │ │ │ │ │ │ │ │ ├── systeminfo │ │ │ │ │ │ │ │ │ └── ReactNativeVersion.java │ │ │ │ │ │ │ │ ├── appregistry │ │ │ │ │ │ │ │ │ └── AppRegistry.java │ │ │ │ │ │ │ │ └── permissions │ │ │ │ │ │ │ │ │ └── BUCK │ │ │ │ │ │ │ └── views │ │ │ │ │ │ │ │ └── scroll │ │ │ │ │ │ │ │ └── ScrollEventType.java │ │ │ │ │ │ │ └── proguard │ │ │ │ │ │ │ └── annotations │ │ │ │ │ │ │ ├── BUCK │ │ │ │ │ │ │ ├── proguard_annotations.pro │ │ │ │ │ │ │ └── KeepGettersAndSetters.java │ │ │ │ │ └── AndroidManifest.xml │ │ │ │ ├── network │ │ │ │ │ └── java │ │ │ │ │ │ └── com │ │ │ │ │ │ └── facebook │ │ │ │ │ │ └── react │ │ │ │ │ │ └── modules │ │ │ │ │ │ └── network │ │ │ │ │ │ ├── OkHttpClientFactory.java │ │ │ │ │ │ └── CookieJarContainer.java │ │ │ │ ├── test │ │ │ │ │ └── java │ │ │ │ │ │ └── com │ │ │ │ │ │ └── facebook │ │ │ │ │ │ └── react │ │ │ │ │ │ └── ExampleUnitTest.java │ │ │ │ └── androidTest │ │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── facebook │ │ │ │ │ └── react │ │ │ │ │ └── ExampleInstrumentedTest.java │ │ │ ├── settings.gradle │ │ │ └── proguard-rules.pro │ │ ├── gradle │ │ │ └── wrapper │ │ │ │ ├── gradle-wrapper.jar │ │ │ │ └── gradle-wrapper.properties │ │ ├── .gitignore │ │ └── settings.gradle │ ├── postinstall.js │ ├── preuninstall.js │ ├── platforms │ │ └── ios │ │ │ ├── lib_core │ │ │ ├── React │ │ │ │ ├── CoreModules │ │ │ │ │ ├── CoreModulesPlugins.h │ │ │ │ │ ├── RCTAlertController.h │ │ │ │ │ ├── RCTDevMenu.h │ │ │ │ │ ├── RCTEventDispatcher.h │ │ │ │ │ └── RCTAlertManager.h │ │ │ │ ├── Base │ │ │ │ │ ├── RCTBundleManager.h │ │ │ │ │ ├── RCTRootView.m │ │ │ │ │ ├── RCTInitializing.h │ │ │ │ │ ├── RCTInvalidating.h │ │ │ │ │ ├── RCTBundleManager.m │ │ │ │ │ ├── RCTRootView.h │ │ │ │ │ ├── RCTJSThread.m │ │ │ │ │ ├── RCTRedBoxSetEnabled.m │ │ │ │ │ ├── RCTCxxConvert.h │ │ │ │ │ ├── RCTRedBoxSetEnabled.h │ │ │ │ │ ├── RCTUtilsUIOverride.h │ │ │ │ │ ├── RCTFrameUpdate.m │ │ │ │ │ ├── RCTUtilsUIOverride.m │ │ │ │ │ ├── RCTComponentEvent.h │ │ │ │ │ ├── RCTManagedPointer.h │ │ │ │ │ ├── RCTJSThread.h │ │ │ │ │ └── RCTEventDispatcher.m │ │ │ │ └── Views │ │ │ │ │ ├── RCTViewUtils.m │ │ │ │ │ ├── RCTViewUtils.h │ │ │ │ │ ├── UIView+Private.h │ │ │ │ │ ├── RCTView.h │ │ │ │ │ └── RCTAutoInsetsProtocol.h │ │ │ └── Libraries │ │ │ │ └── LinkingIOS │ │ │ │ ├── RCTLinkingPlugins.mm │ │ │ │ └── RCTLinkingPlugins.h │ │ │ ├── lib_community │ │ │ └── RNPodspecs.m │ │ │ ├── lib_common │ │ │ └── CallInvoker.h │ │ │ ├── ReactCommon.podspec │ │ │ ├── RCTRequired.podspec │ │ │ └── React.podspec │ ├── Libraries │ │ ├── TurboModule │ │ │ ├── RCTExport.ts │ │ │ └── TurboModuleRegistry.ts │ │ ├── EventEmitter │ │ │ └── RCTDeviceEventEmitter.ts │ │ ├── vendor │ │ │ └── emitter │ │ │ │ └── EventSubscription.ts │ │ ├── ReactNative │ │ │ └── NativeHeadlessJsTaskSupport.ts │ │ ├── Alert │ │ │ ├── RCTAlertManager.ios.ts │ │ │ ├── RCTAlertManager.android.ts │ │ │ └── NativeAlertManager.ts │ │ ├── Utilities │ │ │ └── Dimensions.ts │ │ └── BatchedBridge │ │ │ └── BatchedBridge.ts │ ├── hooks │ │ ├── index.ts │ │ ├── android │ │ │ ├── getters │ │ │ │ ├── project-name.ts │ │ │ │ ├── module-import-path.ts │ │ │ │ ├── manifest-path.ts │ │ │ │ └── build-gradle-path.ts │ │ │ ├── writers │ │ │ │ ├── modulemap.ts │ │ │ │ ├── write-namespace-gradle.ts │ │ │ │ ├── include-gradle.ts │ │ │ │ └── modules-json.ts │ │ │ └── extractors │ │ │ │ └── package-class-declaration.ts │ │ ├── tsconfig.demo.json │ │ ├── tsconfig.json │ │ └── ios │ │ │ ├── extractors │ │ │ ├── js-name.ts │ │ │ ├── extended-class-methods.ts │ │ │ └── module-aliased-name.ts │ │ │ └── getters │ │ │ └── swift-interface-impl.ts │ ├── .prettierrc │ ├── references.d.ts │ ├── typings │ │ └── android │ │ │ └── android-declarations.d.ts │ ├── README.md │ ├── polyfills │ │ └── react.js │ ├── nativescript.webpack.js │ ├── tsconfig.json │ ├── .eslintrc.json │ ├── src │ │ ├── android │ │ │ └── js-modules.ts │ │ └── ios │ │ │ └── bridge.ts │ ├── scripts │ │ └── native_modules.gradle │ └── package.json ├── webview │ ├── references.d.ts │ ├── README.md │ ├── tsconfig.json │ ├── .eslintrc.json │ └── utils.ts └── react-native-module-test │ ├── references.d.ts │ ├── babel.config.js │ ├── ios │ ├── ModuleTestViewManager.h │ ├── RNTestModule.h │ └── ModuleTestViewManager.m │ ├── android │ └── src │ │ └── main │ │ ├── AndroidManifest.xml │ │ └── java │ │ └── com │ │ └── testmodule │ │ ├── RNKtTestModule.kt │ │ └── RNTestModulePackage.java │ ├── index.ts │ ├── react-native-module-test.podspec │ ├── README.md │ ├── .eslintrc.json │ ├── tsconfig.json │ ├── package.json │ └── .gitignore ├── .nxignore ├── apps ├── demo │ ├── scripts │ │ └── .gitkeep │ ├── src │ │ ├── plugin-demos │ │ │ ├── .gitkeep │ │ │ ├── view.ts │ │ │ ├── example.jsx │ │ │ ├── react-native-module-test.ts │ │ │ ├── react-native-module-test.xml │ │ │ ├── core.ts │ │ │ └── core.xml │ │ ├── app-root.xml │ │ ├── app.css │ │ ├── main-page.ts │ │ ├── main-view-model.ts │ │ ├── main-page.xml │ │ └── app.ts │ ├── references.d.ts │ ├── .eslintrc.json │ ├── application.android.ts │ ├── tailwind.config.js │ ├── nativescript.config.ts │ ├── tsconfig.json │ ├── .gitignore │ ├── package.json │ └── webpack.config.js └── demo-react-native │ ├── .ruby-version │ ├── .watchmanconfig │ ├── app.json │ ├── .bundle │ └── config │ ├── babel.config.js │ ├── .prettierrc.js │ ├── android │ ├── app │ │ ├── src │ │ │ ├── main │ │ │ │ ├── res │ │ │ │ │ ├── values │ │ │ │ │ │ ├── strings.xml │ │ │ │ │ │ └── styles.xml │ │ │ │ │ ├── mipmap-hdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-mdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ ├── mipmap-xxhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ │ └── mipmap-xxxhdpi │ │ │ │ │ │ ├── ic_launcher.png │ │ │ │ │ │ └── ic_launcher_round.png │ │ │ │ └── java │ │ │ │ │ └── com │ │ │ │ │ └── example │ │ │ │ │ └── MainActivity.kt │ │ │ └── debug │ │ │ │ └── AndroidManifest.xml │ │ ├── debug.keystore │ │ ├── proguard-rules.pro │ │ └── build_defs.bzl │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ └── settings.gradle │ ├── ios │ ├── example │ │ ├── Images.xcassets │ │ │ ├── Contents.json │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ └── example-Bridging-Header.h │ ├── src │ │ ├── RNTestModule.h │ │ └── RNTestModule.m │ ├── example.xcodeproj │ │ └── project.xcworkspace │ │ │ └── contents.xcworkspacedata │ ├── example.xcworkspace │ │ ├── contents.xcworkspacedata │ │ └── xcshareddata │ │ │ └── IDEWorkspaceChecks.plist │ └── Podfile │ ├── .buckconfig │ ├── Gemfile │ ├── index.js │ ├── react-native.config.js │ ├── .eslintrc.json │ ├── tsconfig.json │ ├── metro.config.js │ └── .gitignore ├── docs_md ├── _include │ ├── .nojekyll │ ├── CNAME │ ├── _head.html │ ├── logo.png │ ├── favicon.ico │ ├── multidex-error.png │ ├── finding-modules.png │ ├── gzip-example-ios.png │ ├── terminal-picture.png │ ├── gzip-example-android.png │ ├── deviceinfo-example-ios.png │ ├── deviceinfo-example-android.png │ └── fonts │ │ ├── fira-code-v21-latin-regular.ttf │ │ ├── fira-code-v21-latin-regular.woff │ │ ├── fira-code-v21-latin-regular.woff2 │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2 │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2 │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2 │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2 │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2 │ │ ├── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff │ │ └── open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2 └── finding-modules.md ├── tools ├── schematics │ └── .gitkeep ├── demo │ ├── utils │ │ ├── index.ts │ │ └── demo-base.ts │ ├── references.d.ts │ ├── index.ts │ ├── react-native-module-test │ │ └── index.ts │ └── tsconfig.json ├── assets │ ├── publishing │ │ └── .npmignore │ ├── App_Resources │ │ ├── iOS │ │ │ ├── icon.png │ │ │ ├── icon@2x.png │ │ │ ├── Assets.xcassets │ │ │ │ ├── Contents.json │ │ │ │ ├── AppIcon.appiconset │ │ │ │ │ ├── icon-20.png │ │ │ │ │ ├── icon-29.png │ │ │ │ │ ├── icon-40.png │ │ │ │ │ ├── icon-76.png │ │ │ │ │ ├── icon-1024.png │ │ │ │ │ ├── icon-20@2x.png │ │ │ │ │ ├── icon-20@3x.png │ │ │ │ │ ├── icon-29@2x.png │ │ │ │ │ ├── icon-29@3x.png │ │ │ │ │ ├── icon-40@2x.png │ │ │ │ │ ├── icon-40@3x.png │ │ │ │ │ ├── icon-60@2x.png │ │ │ │ │ ├── icon-60@3x.png │ │ │ │ │ ├── icon-76@2x.png │ │ │ │ │ └── icon-83.5@2x.png │ │ │ │ ├── LaunchScreen.Center.imageset │ │ │ │ │ ├── LaunchScreen-Center.png │ │ │ │ │ ├── LaunchScreen-Center@2x.png │ │ │ │ │ ├── LaunchScreen-Center@3x.png │ │ │ │ │ └── Contents.json │ │ │ │ └── LaunchScreen.AspectFill.imageset │ │ │ │ │ ├── LaunchScreen-AspectFill.png │ │ │ │ │ ├── LaunchScreen-AspectFill@2x.png │ │ │ │ │ ├── LaunchScreen-AspectFill@3x.png │ │ │ │ │ └── Contents.json │ │ │ ├── Podfile │ │ │ └── build.xcconfig │ │ └── Android │ │ │ ├── src │ │ │ └── main │ │ │ │ └── res │ │ │ │ ├── values-v21 │ │ │ │ ├── colors.xml │ │ │ │ └── styles.xml │ │ │ │ ├── drawable-hdpi │ │ │ │ ├── icon.png │ │ │ │ ├── logo.png │ │ │ │ └── background.png │ │ │ │ ├── drawable-ldpi │ │ │ │ ├── icon.png │ │ │ │ ├── logo.png │ │ │ │ └── background.png │ │ │ │ ├── drawable-mdpi │ │ │ │ ├── icon.png │ │ │ │ ├── logo.png │ │ │ │ └── background.png │ │ │ │ ├── drawable-xhdpi │ │ │ │ ├── icon.png │ │ │ │ ├── logo.png │ │ │ │ └── background.png │ │ │ │ ├── drawable-xxhdpi │ │ │ │ ├── icon.png │ │ │ │ ├── logo.png │ │ │ │ └── background.png │ │ │ │ ├── drawable-xxxhdpi │ │ │ │ ├── icon.png │ │ │ │ ├── logo.png │ │ │ │ └── background.png │ │ │ │ ├── values │ │ │ │ └── colors.xml │ │ │ │ └── drawable-nodpi │ │ │ │ └── splash_screen.xml │ │ │ ├── settings.gradle │ │ │ ├── before-plugins.gradle │ │ │ └── app.gradle │ └── README.md ├── tsconfig.tools.json ├── package-settings.json └── scripts │ └── prepare-for-npm.ts ├── babel.config.json ├── .npsrc ├── .github └── FUNDING.yml ├── readme-img └── promise-performance.png ├── jest.config.ts ├── .travis.yml ├── .prettierrc ├── .prettierignore ├── typings.sh ├── .editorconfig ├── references.d.ts ├── docgen.yaml ├── patches └── react-native+0.74.3.patch ├── nx.json ├── tsconfig.base.json └── LICENSE /docs/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /.nxignore: -------------------------------------------------------------------------------- 1 | apps/**/*_off -------------------------------------------------------------------------------- /apps/demo/scripts/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/CNAME: -------------------------------------------------------------------------------- 1 | open-native.org -------------------------------------------------------------------------------- /docs_md/_include/.nojekyll: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tools/schematics/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/demo/src/plugin-demos/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs_md/_include/CNAME: -------------------------------------------------------------------------------- 1 | open-native.org -------------------------------------------------------------------------------- /packages/core/react-android/README.md: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /apps/demo-react-native/.ruby-version: -------------------------------------------------------------------------------- 1 | 2.7.5 2 | -------------------------------------------------------------------------------- /apps/demo-react-native/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /packages/core/react-android/.idea/.name: -------------------------------------------------------------------------------- 1 | React Example -------------------------------------------------------------------------------- /packages/core/react-android/bridge/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /packages/core/react-android/bridge/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /packages/core/react-android/react/.gitignore: -------------------------------------------------------------------------------- 1 | /build -------------------------------------------------------------------------------- /packages/core/react-android/react/consumer-rules.pro: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /babel.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "babelrcRoots": ["*"] 3 | } 4 | -------------------------------------------------------------------------------- /tools/demo/utils/index.ts: -------------------------------------------------------------------------------- 1 | export * from './demo-base'; 2 | -------------------------------------------------------------------------------- /.npsrc: -------------------------------------------------------------------------------- 1 | { 2 | "config": "./tools/workspace-scripts.js" 3 | } -------------------------------------------------------------------------------- /apps/demo/references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/demo/src/app-root.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /packages/webview/references.d.ts: -------------------------------------------------------------------------------- 1 | /// -------------------------------------------------------------------------------- /tools/assets/publishing/.npmignore: -------------------------------------------------------------------------------- 1 | __ivy_ngcc__ 2 | *.__ivy_ngcc_bak 3 | *.tgz -------------------------------------------------------------------------------- /tools/demo/references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/demo/src/app.css: -------------------------------------------------------------------------------- 1 | @tailwind base; 2 | @tailwind components; 3 | @tailwind utilities; -------------------------------------------------------------------------------- /docs/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/logo.png -------------------------------------------------------------------------------- /packages/core/postinstall.js: -------------------------------------------------------------------------------- 1 | require('@nativescript/hook')(__dirname).postinstall(); 2 | -------------------------------------------------------------------------------- /docs/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/favicon.ico -------------------------------------------------------------------------------- /docs_md/_include/_head.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/core/preuninstall.js: -------------------------------------------------------------------------------- 1 | require('@nativescript/hook')(__dirname).preuninstall(); 2 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: OpenNative 4 | -------------------------------------------------------------------------------- /apps/demo-react-native/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "example", 3 | "displayName": "example" 4 | } 5 | -------------------------------------------------------------------------------- /packages/core/react-android/.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /packages/react-native-module-test/references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /apps/demo-react-native/.bundle/config: -------------------------------------------------------------------------------- 1 | BUNDLE_PATH: "vendor/bundle" 2 | BUNDLE_FORCE_RUBY_PLATFORM: 1 3 | -------------------------------------------------------------------------------- /docs/finding-modules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/finding-modules.png -------------------------------------------------------------------------------- /docs/gzip-example-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/gzip-example-ios.png -------------------------------------------------------------------------------- /docs/multidex-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/multidex-error.png -------------------------------------------------------------------------------- /docs/terminal-picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/terminal-picture.png -------------------------------------------------------------------------------- /docs_md/_include/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/logo.png -------------------------------------------------------------------------------- /packages/core/platforms/ios/lib_core/React/CoreModules/CoreModulesPlugins.h: -------------------------------------------------------------------------------- 1 | #import 2 | -------------------------------------------------------------------------------- /docs/gzip-example-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/gzip-example-android.png -------------------------------------------------------------------------------- /docs_md/_include/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/favicon.ico -------------------------------------------------------------------------------- /docs/deviceinfo-example-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/deviceinfo-example-ios.png -------------------------------------------------------------------------------- /apps/demo-react-native/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | } 4 | -------------------------------------------------------------------------------- /docs/deviceinfo-example-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/deviceinfo-example-android.png -------------------------------------------------------------------------------- /docs_md/_include/multidex-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/multidex-error.png -------------------------------------------------------------------------------- /readme-img/promise-performance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/readme-img/promise-performance.png -------------------------------------------------------------------------------- /docs_md/_include/finding-modules.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/finding-modules.png -------------------------------------------------------------------------------- /docs_md/_include/gzip-example-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/gzip-example-ios.png -------------------------------------------------------------------------------- /docs_md/_include/terminal-picture.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/terminal-picture.png -------------------------------------------------------------------------------- /jest.config.ts: -------------------------------------------------------------------------------- 1 | const { getJestProjects } = require('@nx/jest'); 2 | 3 | export default { projects: [...getJestProjects()] }; 4 | -------------------------------------------------------------------------------- /packages/core/platforms/ios/lib_community/RNPodspecs.m: -------------------------------------------------------------------------------- 1 | #import "RNPodspecs.h" 2 | 3 | @implementation RNPodspecs 4 | 5 | @end 6 | -------------------------------------------------------------------------------- /tools/demo/index.ts: -------------------------------------------------------------------------------- 1 | export * from './utils'; 2 | export * from './open-native'; 3 | export * from './react-native-module-test'; 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 'node' 4 | script: 5 | - npm run setup 6 | - npm start @open-native.build-all 7 | -------------------------------------------------------------------------------- /apps/demo-react-native/.prettierrc.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | jsxSingleQuote: true, 3 | semi: false, 4 | singleQuote: true, 5 | } 6 | -------------------------------------------------------------------------------- /packages/react-native-module-test/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/icon.png -------------------------------------------------------------------------------- /docs/fonts/fira-code-v21-latin-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/fira-code-v21-latin-regular.ttf -------------------------------------------------------------------------------- /docs_md/_include/gzip-example-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/gzip-example-android.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/icon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/icon@2x.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | example 3 | 4 | -------------------------------------------------------------------------------- /apps/demo-react-native/ios/example/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "version": 1, 4 | "author": "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /docs/fonts/fira-code-v21-latin-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/fira-code-v21-latin-regular.woff -------------------------------------------------------------------------------- /docs/fonts/fira-code-v21-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/fira-code-v21-latin-regular.woff2 -------------------------------------------------------------------------------- /docs_md/_include/deviceinfo-example-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/deviceinfo-example-ios.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info": { 3 | "version": 1, 4 | "author": "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "jsxSingleQuote": true, 3 | "printWidth": 800, 4 | "singleQuote": true, 5 | "tabWidth": 2, 6 | "useTabs": false 7 | } 8 | -------------------------------------------------------------------------------- /docs_md/_include/deviceinfo-example-android.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/deviceinfo-example-android.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/debug.keystore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/debug.keystore -------------------------------------------------------------------------------- /apps/demo-react-native/ios/src/RNTestModule.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface RNTestModule : NSObject 4 | 5 | @end -------------------------------------------------------------------------------- /packages/core/Libraries/TurboModule/RCTExport.ts: -------------------------------------------------------------------------------- 1 | // eslint-disable-next-line @typescript-eslint/no-empty-interface 2 | export interface TurboModule {} 3 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | # Add files here to ignore them from prettier formatting 2 | 3 | /dist 4 | /coverage 5 | native-src 6 | 7 | /.nx/workspace-data 8 | /.nx/cache -------------------------------------------------------------------------------- /packages/react-native-module-test/ios/ModuleTestViewManager.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface ModuleTestViewManager : RCTViewManager 4 | @end -------------------------------------------------------------------------------- /packages/react-native-module-test/ios/RNTestModule.h: -------------------------------------------------------------------------------- 1 | #import 2 | 3 | @interface RNTestModule : NSObject 4 | 5 | @end -------------------------------------------------------------------------------- /docs_md/_include/fonts/fira-code-v21-latin-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/fira-code-v21-latin-regular.ttf -------------------------------------------------------------------------------- /docs_md/_include/fonts/fira-code-v21-latin-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/fira-code-v21-latin-regular.woff -------------------------------------------------------------------------------- /apps/demo-react-native/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /docs_md/_include/fonts/fira-code-v21-latin-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/fira-code-v21-latin-regular.woff2 -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/bridge/JSIModule.java: -------------------------------------------------------------------------------- 1 | package com.facebook.react.bridge; 2 | 3 | public interface JSIModule { 4 | } 5 | -------------------------------------------------------------------------------- /apps/demo/src/plugin-demos/view.ts: -------------------------------------------------------------------------------- 1 | import { requireNativeComponent } from 'react-native'; 2 | 3 | export const ModuleTestView = requireNativeComponent('ModuleTestView'); 4 | -------------------------------------------------------------------------------- /packages/core/react-android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/packages/core/react-android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /apps/demo-react-native/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /packages/core/hooks/index.ts: -------------------------------------------------------------------------------- 1 | import prepare = require('./before-prepare'); 2 | import prepareNativeApp = require('./before-prepareNativeApp'); 3 | export { prepare, prepareNativeApp }; 4 | -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/uimanager/ReactShadowNode.java: -------------------------------------------------------------------------------- 1 | package com.facebook.react.uimanager; 2 | 3 | public class ReactShadowNode { 4 | } 5 | -------------------------------------------------------------------------------- /packages/react-native-module-test/android/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/values-v21/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #3d5afe 4 | -------------------------------------------------------------------------------- /packages/core/.prettierrc: -------------------------------------------------------------------------------- 1 | { 2 | "bracketSpacing": true, 3 | "printWidth": 80, 4 | "singleQuote": true, 5 | "tabWidth": 2, 6 | "trailingComma": "es5", 7 | "useTabs": false 8 | } 9 | -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/bridge/JavaScriptModule.java: -------------------------------------------------------------------------------- 1 | package com.facebook.react.bridge; 2 | 3 | public interface JavaScriptModule { 4 | 5 | } 6 | -------------------------------------------------------------------------------- /packages/core/references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | /// 4 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-hdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-hdpi/icon.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-hdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-hdpi/logo.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-ldpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-ldpi/icon.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-ldpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-ldpi/logo.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-mdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-mdpi/icon.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-mdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-mdpi/logo.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xhdpi/icon.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xhdpi/logo.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xxhdpi/icon.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xxhdpi/logo.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xxxhdpi/icon.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xxxhdpi/logo.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-hdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-hdpi/background.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-ldpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-ldpi/background.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-mdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-mdpi/background.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xhdpi/background.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /packages/core/Libraries/EventEmitter/RCTDeviceEventEmitter.ts: -------------------------------------------------------------------------------- 1 | import EventEmitter from '../vendor/emitter/EventEmitter'; 2 | const DeviceEventEmitter = new EventEmitter(); 3 | export default DeviceEventEmitter; 4 | -------------------------------------------------------------------------------- /packages/core/react-android/react/settings.gradle: -------------------------------------------------------------------------------- 1 | 2 | // In a real world project, this would link to node_modules/react-native-*/android folder. Right now we will link 3 | // everything locally for development. 4 | -------------------------------------------------------------------------------- /packages/core/typings/android/android-declarations.d.ts: -------------------------------------------------------------------------------- 1 | declare module androidNative { export class Array { constructor(); length: number; [index: number]: T; } } 2 | 3 | import globalAndroid = android; 4 | 5 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xxhdpi/background.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/Android/src/main/res/drawable-xxxhdpi/background.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-1024.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@2x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-20@3x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@2x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-29@3x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@2x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-40@3x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@2x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-60@3x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-76@2x.png -------------------------------------------------------------------------------- /apps/demo-react-native/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.7.5' 5 | 6 | gem 'cocoapods', '~> 1.11', '>= 1.11.2' 7 | -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/settings.gradle: -------------------------------------------------------------------------------- 1 | apply from: new File(["node", "--print", "require.resolve('@open-native/core/package.json')"].execute(null, rootDir).text.trim(), "../scripts/native_modules.gradle"); 2 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/AppIcon.appiconset/icon-83.5@2x.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/apps/demo-react-native/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png -------------------------------------------------------------------------------- /packages/webview/README.md: -------------------------------------------------------------------------------- 1 | # @open-native/webview 2 | 3 | ```javascript 4 | npm install @open-native/webview 5 | ``` 6 | 7 | ## Usage 8 | 9 | // TODO 10 | 11 | ## License 12 | 13 | Apache License Version 2.0 14 | -------------------------------------------------------------------------------- /packages/core/react-android/bridge/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/core/react-android/.idea/compiler.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /tools/demo/utils/demo-base.ts: -------------------------------------------------------------------------------- 1 | import { Observable } from '@nativescript/core'; 2 | 3 | export class DemoSharedBase extends Observable { 4 | // in case you want to globally control how your shared demo code works across whole workspace 5 | } 6 | -------------------------------------------------------------------------------- /apps/demo-react-native/ios/example.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/bridge/JavaScriptContextHolder.java: -------------------------------------------------------------------------------- 1 | package com.facebook.react.bridge; 2 | 3 | public class JavaScriptContextHolder { 4 | 5 | public int get() { 6 | return 1; 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/uimanager/UIBlock.java: -------------------------------------------------------------------------------- 1 | package com.facebook.react.uimanager; 2 | 3 | public interface UIBlock { 4 | public void execute(NativeViewHierarchyManager nativeViewHierarchyManager); 5 | } 6 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@2x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.Center.imageset/LaunchScreen-Center@3x.png -------------------------------------------------------------------------------- /tools/assets/README.md: -------------------------------------------------------------------------------- 1 | Assets shared across multiple targets in the workspace to reduce filesize of the repo as well as reduce maintenance costs of duplicate assets. 2 | 3 | - `App_Resources`: All `e2e` app harnesses share the same App_Resources from here. 4 | -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff -------------------------------------------------------------------------------- /packages/react-native-module-test/index.ts: -------------------------------------------------------------------------------- 1 | // This npm module is purely to hold some native dependencies (see the platforms 2 | // directory), so we'll just put a placeholder JS module here in case the 3 | // situation changes in future. 4 | export default {}; 5 | -------------------------------------------------------------------------------- /apps/demo-react-native/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import { AppRegistry } from 'react-native' 6 | 7 | import { name as appName } from './app.json' 8 | import App from './src/App' 9 | 10 | AppRegistry.registerComponent(appName, () => App) 11 | -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2 -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2 -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/bridge/ReactModuleWithSpec.java: -------------------------------------------------------------------------------- 1 | package com.facebook.react.bridge; 2 | 3 | import com.facebook.proguard.annotations.DoNotStrip; 4 | 5 | @DoNotStrip 6 | public interface ReactModuleWithSpec { 7 | } 8 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill.png -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2 -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2 -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/turbomodule/core/interfaces/TurboModule.java: -------------------------------------------------------------------------------- 1 | package com.facebook.react.turbomodule.core.interfaces; 2 | 3 | public interface TurboModule { 4 | void initialize(); 5 | 6 | void invalidate(); 7 | } 8 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/before-plugins.gradle: -------------------------------------------------------------------------------- 1 | apply from: new File(["node", "--print", "require.resolve('@open-native/core/package.json')"].execute(null, rootDir).text.trim(), "../scripts/open-native.gradle"); 2 | 3 | ext { 4 | okHttpVersion = "4.9.2" 5 | } 6 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@2x.png -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/tools/assets/App_Resources/iOS/Assets.xcassets/LaunchScreen.AspectFill.imageset/LaunchScreen-AspectFill@3x.png -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2 -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff -------------------------------------------------------------------------------- /docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2 -------------------------------------------------------------------------------- /apps/demo-react-native/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-all.zip 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | -------------------------------------------------------------------------------- /apps/demo/src/main-page.ts: -------------------------------------------------------------------------------- 1 | import { EventData, Page } from '@nativescript/core'; 2 | import { MainViewModel } from './main-view-model'; 3 | 4 | export function navigatingTo(args: EventData) { 5 | const page = args.object; 6 | page.bindingContext = new MainViewModel(); 7 | } 8 | -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.ttf -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.ttf -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff -------------------------------------------------------------------------------- /apps/demo-react-native/ios/example/example-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to 3 | // expose to Swift. 4 | // 5 | 6 | #import 7 | #import 8 | #import 9 | -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600.woff2 -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700.woff2 -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.ttf -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.ttf -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/common/build/ReactBuildConfig.java: -------------------------------------------------------------------------------- 1 | package com.facebook.react.common.build; 2 | 3 | 4 | public class ReactBuildConfig { 5 | public static boolean DEBUG = true; 6 | public static boolean IS_INTERNAL_BUILD = false; 7 | } 8 | -------------------------------------------------------------------------------- /apps/demo/src/main-view-model.ts: -------------------------------------------------------------------------------- 1 | import { Observable, Frame } from '@nativescript/core'; 2 | 3 | export class MainViewModel extends Observable { 4 | viewDemo(args) { 5 | Frame.topmost().navigate({ 6 | moduleName: `plugin-demos/${args.object.text}`, 7 | }); 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.ttf -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.ttf -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-italic.woff2 -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-regular.woff2 -------------------------------------------------------------------------------- /tools/demo/react-native-module-test/index.ts: -------------------------------------------------------------------------------- 1 | import { DemoSharedBase } from '../utils'; 2 | import {} from 'react-native-module-test'; 3 | 4 | export class DemoSharedReactNativeModuleTest extends DemoSharedBase { 5 | testIt() { 6 | console.log('test react-native-module-test!'); 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-600italic.woff2 -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff -------------------------------------------------------------------------------- /docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/OpenNative/open-native/HEAD/docs_md/_include/fonts/open-sans-v34-vietnamese_latin-ext_latin_hebrew_greek-ext_greek_cyrillic-ext_cyrillic-700italic.woff2 -------------------------------------------------------------------------------- /packages/webview/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "../../dist/out-tsc", 5 | "rootDir": "." 6 | }, 7 | "exclude": ["**/*.spec.ts", "**/*.test.ts", "angular"], 8 | "include": ["**/*.ts", "references.d.ts"] 9 | } 10 | -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/java/com/example/MainActivity.kt: -------------------------------------------------------------------------------- 1 | package com.example 2 | 3 | import com.facebook.react.ReactActivity 4 | 5 | class MainActivity : ReactActivity() { 6 | 7 | override fun getMainComponentName(): String? { 8 | return "example" 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /packages/core/hooks/android/getters/project-name.ts: -------------------------------------------------------------------------------- 1 | /** 2 | * Create a valid Android project name that corresponds uniquely to the npm 3 | * package name. 4 | */ 5 | export function createAndroidPackageName(npmPackageName: string) { 6 | return npmPackageName.replace(/@/g, '').replace(/\//g, '_'); 7 | } 8 | -------------------------------------------------------------------------------- /packages/core/react-android/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /typings.sh: -------------------------------------------------------------------------------- 1 | # Change directory to root of monorepo (where this file is) 2 | cd "$(dirname "${BASH_SOURCE[0]}")" 3 | 4 | cd apps/demo/ && ns typings android --aar ../../packages/core/platforms/android/react.aar && rm -rf ../../packages/core/typings/android && cp -r typings/android ../../packages/core/typings && cd ../../ -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # Editor configuration, see http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | charset = utf-8 6 | indent_style = space 7 | indent_size = 2 8 | insert_final_newline = true 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | max_line_length = off 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /packages/core/react-android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Sun Aug 28 18:06:55 PKT 2022 2 | distributionBase=GRADLE_USER_HOME 3 | distributionUrl=https\://services.gradle.org/distributions/gradle-7.3.3-bin.zip 4 | distributionPath=wrapper/dists 5 | zipStorePath=wrapper/dists 6 | zipStoreBase=GRADLE_USER_HOME 7 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/values/colors.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | #F5F5F5 4 | #757575 5 | #33B5E5 6 | #272734 7 | -------------------------------------------------------------------------------- /references.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | /// 3 | /// 4 | /// 5 | -------------------------------------------------------------------------------- /tools/tsconfig.tools.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../tsconfig.base.json", 3 | "compilerOptions": { 4 | "outDir": "../dist/out-tsc/tools", 5 | "rootDir": ".", 6 | "module": "commonjs", 7 | "target": "es5", 8 | "types": ["node"] 9 | }, 10 | "include": ["**/*.ts"], 11 | "exclude": ["demo"] 12 | } 13 | -------------------------------------------------------------------------------- /packages/core/react-android/.gitignore: -------------------------------------------------------------------------------- 1 | *.iml 2 | .gradle 3 | /local.properties 4 | /.idea/caches 5 | /.idea/libraries 6 | /.idea/modules.xml 7 | /.idea/workspace.xml 8 | /.idea/navEditor.xml 9 | /.idea/assetWizardSettings.xml 10 | .DS_Store 11 | /build 12 | /captures 13 | .externalNativeBuild 14 | .cxx 15 | local.properties 16 | -------------------------------------------------------------------------------- /apps/demo-react-native/ios/example.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /apps/demo/src/plugin-demos/example.jsx: -------------------------------------------------------------------------------- 1 | export const Home = () => { 2 | return ( 3 | 4 | 11 | 12 | ); 13 | }; 14 | -------------------------------------------------------------------------------- /packages/core/platforms/ios/lib_core/React/Base/RCTBundleManager.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 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 | @interface RCTBundleManager : NSObject 9 | 10 | @end 11 | -------------------------------------------------------------------------------- /apps/demo-react-native/ios/example.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/iOS/Podfile: -------------------------------------------------------------------------------- 1 | platform :ios, '14.0' 2 | 3 | post_install do |installer| 4 | installer.pods_project.targets.each do |target| 5 | target.build_configurations.each do |config| 6 | config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '14.0' 7 | config.build_settings['CODE_SIGNING_ALLOWED'] = 'NO' 8 | end 9 | end 10 | end -------------------------------------------------------------------------------- /packages/core/Libraries/TurboModule/TurboModuleRegistry.ts: -------------------------------------------------------------------------------- 1 | import { TurboModule } from './RCTExport'; 2 | 3 | export const get = (name: string): T => { 4 | return global.__turboModulesProxy?.[name]; 5 | }; 6 | 7 | export const getEnforcing = (name: string): T => { 8 | return global.__turboModulesProxy?.[name]; 9 | }; 10 | -------------------------------------------------------------------------------- /apps/demo-react-native/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /packages/core/platforms/ios/lib_core/React/Base/RCTRootView.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Facebook, Inc. and its affiliates. 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 | #import "RCTRootView.h" 9 | #import "UIView+React.h" 10 | 11 | @implementation RCTRootView 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /packages/core/README.md: -------------------------------------------------------------------------------- 1 | # @open-native/core 2 | 3 | The Open Native core library. Head over to our [documentation](https://opennative.github.io/open-native/) to learn how you can use Native Modules in your NativeScript app with Open Native. 4 | 5 | ## Installation 6 | 7 | Install the library from npm 8 | 9 | ``` 10 | npm install @open-native/core 11 | ``` 12 | 13 | # 14 | ## MIT License 15 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/src/main/res/drawable-nodpi/splash_screen.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /packages/core/hooks/android/getters/module-import-path.ts: -------------------------------------------------------------------------------- 1 | const MODULE_IMPORT_PATH_REGEX = /(?<=package ).*(?=(;|\n))/gm; 2 | /** 3 | * Get the module's import path from module file contents. 4 | * @param moduleContents 5 | * @returns 6 | */ 7 | export function getModuleImportPath(moduleContents: string) { 8 | return moduleContents.match(MODULE_IMPORT_PATH_REGEX)?.[0].replace(/;/gm, ''); 9 | } 10 | -------------------------------------------------------------------------------- /packages/core/platforms/ios/lib_core/React/Base/RCTInitializing.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Facebook, Inc. and its affiliates. 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 | #import 9 | 10 | @protocol RCTInitializing 11 | 12 | - (void)initialize; 13 | 14 | @end -------------------------------------------------------------------------------- /packages/core/platforms/ios/lib_core/React/Base/RCTInvalidating.h: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 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 | #import 9 | 10 | @protocol RCTInvalidating 11 | 12 | - (void)invalidate; 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /apps/demo/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*", "node_modules/**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /apps/demo-react-native/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'example' 2 | apply from: file("../../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings) 3 | 4 | include ':react-native-module-test' 5 | project(':react-native-module-test').projectDir = new File(rootProject.projectDir, '../../../packages/react-native-module-test/android') 6 | 7 | include ':app' 8 | -------------------------------------------------------------------------------- /apps/demo-react-native/ios/src/RNTestModule.m: -------------------------------------------------------------------------------- 1 | #import "RNTestModule.h" 2 | 3 | @implementation RNTestModule 4 | 5 | RCT_EXPORT_MODULE() 6 | 7 | RCT_EXPORT_METHOD(show:(RCTPromiseResolveBlock)resolve withRejecter : (RCTPromiseRejectBlock)reject) 8 | { 9 | NSLog(@"Called RCT Method: show"); 10 | resolve(@"show method invoked"); 11 | } 12 | 13 | - (NSString *)getName 14 | { 15 | return @"RNTestModule"; 16 | } 17 | 18 | @end 19 | -------------------------------------------------------------------------------- /apps/demo/application.android.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable @typescript-eslint/no-unused-vars */ 2 | @NativeClass() 3 | @JavaProxy('com.tns.NativeScriptApplication') 4 | class Application extends com.facebook.react.ReactCustomApplication { 5 | public onCreate(): void { 6 | super.onCreate(); 7 | } 8 | 9 | public attachBaseContext(baseContext: android.content.Context) { 10 | super.attachBaseContext(baseContext); 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /packages/webview/.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["../../.eslintrc.json"], 3 | "ignorePatterns": ["!**/*", "node_modules/**/*"], 4 | "overrides": [ 5 | { 6 | "files": ["*.ts", "*.tsx", "*.js", "*.jsx"], 7 | "rules": {} 8 | }, 9 | { 10 | "files": ["*.ts", "*.tsx"], 11 | "rules": {} 12 | }, 13 | { 14 | "files": ["*.js", "*.jsx"], 15 | "rules": {} 16 | } 17 | ] 18 | } 19 | -------------------------------------------------------------------------------- /tools/assets/App_Resources/Android/app.gradle: -------------------------------------------------------------------------------- 1 | android { 2 | compileSdkVersion 34 3 | defaultConfig { 4 | minSdkVersion 24 5 | targetSdkVersion 34 6 | generatedDensities = [] 7 | manifestPlaceholders = [auth0Domain: "YOUR_AUTH0_DOMAIN", auth0Scheme: "${applicationId}"] 8 | versionName = "1.0.0" 9 | versionCode = 1 10 | } 11 | aaptOptions { 12 | additionalParameters "--no-version-vectors" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /packages/core/platforms/ios/lib_core/React/Views/RCTViewUtils.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 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 | #import "RCTViewUtils.h" 9 | 10 | #import "UIView+React.h" 11 | 12 | UIEdgeInsets RCTContentInsets(UIView *view) 13 | { 14 | return view.safeAreaInsets; 15 | } 16 | -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/common/ReactConstants.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Facebook, Inc. and its affiliates. 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 | package com.facebook.react.common; 9 | 10 | public class ReactConstants { 11 | 12 | public static final String TAG = "ReactNative"; 13 | } 14 | -------------------------------------------------------------------------------- /apps/demo/src/plugin-demos/react-native-module-test.ts: -------------------------------------------------------------------------------- 1 | import { Observable, EventData, Page } from '@nativescript/core'; 2 | import { DemoSharedReactNativeModuleTest } from '@demo/shared'; 3 | import {} from 'react-native-module-test'; 4 | 5 | export function navigatingTo(args: EventData) { 6 | const page = args.object; 7 | page.bindingContext = new DemoModel(); 8 | } 9 | 10 | export class DemoModel extends DemoSharedReactNativeModuleTest {} 11 | -------------------------------------------------------------------------------- /packages/core/platforms/ios/lib_core/React/Base/RCTBundleManager.m: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 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 | #import "RCTBundleManager.h" 9 | #import "RCTAssert.h" 10 | #import "RCTBridge+Private.h" 11 | #import "RCTBridge.h" 12 | 13 | @implementation RCTBundleManager 14 | @end 15 | -------------------------------------------------------------------------------- /packages/core/react-android/react/src/main/java/com/facebook/react/bridge/ReadableType.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (c) Meta Platforms, Inc. and affiliates. 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 | package com.facebook.react.bridge; 9 | public enum ReadableType { 10 | Null, 11 | Boolean, 12 | Number, 13 | String, 14 | Map, 15 | Array, 16 | } 17 | -------------------------------------------------------------------------------- /apps/demo/src/main-page.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |