Skip to content

Commit

Permalink
Remove unused code (#415)
Browse files Browse the repository at this point in the history
* chore: remove unused module

* chore: remove unused event
  • Loading branch information
jkoenig134 authored Feb 5, 2025
1 parent 1c29687 commit b0cf129
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 47 deletions.
6 changes: 0 additions & 6 deletions packages/app-runtime/src/AppConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ export function createAppConfig(...configs: (AppConfigOverwrite | AppConfig)[]):
datawalletEnabled: true
},
modules: {
appLaunch: {
name: "appLaunch",
displayName: "App Launch Module",
location: "appLaunch",
enabled: true
},
pushNotification: {
name: "pushNotification",
displayName: "Push Notification Module",
Expand Down
2 changes: 0 additions & 2 deletions packages/app-runtime/src/AppRuntime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import { AppStringProcessor } from "./AppStringProcessor";
import { AccountSelectedEvent } from "./events";
import { AppServices, IUIBridge } from "./extensibility";
import {
AppLaunchModule,
AppRuntimeModuleConfiguration,
AppSyncModule,
IAppRuntimeModuleConstructor,
Expand Down Expand Up @@ -238,7 +237,6 @@ export class AppRuntime extends Runtime<AppConfig> {
}

private static moduleRegistry: Record<string, IAppRuntimeModuleConstructor | undefined> = {
appLaunch: AppLaunchModule,
appSync: AppSyncModule,
identityDeletionProcessStatusChanged: IdentityDeletionProcessStatusChangedModule,
mailReceived: MailReceivedModule,
Expand Down
29 changes: 0 additions & 29 deletions packages/app-runtime/src/modules/appEvents/AppLaunchModule.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/app-runtime/src/modules/appEvents/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./AppLaunchModule";
export * from "./MailReceivedModule";
export * from "./OnboardingChangeReceivedModule";
export * from "./RelationshipTemplateProcessedModule";
8 changes: 0 additions & 8 deletions packages/app-runtime/src/natives/events/UrlOpenEvent.ts

This file was deleted.

1 change: 0 additions & 1 deletion packages/app-runtime/src/natives/events/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
export * from "./AppReadyEvent";
export * from "./RemoteNotificationEvent";
export * from "./RemoteNotificationRegistrationEvent";
export * from "./UrlOpenEvent";

0 comments on commit b0cf129

Please sign in to comment.