Skip to content

Commit 5019590

Browse files
authored
Merge pull request #21 from CodeLanka/rename-app
Renamed the Android and iOS apps to 'EZNet'
2 parents 259580c + d5b53f3 commit 5019590

File tree

24 files changed

+136
-137
lines changed

24 files changed

+136
-137
lines changed

android/app/BUCK

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,13 +46,13 @@ android_library(
4646

4747
android_build_config(
4848
name = 'build_config',
49-
package = 'com.reactnativeproject',
49+
package = 'org.gdgsrilanka.codelanka.eznet',
5050
)
5151

5252
android_resource(
5353
name = 'res',
5454
res = 'src/main/res',
55-
package = 'com.reactnativeproject',
55+
package = 'org.gdgsrilanka.codelanka.eznet',
5656
)
5757

5858
android_binary(

android/app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ android {
8787
buildToolsVersion "23.0.1"
8888

8989
defaultConfig {
90-
applicationId "com.reactnativeproject"
90+
applicationId "org.gdgsrilanka.codelanka.eznet"
9191
minSdkVersion 16
9292
targetSdkVersion 22
9393
versionCode 1

android/app/src/main/AndroidManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.reactnativeproject"
2+
package="org.gdgsrilanka.codelanka.eznet"
33
android:versionCode="1"
44
android:versionName="1.0">
55

android/app/src/main/java/com/reactnativeproject/MainActivity.java renamed to android/app/src/main/java/org/gdgsrilanka/codelanka/eznet/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.reactnativeproject;
1+
package org.gdgsrilanka.codelanka.eznet;
22

33
import com.facebook.react.ReactActivity;
44

@@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
1010
*/
1111
@Override
1212
protected String getMainComponentName() {
13-
return "ReactNativeProject";
13+
return "EZNet";
1414
}
1515
}

android/app/src/main/java/com/reactnativeproject/MainApplication.java renamed to android/app/src/main/java/org/gdgsrilanka/codelanka/eznet/MainApplication.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.reactnativeproject;
1+
package org.gdgsrilanka.codelanka.eznet;
22

33
import android.app.Application;
44
import android.util.Log;
@@ -10,12 +10,11 @@
1010
import com.facebook.react.ReactPackage;
1111
import com.facebook.react.shell.MainReactPackage;
1212
import com.facebook.soloader.SoLoader;
13-
14-
import io.invertase.firebase.RNFirebasePackage;
15-
1613
import java.util.Arrays;
1714
import java.util.List;
1815

16+
import io.invertase.firebase.RNFirebasePackage;
17+
1918
public class MainApplication extends Application implements ReactApplication {
2019

2120
private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<resources>
2-
<string name="app_name">ReactNativeProject</string>
2+
<string name="app_name">EZNet</string>
33
</resources>

android/settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
rootProject.name = 'ReactNativeProject'
1+
rootProject.name = 'EZNet'
22
include ':react-native-vector-icons'
33
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
44
include ':react-native-firebase'

app.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"name": "ReactNativeProject",
3-
"displayName": "ReactNativeProject"
4-
}
2+
"name": "EZNetApp",
3+
"displayName": "EZNetApp"
4+
}

index.android.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ import {
44

55
import Root from './src';
66

7-
AppRegistry.registerComponent('ReactNativeProject', () => Root);
7+
AppRegistry.registerComponent('Root', () => Root);

index.ios.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import {
2-
AppRegistry,
2+
AppRegistry,
33
} from 'react-native';
44

55
import Root from './src';
66

7-
AppRegistry.registerComponent('ReactNativeProject', () => Root);
7+
AppRegistry.registerComponent('Root', () => Root);

0 commit comments

Comments
 (0)