Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3393930
D7964.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D7964.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D7964: [native] Remove HelloWorld expo module
Attached
Detach File
Event Timeline
Log In to Comment