Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions android/app/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -46,13 +46,13 @@ android_library(

android_build_config(
name = 'build_config',
package = 'com.reactnativeproject',
package = 'org.gdgsrilanka.codelanka.eznet',
)

android_resource(
name = 'res',
res = 'src/main/res',
package = 'com.reactnativeproject',
package = 'org.gdgsrilanka.codelanka.eznet',
)

android_binary(
Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ android {
buildToolsVersion "23.0.1"

defaultConfig {
applicationId "com.reactnativeproject"
applicationId "org.gdgsrilanka.codelanka.eznet"
minSdkVersion 16
targetSdkVersion 22
versionCode 1
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.reactnativeproject"
package="org.gdgsrilanka.codelanka.eznet"
android:versionCode="1"
android:versionName="1.0">

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.reactnativeproject;
package org.gdgsrilanka.codelanka.eznet;

import com.facebook.react.ReactActivity;

Expand All @@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
return "ReactNativeProject";
return "EZNet";
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.reactnativeproject;
package org.gdgsrilanka.codelanka.eznet;

import android.app.Application;
import android.util.Log;
Expand All @@ -10,12 +10,11 @@
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
import com.facebook.soloader.SoLoader;

import io.invertase.firebase.RNFirebasePackage;

import java.util.Arrays;
import java.util.List;

import io.invertase.firebase.RNFirebasePackage;

public class MainApplication extends Application implements ReactApplication {

private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) {
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<resources>
<string name="app_name">ReactNativeProject</string>
<string name="app_name">EZNet</string>
</resources>
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
rootProject.name = 'ReactNativeProject'
rootProject.name = 'EZNet'
include ':react-native-vector-icons'
project(':react-native-vector-icons').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-vector-icons/android')
include ':react-native-firebase'
Expand Down
6 changes: 3 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "ReactNativeProject",
"displayName": "ReactNativeProject"
}
"name": "EZNetApp",
"displayName": "EZNetApp"
}
2 changes: 1 addition & 1 deletion index.android.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ import {

import Root from './src';

AppRegistry.registerComponent('ReactNativeProject', () => Root);
AppRegistry.registerComponent('Root', () => Root);
4 changes: 2 additions & 2 deletions index.ios.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {
AppRegistry,
AppRegistry,
} from 'react-native';

import Root from './src';

AppRegistry.registerComponent('ReactNativeProject', () => Root);
AppRegistry.registerComponent('Root', () => Root);
File renamed without changes.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
BuildableName = "ReactNativeProject-tvOS.app"
BlueprintName = "ReactNativeProject-tvOS"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet-tvOS.app"
BlueprintName = "EZNet-tvOS"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
Expand All @@ -43,9 +43,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
BuildableName = "ReactNativeProject-tvOSTests.xctest"
BlueprintName = "ReactNativeProject-tvOSTests"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet-tvOSTests.xctest"
BlueprintName = "EZNet-tvOSTests"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -61,19 +61,19 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
BuildableName = "ReactNativeProject-tvOSTests.xctest"
BlueprintName = "ReactNativeProject-tvOSTests"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet-tvOSTests.xctest"
BlueprintName = "EZNet-tvOSTests"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
BuildableName = "ReactNativeProject-tvOS.app"
BlueprintName = "ReactNativeProject-tvOS"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet-tvOS.app"
BlueprintName = "EZNet-tvOS"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -94,9 +94,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
BuildableName = "ReactNativeProject-tvOS.app"
BlueprintName = "ReactNativeProject-tvOS"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet-tvOS.app"
BlueprintName = "EZNet-tvOS"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
Expand All @@ -113,9 +113,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
BuildableName = "ReactNativeProject-tvOS.app"
BlueprintName = "ReactNativeProject-tvOS"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet-tvOS.app"
BlueprintName = "EZNet-tvOS"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "ReactNativeProject.app"
BlueprintName = "ReactNativeProject"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet.app"
BlueprintName = "EZNet"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
Expand All @@ -43,9 +43,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "ReactNativeProjectTests.xctest"
BlueprintName = "ReactNativeProjectTests"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNetTests.xctest"
BlueprintName = "EZNetTests"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -61,19 +61,19 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "ReactNativeProjectTests.xctest"
BlueprintName = "ReactNativeProjectTests"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNetTests.xctest"
BlueprintName = "EZNetTests"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "ReactNativeProject.app"
BlueprintName = "ReactNativeProject"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet.app"
BlueprintName = "EZNet"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -94,9 +94,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "ReactNativeProject.app"
BlueprintName = "ReactNativeProject"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet.app"
BlueprintName = "EZNet"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
Expand All @@ -113,9 +113,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "ReactNativeProject.app"
BlueprintName = "ReactNativeProject"
ReferencedContainer = "container:ReactNativeProject.xcodeproj">
BuildableName = "EZNet.app"
BlueprintName = "EZNet"
ReferencedContainer = "container:EZNet.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil];

RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"ReactNativeProject"
moduleName:@"EZNet"
initialProperties:nil
launchOptions:launchOptions];
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="ReactNativeProject" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="EZNet" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="kId-c2-rCX">
<rect key="frame" x="20" y="140" width="441" height="43"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
Expand Down
2 changes: 1 addition & 1 deletion ios/ReactNativeProject/Info.plist → ios/EZNet/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleDisplayName</key>
<string>ReactNativeProject</string>
<string>EZNet</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
#define TIMEOUT_SECONDS 600
#define TEXT_TO_LOOK_FOR @"Welcome to React Native!"

@interface ReactNativeProjectTests : XCTestCase
@interface EZNetTests : XCTestCase

@end

@implementation ReactNativeProjectTests
@implementation EZNetTests

- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
{
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "ReactNativeProject",
"name": "EZNet",
"version": "0.0.1",
"private": true,
"scripts": {
Expand Down