Skip to content

Commit d8011f3

Browse files
author
Ahmed Elshaabany
committed
Update ios & android folders
1 parent 4deba9c commit d8011f3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

template.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module.exports = {
22
// Placeholder name that will be replaced in package.json, index.json, android/, ios/ for a project name.
3-
placeholderName: 'ProjectName',
3+
placeholderName: 'HelloWorld',
44

55
// Placeholder title that will be replaced in values.xml and Info.plist with title provided by the user.
66
// We default this value to 'Hello App Display Name', which is default placeholder in react-native template.

template/index.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
import {AppRegistry} from 'react-native';
66
import App from './src/App';
7+
import {name as appName} from './app.json';
78

8-
const APP_NAME = 'ProjectName';
9-
10-
AppRegistry.registerComponent(APP_NAME, () => App);
9+
AppRegistry.registerComponent(appName, () => App);

0 commit comments

Comments
 (0)