Skip to content

Missing Rename in AppDelegate.mm #288

@finnp

Description

@finnp

Describe the bug
It did not rename the module name in AppDelegate.mm
To Reproduce

#import "AppDelegate.h"

#import <React/RCTBundleURLProvider.h>

@implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
  self.moduleName = @"aiflashcards";
  // You can add your custom initial props in the dictionary below.
  // They will be passed down to the ViewController used by React Native.
  self.initialProps = @{};

  return [super application:application didFinishLaunchingWithOptions:launchOptions];
}

- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
#if DEBUG
  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#else
  return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}

@end

Screenshots
Screenshot 2023-12-01 at 11 52 18

Environment (please complete the following information):

  • operating system: macOS 14.0 Beta (23A5286i)
  • npm version: 8.12.1
  • node version: v18.4.0
  • react-native-rename version: latest
  • react-native version: 0.72.7

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions