You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
It did not rename the module name in AppDelegate.mm To Reproduce
#import"AppDelegate.h"
#import<React/RCTBundleURLProvider.h>@implementationAppDelegate
- (BOOL)application:(UIApplication *)applicationdidFinishLaunchingWithOptions:(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 [superapplication:application didFinishLaunchingWithOptions:launchOptions];
}
- (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
{
#if DEBUG
return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#elsereturn [[NSBundlemainBundle] URLForResource:@"main"withExtension:@"jsbundle"];
#endif
}
@end
Screenshots
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
The text was updated successfully, but these errors were encountered:
The issue appears to be that you use the display name from iOS (CFBundleDisplayName) as current name. Which I don't think commonly would be used as a module name here?
Generally I am missing that distinction in your project.
Describe the bug
It did not rename the module name in AppDelegate.mm
To Reproduce
Screenshots
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: