@preeternal/react-native-godot 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/LICENSE +22 -0
  2. package/Package.swift +106 -0
  3. package/README.md +590 -2
  4. package/android/build.gradle +291 -0
  5. package/android/consumer-rules.pro +20 -0
  6. package/android/fix-prefab.gradle +54 -0
  7. package/android/src/main/AndroidManifest.xml +2 -0
  8. package/android/src/main/cpp/CMakeLists.txt +78 -0
  9. package/android/src/main/cpp/GodotModule.cpp +764 -0
  10. package/android/src/main/cpp/OnLoad.cpp +66 -0
  11. package/android/src/main/cpp/libgodot_android.h +73 -0
  12. package/android/src/main/cpp/libgodot_jni.cpp +658 -0
  13. package/android/src/main/cpp/libgodot_jni.h +116 -0
  14. package/android/src/main/cpp/native_godot_module_jni.cpp +86 -0
  15. package/android/src/main/cpp/native_godot_module_jni.h +58 -0
  16. package/android/src/main/java/com/preeternal/reactnativegodot/NativeGodotModuleModule.kt +83 -0
  17. package/android/src/main/java/com/preeternal/reactnativegodot/NativeGodotModulePackage.kt +41 -0
  18. package/android/src/main/java/com/preeternal/reactnativegodot/NativeLibraryLoader.kt +5 -0
  19. package/android/src/main/java/com/preeternal/reactnativegodot/RTNGodotIO.kt +123 -0
  20. package/android/src/main/java/com/preeternal/reactnativegodot/RTNGodotView.kt +92 -0
  21. package/android/src/main/java/com/preeternal/reactnativegodot/RTNGodotViewManager.kt +34 -0
  22. package/android/src/main/java/com/preeternal/reactnativegodot/RTNLibGodot.kt +215 -0
  23. package/android/src/main/res/layout/downloading_expansion.xml +165 -0
  24. package/android/src/main/res/layout/godot_app_layout.xml +5 -0
  25. package/android/src/main/res/layout/snackbar.xml +27 -0
  26. package/android/src/main/res/layout/status_bar_ongoing_event_progress_bar.xml +108 -0
  27. package/android/src/main/res/mipmap/icon.png +0 -0
  28. package/android/src/main/res/mipmap/icon_background.png +0 -0
  29. package/android/src/main/res/mipmap/icon_foreground.png +0 -0
  30. package/android/src/main/res/mipmap/icon_monochrome.png +0 -0
  31. package/android/src/main/res/mipmap-anydpi-v26/icon.xml +8 -0
  32. package/android/src/main/res/mipmap-anydpi-v26/themed_icon.xml +11 -0
  33. package/android/src/main/res/mipmap-hdpi/icon.png +0 -0
  34. package/android/src/main/res/mipmap-hdpi/icon_background.png +0 -0
  35. package/android/src/main/res/mipmap-hdpi/icon_foreground.png +0 -0
  36. package/android/src/main/res/mipmap-hdpi/icon_monochrome.png +0 -0
  37. package/android/src/main/res/mipmap-mdpi/icon.png +0 -0
  38. package/android/src/main/res/mipmap-mdpi/icon_background.png +0 -0
  39. package/android/src/main/res/mipmap-mdpi/icon_foreground.png +0 -0
  40. package/android/src/main/res/mipmap-mdpi/icon_monochrome.png +0 -0
  41. package/android/src/main/res/mipmap-xhdpi/icon.png +0 -0
  42. package/android/src/main/res/mipmap-xhdpi/icon_background.png +0 -0
  43. package/android/src/main/res/mipmap-xhdpi/icon_foreground.png +0 -0
  44. package/android/src/main/res/mipmap-xhdpi/icon_monochrome.png +0 -0
  45. package/android/src/main/res/mipmap-xxhdpi/icon.png +0 -0
  46. package/android/src/main/res/mipmap-xxhdpi/icon_background.png +0 -0
  47. package/android/src/main/res/mipmap-xxhdpi/icon_foreground.png +0 -0
  48. package/android/src/main/res/mipmap-xxhdpi/icon_monochrome.png +0 -0
  49. package/android/src/main/res/mipmap-xxxhdpi/icon.png +0 -0
  50. package/android/src/main/res/mipmap-xxxhdpi/icon_background.png +0 -0
  51. package/android/src/main/res/mipmap-xxxhdpi/icon_foreground.png +0 -0
  52. package/android/src/main/res/mipmap-xxxhdpi/icon_monochrome.png +0 -0
  53. package/android/src/main/res/values/dimens.xml +9 -0
  54. package/android/src/main/res/values/strings.xml +61 -0
  55. package/android/src/main/res/values/styles.xml +25 -0
  56. package/android/src/main/res/values-fa/strings.xml +14 -0
  57. package/android/src/main/res/values-ko/strings.xml +54 -0
  58. package/android/src/main/res/xml/godot_provider_paths.xml +15 -0
  59. package/android/src/test/java/com/preeternal/reactnativegodot/NativeGodotModulePackageTest.kt +26 -0
  60. package/app.plugin.js +169 -0
  61. package/cpp/AppleRendererPolicy.h +95 -0
  62. package/cpp/GodotModule.h +126 -0
  63. package/cpp/LibGodotABI.h +52 -0
  64. package/cpp/NativeGodotModule.cpp +825 -0
  65. package/cpp/NativeGodotModule.h +45 -0
  66. package/cpp/godot-log.h +64 -0
  67. package/ios/GodotModule.mm +695 -0
  68. package/ios/NativeGodotModuleProvider.h +35 -0
  69. package/ios/NativeGodotModuleProvider.mm +42 -0
  70. package/ios/RTNGodotView.h +42 -0
  71. package/ios/RTNGodotView.mm +671 -0
  72. package/ios/log.mm +38 -0
  73. package/lib/module/NativeNativeGodotModule.js +59 -0
  74. package/lib/module/NativeNativeGodotModule.js.map +1 -0
  75. package/lib/module/RTNGodotView.js +6 -0
  76. package/lib/module/RTNGodotView.js.map +1 -0
  77. package/lib/module/RTNGodotView.native.js +5 -0
  78. package/lib/module/RTNGodotView.native.js.map +1 -0
  79. package/lib/module/RTNGodotViewNativeComponent.ts +37 -0
  80. package/lib/module/index.js +30 -0
  81. package/lib/module/index.js.map +1 -0
  82. package/lib/module/package.json +1 -0
  83. package/lib/typescript/package.json +1 -0
  84. package/lib/typescript/src/NativeNativeGodotModule.d.ts +26 -0
  85. package/lib/typescript/src/NativeNativeGodotModule.d.ts.map +1 -0
  86. package/lib/typescript/src/RTNGodotView.d.ts +7 -0
  87. package/lib/typescript/src/RTNGodotView.d.ts.map +1 -0
  88. package/lib/typescript/src/RTNGodotView.native.d.ts +3 -0
  89. package/lib/typescript/src/RTNGodotView.native.d.ts.map +1 -0
  90. package/lib/typescript/src/RTNGodotViewNativeComponent.d.ts +11 -0
  91. package/lib/typescript/src/RTNGodotViewNativeComponent.d.ts.map +1 -0
  92. package/lib/typescript/src/index.d.ts +6 -0
  93. package/lib/typescript/src/index.d.ts.map +1 -0
  94. package/package.json +282 -4
  95. package/prebuilt-utils.rb +46 -0
  96. package/react-native-godot.podspec +41 -0
  97. package/react-native.config.js +16 -0
  98. package/scripts/check-16kb.sh +136 -0
  99. package/scripts/check-packaged-artifacts.sh +156 -0
  100. package/scripts/ci/verify-ios-simulator.py +48 -0
  101. package/scripts/ci/verify-prebuilt-install.cjs +41 -0
  102. package/scripts/download-prebuilt.js +283 -0
  103. package/scripts/prebuilt-config.js +80 -0
  104. package/scripts/spm-autolinking-plugin.js +87 -0
  105. package/src/NativeNativeGodotModule.ts +90 -0
  106. package/src/RTNGodotView.native.tsx +2 -0
  107. package/src/RTNGodotView.tsx +12 -0
  108. package/src/RTNGodotViewNativeComponent.ts +37 -0
  109. package/src/index.tsx +28 -0
@@ -0,0 +1,80 @@
1
+ const fs = require('node:fs');
2
+ const path = require('node:path');
3
+
4
+ const packageRoot = path.resolve(__dirname, '..');
5
+ const library = require('../package.json');
6
+
7
+ function findAppPackage(start) {
8
+ let directory = path.resolve(start);
9
+ while (true) {
10
+ const filename = path.join(directory, 'package.json');
11
+ if (fs.existsSync(filename)) {
12
+ const manifest = JSON.parse(fs.readFileSync(filename, 'utf8'));
13
+ if (manifest.name !== library.name) return { filename, manifest };
14
+ }
15
+ const parent = path.dirname(directory);
16
+ if (parent === directory) return null;
17
+ directory = parent;
18
+ }
19
+ }
20
+
21
+ function resolvePrebuiltConfig(appRoot) {
22
+ const start =
23
+ appRoot ||
24
+ process.env.INIT_CWD ||
25
+ process.env.npm_config_local_prefix ||
26
+ process.cwd();
27
+ const app = findAppPackage(start);
28
+ const microphone = app?.manifest.reactNativeGodot?.microphone ?? false;
29
+ if (typeof microphone !== 'boolean') {
30
+ throw new Error(
31
+ 'reactNativeGodot.microphone must be a boolean in the app package.json.'
32
+ );
33
+ }
34
+ return {
35
+ microphone,
36
+ appPackagePath: app?.filename ?? null,
37
+ prebuiltFiles: library.prebuiltFiles.map(({ with_recording, ...entry }) =>
38
+ microphone ? { ...entry, ...with_recording } : entry
39
+ ),
40
+ };
41
+ }
42
+
43
+ // Explicit CLI changes are saved in the app, so later installs and native
44
+ // dependency resolution select the same payload without editing node_modules.
45
+ function setMicrophone(appRoot, microphone) {
46
+ const { appPackagePath } = resolvePrebuiltConfig(appRoot);
47
+ if (!appPackagePath || path.dirname(appPackagePath) === packageRoot) {
48
+ throw new Error(
49
+ 'Run the microphone selector from the consuming app, or pass --app-root <app>.'
50
+ );
51
+ }
52
+ const contents = fs.readFileSync(appPackagePath, 'utf8');
53
+ const manifest = JSON.parse(contents);
54
+ manifest.reactNativeGodot = { ...manifest.reactNativeGodot, microphone };
55
+ const indent = /\n([ \t]+)"/.exec(contents)?.[1] ?? ' ';
56
+ fs.writeFileSync(
57
+ appPackagePath,
58
+ `${JSON.stringify(manifest, null, indent)}\n`
59
+ );
60
+ }
61
+
62
+ function parseArguments(args) {
63
+ const options = {};
64
+ for (let index = 0; index < args.length; index++) {
65
+ const arg = args[index];
66
+ if (arg === '--app-root' && args[index + 1])
67
+ options.appRoot = args[++index];
68
+ else if (arg === '--with-recording') options.microphone = true;
69
+ else if (arg === '--without-recording') options.microphone = false;
70
+ else throw new Error(`Unknown argument: ${arg}`);
71
+ }
72
+ return options;
73
+ }
74
+
75
+ module.exports = { resolvePrebuiltConfig, setMicrophone, parseArguments };
76
+
77
+ if (require.main === module) {
78
+ const { appRoot } = parseArguments(process.argv.slice(2));
79
+ process.stdout.write(JSON.stringify(resolvePrebuiltConfig(appRoot)));
80
+ }
@@ -0,0 +1,87 @@
1
+ const fs = require('node:fs');
2
+ const path = require('node:path');
3
+ const { resolvePrebuiltConfig } = require('./prebuilt-config');
4
+
5
+ const packageRoot = path.resolve(__dirname, '..');
6
+
7
+ module.exports = function godotSpmAutolinkingPlugin(context) {
8
+ const selection = resolvePrebuiltConfig(context.appRoot);
9
+ const iosRoot =
10
+ context.autolinking?.project?.ios?.sourceDir ||
11
+ path.join(context.appRoot, 'ios');
12
+ const manifestRoot = path.join(
13
+ context.outputDir,
14
+ 'plugins',
15
+ 'ReactNativeGodot'
16
+ );
17
+ const relative = (target) =>
18
+ JSON.stringify(
19
+ path.relative(manifestRoot, target).split(path.sep).join('/')
20
+ );
21
+ let manifest = fs.readFileSync(
22
+ path.join(packageRoot, 'Package.swift'),
23
+ 'utf8'
24
+ );
25
+ manifest = manifest.replace(
26
+ '// swift-tools-version: 6.0',
27
+ '// swift-tools-version: 6.0\n// Generated by @preeternal/react-native-godot; do not edit.'
28
+ );
29
+ manifest = manifest.replace(
30
+ /let libGodotVersion = .*\nlet libGodotBaseURL = .*\n/,
31
+ ''
32
+ );
33
+ manifest = manifest.replace(/path: "cpp"/g, 'path: "root/cpp"');
34
+ manifest = manifest.replace(/path: "ios"/g, 'path: "root/ios"');
35
+
36
+ for (const [target, name] of [
37
+ ['LibGodot', 'libgodot'],
38
+ ['LibGodotCpp', 'libgodot-cpp'],
39
+ ]) {
40
+ const entry = selection.prebuiltFiles.find((item) => item.name === name);
41
+ manifest = manifest.replace(
42
+ new RegExp(
43
+ `\\.binaryTarget\\(\\s*name: "${target}",[\\s\\S]*?\\n \\)`
44
+ ),
45
+ `.binaryTarget(\n name: "${target}",\n url: "${entry.base_url}${entry.version}/${entry.filename}",\n checksum: "${entry.shasum}"\n )`
46
+ );
47
+ }
48
+
49
+ // Plugin packages live deeper than ordinary autolinked packages. Resolve all
50
+ // local dependencies from the generated manifest, not the package template.
51
+ const react = context.react?.packageRef;
52
+ const reactDependency = react?.url
53
+ ? `.package(name: "${react.name}", url: "${react.url}", exact: "${react.version}")`
54
+ : `.package(name: "ReactNative", path: ${relative(react?.path || path.join(iosRoot, 'build', 'xcframeworks'))})`;
55
+ manifest = manifest.replace(
56
+ /\.package\(name: "ReactNative", path: "[^"]+"\)/,
57
+ reactDependency
58
+ );
59
+ manifest = manifest.replace(
60
+ /\.package\(name: "React-GeneratedCode", path: "[^"]+"\)/,
61
+ `.package(name: "React-GeneratedCode", path: ${relative(path.join(iosRoot, 'build', 'generated', 'ios'))})`
62
+ );
63
+ manifest = manifest.replace(
64
+ /\.package\(name: "RNWorklets", path: "[^"]+"\)/,
65
+ `.package(name: "RNWorklets", path: ${relative(path.join(context.outputDir, 'libs', 'RNWorklets'))})`
66
+ );
67
+
68
+ fs.mkdirSync(manifestRoot, { recursive: true });
69
+ const rootLink = path.join(manifestRoot, 'root');
70
+ fs.rmSync(rootLink, { force: true });
71
+ fs.symlinkSync(packageRoot, rootLink, 'dir');
72
+ fs.writeFileSync(path.join(manifestRoot, 'Package.swift'), manifest);
73
+
74
+ return {
75
+ packageDependencies: [{ name: 'ReactNativeGodot', path: manifestRoot }],
76
+ productDependencies: [
77
+ { name: 'ReactNativeGodot', package: 'ReactNativeGodot' },
78
+ ],
79
+ watchPaths: [
80
+ path.join(packageRoot, 'Package.swift'),
81
+ path.join(packageRoot, 'package.json'),
82
+ path.join(packageRoot, 'scripts', 'prebuilt-config.js'),
83
+ path.join(packageRoot, 'scripts', 'spm-autolinking-plugin.js'),
84
+ ...(selection.appPackagePath ? [selection.appPackagePath] : []),
85
+ ],
86
+ };
87
+ };
@@ -0,0 +1,90 @@
1
+ /**************************************************************************/
2
+ /* NativeGodotModule.ts */
3
+ /**************************************************************************/
4
+ /* Copyright (c) 2024-2025 Slay GmbH */
5
+ /* */
6
+ /* Permission is hereby granted, free of charge, to any person obtaining */
7
+ /* a copy of this software and associated documentation files (the */
8
+ /* "Software"), to deal in the Software without restriction, including */
9
+ /* without limitation the rights to use, copy, modify, merge, publish, */
10
+ /* distribute, sublicense, and/or sell copies of the Software, and to */
11
+ /* permit persons to whom the Software is furnished to do so, subject to */
12
+ /* the following conditions: */
13
+ /* */
14
+ /* The above copyright notice and this permission notice shall be */
15
+ /* included in all copies or substantial portions of the Software. */
16
+ /* */
17
+ /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
18
+ /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
19
+ /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
20
+ /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
21
+ /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
22
+ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
23
+ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
24
+ /**************************************************************************/
25
+
26
+ import { TurboModuleRegistry, type TurboModule } from 'react-native';
27
+ import {
28
+ createWorkletRuntime,
29
+ runOnRuntimeAsync,
30
+ type WorkletRuntime,
31
+ } from 'react-native-worklets';
32
+
33
+ export interface Spec extends TurboModule {
34
+ installTurboModule(): boolean;
35
+ }
36
+
37
+ const GodotInstaller = TurboModuleRegistry.get<Spec>('NativeGodotModule');
38
+
39
+ export interface GodotModuleInterface {
40
+ createInstance(args: Array<string>): any;
41
+ getInstance(): any;
42
+ API(): any;
43
+ updateWindow(windowName: string, adding: boolean): void;
44
+ pause(): void;
45
+ resume(): void;
46
+ is_paused(): boolean;
47
+ createGodotQueue(): object;
48
+ destroyInstance(): void;
49
+ }
50
+
51
+ declare global {
52
+ var RTNGodot: GodotModuleInterface | undefined; // Godot
53
+ var __godotWorkletRuntime: WorkletRuntime | undefined;
54
+ }
55
+
56
+ if (globalThis.RTNGodot == null) {
57
+ if (GodotInstaller == null) {
58
+ console.error(
59
+ 'Native Godot Module cannot be found! Make sure you correctly ' +
60
+ 'installed native dependencies and rebuilt your app.'
61
+ );
62
+ } else if (!GodotInstaller.installTurboModule()) {
63
+ console.error('NativeGodotModule installation failed.');
64
+ }
65
+ }
66
+
67
+ const installedGodotModule = globalThis.RTNGodot;
68
+ if (installedGodotModule != null && globalThis.__godotWorkletRuntime == null) {
69
+ const godotQueue = installedGodotModule.createGodotQueue();
70
+ globalThis.__godotWorkletRuntime = createWorkletRuntime({
71
+ name: 'ReactNativeGodot',
72
+ queue: godotQueue,
73
+ initializer: () => {
74
+ 'worklet';
75
+ globalThis.RTNGodot = installedGodotModule;
76
+ },
77
+ });
78
+ }
79
+
80
+ export const RTNGodot = globalThis.RTNGodot as GodotModuleInterface;
81
+
82
+ export function runOnGodotThread<T>(f: () => T): Promise<T> {
83
+ const runtime = globalThis.__godotWorkletRuntime;
84
+ if (runtime == null) {
85
+ return Promise.reject(
86
+ new Error('NativeGodotModule worklet runtime is not installed')
87
+ );
88
+ }
89
+ return runOnRuntimeAsync(runtime, f);
90
+ }
@@ -0,0 +1,2 @@
1
+ export { default as RTNGodotView } from './RTNGodotViewNativeComponent';
2
+ export * from './RTNGodotViewNativeComponent';
@@ -0,0 +1,12 @@
1
+ import type { ViewProps } from 'react-native';
2
+
3
+ export type RTNGodotViewProps = ViewProps & {
4
+ windowName?: string;
5
+ onSurfaceReady?: () => void;
6
+ };
7
+
8
+ export function RTNGodotView(_props: RTNGodotViewProps): never {
9
+ throw new Error(
10
+ "'@preeternal/react-native-godot' is only supported on native platforms."
11
+ );
12
+ }
@@ -0,0 +1,37 @@
1
+ /**************************************************************************/
2
+ /* RTNGodotViewNativeComponent.ts */
3
+ /**************************************************************************/
4
+ /* Copyright (c) 2024-2025 Slay GmbH */
5
+ /* */
6
+ /* Permission is hereby granted, free of charge, to any person obtaining */
7
+ /* a copy of this software and associated documentation files (the */
8
+ /* "Software"), to deal in the Software without restriction, including */
9
+ /* without limitation the rights to use, copy, modify, merge, publish, */
10
+ /* distribute, sublicense, and/or sell copies of the Software, and to */
11
+ /* permit persons to whom the Software is furnished to do so, subject to */
12
+ /* the following conditions: */
13
+ /* */
14
+ /* The above copyright notice and this permission notice shall be */
15
+ /* included in all copies or substantial portions of the Software. */
16
+ /* */
17
+ /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
18
+ /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
19
+ /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
20
+ /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
21
+ /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
22
+ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
23
+ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
24
+ /**************************************************************************/
25
+
26
+ import type { CodegenTypes, HostComponent, ViewProps } from 'react-native';
27
+
28
+ import { codegenNativeComponent } from 'react-native';
29
+
30
+ export interface NativeProps extends ViewProps {
31
+ windowName?: string;
32
+ onSurfaceReady?: CodegenTypes.DirectEventHandler<Readonly<{}>>;
33
+ }
34
+
35
+ export default codegenNativeComponent<NativeProps>(
36
+ 'RTNGodotView'
37
+ ) as HostComponent<NativeProps>;
package/src/index.tsx ADDED
@@ -0,0 +1,28 @@
1
+ /**************************************************************************/
2
+ /* index.ts */
3
+ /**************************************************************************/
4
+ /* Copyright (c) 2024-2025 Slay GmbH */
5
+ /* */
6
+ /* Permission is hereby granted, free of charge, to any person obtaining */
7
+ /* a copy of this software and associated documentation files (the */
8
+ /* "Software"), to deal in the Software without restriction, including */
9
+ /* without limitation the rights to use, copy, modify, merge, publish, */
10
+ /* distribute, sublicense, and/or sell copies of the Software, and to */
11
+ /* permit persons to whom the Software is furnished to do so, subject to */
12
+ /* the following conditions: */
13
+ /* */
14
+ /* The above copyright notice and this permission notice shall be */
15
+ /* included in all copies or substantial portions of the Software. */
16
+ /* */
17
+ /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
18
+ /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
19
+ /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
20
+ /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
21
+ /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
22
+ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
23
+ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
24
+ /**************************************************************************/
25
+
26
+ export { RTNGodot, runOnGodotThread } from './NativeNativeGodotModule';
27
+
28
+ export { RTNGodotView } from './RTNGodotView';