Skip to content

Commit

Permalink
Fix entry name
Browse files Browse the repository at this point in the history
  • Loading branch information
qiuxiang committed Aug 29, 2022
1 parent 3d095ae commit dff9c10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
return "RNAMapGeolocation";
return "example";
}

/**
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,4 +140,4 @@ class App extends React.Component {
}
}

AppRegistry.registerComponent("RNAMapGeolocation", () => App);
AppRegistry.registerComponent("example", () => App);
2 changes: 1 addition & 1 deletion ios/RNAMapGeolocation/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
#endif

NSDictionary *initProps = [self prepareInitialProps];
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"RNAMapGeolocation", initProps);
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"example", initProps);

if (@available(iOS 13.0, *)) {
rootView.backgroundColor = [UIColor systemBackgroundColor];
Expand Down

0 comments on commit dff9c10

Please sign in to comment.