Page MenuHomePhabricator

D7964.diff
No OneTemporary

D7964.diff

diff --git a/native/expo-modules/comm-expo-package/android/src/main/java/app/comm/android/expo/HelloWorldModule.kt b/native/expo-modules/comm-expo-package/android/src/main/java/app/comm/android/expo/HelloWorldModule.kt
deleted file mode 100644
--- a/native/expo-modules/comm-expo-package/android/src/main/java/app/comm/android/expo/HelloWorldModule.kt
+++ /dev/null
@@ -1,15 +0,0 @@
-package app.comm.android.expo
-
-import expo.modules.kotlin.modules.Module
-import expo.modules.kotlin.modules.ModuleDefinition
-
-class HelloWorldModule : Module() {
- override fun definition() = ModuleDefinition {
- Name("HelloWorld")
-
- Function("sayHello") {
- "hello"
- }
- }
-}
-
diff --git a/native/expo-modules/comm-expo-package/expo-module.config.json b/native/expo-modules/comm-expo-package/expo-module.config.json
--- a/native/expo-modules/comm-expo-package/expo-module.config.json
+++ b/native/expo-modules/comm-expo-package/expo-module.config.json
@@ -1,13 +1,12 @@
{
"platforms": ["ios", "android"],
"ios": {
- "modules": ["AESCryptoModule", "HelloWorldModule", "ThumbhashModule"]
+ "modules": ["AESCryptoModule", "ThumbhashModule"]
},
"android": {
"modules": [
"app.comm.android.aescrypto.AESCryptoModule",
"app.comm.android.lifecycle.AndroidLifecycleModule",
- "app.comm.android.expo.HelloWorldModule",
"app.comm.android.thumbhash.ThumbhashModule"
]
}
diff --git a/native/expo-modules/comm-expo-package/ios/HelloWorldModule.swift b/native/expo-modules/comm-expo-package/ios/HelloWorldModule.swift
deleted file mode 100644
--- a/native/expo-modules/comm-expo-package/ios/HelloWorldModule.swift
+++ /dev/null
@@ -1,12 +0,0 @@
-import ExpoModulesCore
-
-public class HelloWorldModule: Module {
- public func definition() -> ModuleDefinition {
- Name("HelloWorld")
-
- Function("sayHello") { () -> String in
- "Hello"
- }
- }
-}
-

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 1, 4:34 PM (21 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2605577
Default Alt Text
D7964.diff (1 KB)

Event Timeline