diff --git a/android/app/BUCK b/android/app/BUCK index 0720d99..2d970b3 100644 --- a/android/app/BUCK +++ b/android/app/BUCK @@ -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( diff --git a/android/app/build.gradle b/android/app/build.gradle index 394be7d..1dfb488 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -87,7 +87,7 @@ android { buildToolsVersion "23.0.1" defaultConfig { - applicationId "com.reactnativeproject" + applicationId "org.gdgsrilanka.codelanka.eznet" minSdkVersion 16 targetSdkVersion 22 versionCode 1 diff --git a/android/app/src/main/AndroidManifest.xml b/android/app/src/main/AndroidManifest.xml index dfede15..3eaab9c 100644 --- a/android/app/src/main/AndroidManifest.xml +++ b/android/app/src/main/AndroidManifest.xml @@ -1,5 +1,5 @@ diff --git a/android/app/src/main/java/com/reactnativeproject/MainActivity.java b/android/app/src/main/java/org/gdgsrilanka/codelanka/eznet/MainActivity.java similarity index 81% rename from android/app/src/main/java/com/reactnativeproject/MainActivity.java rename to android/app/src/main/java/org/gdgsrilanka/codelanka/eznet/MainActivity.java index 1c2afd9..2a6b7ab 100644 --- a/android/app/src/main/java/com/reactnativeproject/MainActivity.java +++ b/android/app/src/main/java/org/gdgsrilanka/codelanka/eznet/MainActivity.java @@ -1,4 +1,4 @@ -package com.reactnativeproject; +package org.gdgsrilanka.codelanka.eznet; import com.facebook.react.ReactActivity; @@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity { */ @Override protected String getMainComponentName() { - return "ReactNativeProject"; + return "EZNet"; } } diff --git a/android/app/src/main/java/com/reactnativeproject/MainApplication.java b/android/app/src/main/java/org/gdgsrilanka/codelanka/eznet/MainApplication.java similarity index 96% rename from android/app/src/main/java/com/reactnativeproject/MainApplication.java rename to android/app/src/main/java/org/gdgsrilanka/codelanka/eznet/MainApplication.java index 434d20a..04bdcdc 100644 --- a/android/app/src/main/java/com/reactnativeproject/MainApplication.java +++ b/android/app/src/main/java/org/gdgsrilanka/codelanka/eznet/MainApplication.java @@ -1,4 +1,4 @@ -package com.reactnativeproject; +package org.gdgsrilanka.codelanka.eznet; import android.app.Application; import android.util.Log; @@ -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) { diff --git a/android/app/src/main/res/values/strings.xml b/android/app/src/main/res/values/strings.xml index 287f203..64a0557 100644 --- a/android/app/src/main/res/values/strings.xml +++ b/android/app/src/main/res/values/strings.xml @@ -1,3 +1,3 @@ - ReactNativeProject + EZNet diff --git a/android/settings.gradle b/android/settings.gradle index 52c9a68..9d64f29 100644 --- a/android/settings.gradle +++ b/android/settings.gradle @@ -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' diff --git a/app.json b/app.json index b478c88..4bdddad 100644 --- a/app.json +++ b/app.json @@ -1,4 +1,4 @@ { - "name": "ReactNativeProject", - "displayName": "ReactNativeProject" -} \ No newline at end of file + "name": "EZNetApp", + "displayName": "EZNetApp" +} diff --git a/index.android.js b/index.android.js index 24c2a7d..98e8ae4 100755 --- a/index.android.js +++ b/index.android.js @@ -4,4 +4,4 @@ import { import Root from './src'; -AppRegistry.registerComponent('ReactNativeProject', () => Root); +AppRegistry.registerComponent('Root', () => Root); diff --git a/index.ios.js b/index.ios.js index 24c2a7d..2c99de7 100755 --- a/index.ios.js +++ b/index.ios.js @@ -1,7 +1,7 @@ import { - AppRegistry, + AppRegistry, } from 'react-native'; import Root from './src'; -AppRegistry.registerComponent('ReactNativeProject', () => Root); +AppRegistry.registerComponent('Root', () => Root); diff --git a/ios/ReactNativeProject-tvOS/Info.plist b/ios/EZNet-tvOS/Info.plist similarity index 100% rename from ios/ReactNativeProject-tvOS/Info.plist rename to ios/EZNet-tvOS/Info.plist diff --git a/ios/ReactNativeProject-tvOSTests/Info.plist b/ios/EZNet-tvOSTests/Info.plist similarity index 100% rename from ios/ReactNativeProject-tvOSTests/Info.plist rename to ios/EZNet-tvOSTests/Info.plist diff --git a/ios/ReactNativeProject.xcodeproj/project.pbxproj b/ios/EZNet.xcodeproj/project.pbxproj similarity index 90% rename from ios/ReactNativeProject.xcodeproj/project.pbxproj rename to ios/EZNet.xcodeproj/project.pbxproj index b710d60..8da0166 100644 --- a/ios/ReactNativeProject.xcodeproj/project.pbxproj +++ b/ios/EZNet.xcodeproj/project.pbxproj @@ -11,7 +11,7 @@ 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; - 00E356F31AD99517003FC87E /* ReactNativeProjectTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeProjectTests.m */; }; + 00E356F31AD99517003FC87E /* EZNetTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* EZNetTests.m */; }; 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; @@ -32,7 +32,7 @@ 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; - 2DCD954D1E0B4F2C00145EB5 /* ReactNativeProjectTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ReactNativeProjectTests.m */; }; + 2DCD954D1E0B4F2C00145EB5 /* EZNetTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* EZNetTests.m */; }; 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 1A783CBED7964A1B943028BB /* Entypo.ttf in Resources */ = {isa = PBXBuildFile; fileRef = DA4C8771327D4F309CF96B46 /* Entypo.ttf */; }; @@ -90,7 +90,7 @@ containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; proxyType = 1; remoteGlobalIDString = 13B07F861A680F5B00A75B9A; - remoteInfo = ReactNativeProject; + remoteInfo = EZNet; }; 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; @@ -118,7 +118,7 @@ containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; proxyType = 1; remoteGlobalIDString = 2D02E47A1E0B4A5D006451C7; - remoteInfo = "ReactNativeProject-tvOS"; + remoteInfo = "EZNet-tvOS"; }; 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; @@ -248,21 +248,21 @@ 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; - 00E356EE1AD99517003FC87E /* ReactNativeProjectTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ReactNativeProjectTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + 00E356EE1AD99517003FC87E /* EZNetTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = EZNetTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 00E356F21AD99517003FC87E /* ReactNativeProjectTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ReactNativeProjectTests.m; sourceTree = ""; }; + 00E356F21AD99517003FC87E /* EZNetTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = EZNetTests.m; sourceTree = ""; }; 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; - 13B07F961A680F5B00A75B9A /* ReactNativeProject.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ReactNativeProject.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = ReactNativeProject/AppDelegate.h; sourceTree = ""; }; - 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = ReactNativeProject/AppDelegate.m; sourceTree = ""; }; + 13B07F961A680F5B00A75B9A /* EZNet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = EZNet.app; sourceTree = BUILT_PRODUCTS_DIR; }; + 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = EZNet/AppDelegate.h; sourceTree = ""; }; + 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = EZNet/AppDelegate.m; sourceTree = ""; }; 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = ReactNativeProject/Images.xcassets; sourceTree = ""; }; - 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = ReactNativeProject/Info.plist; sourceTree = ""; }; - 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = ReactNativeProject/main.m; sourceTree = ""; }; + 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = EZNet/Images.xcassets; sourceTree = ""; }; + 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = EZNet/Info.plist; sourceTree = ""; }; + 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = EZNet/main.m; sourceTree = ""; }; 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; - 2D02E47B1E0B4A5D006451C7 /* ReactNativeProject-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "ReactNativeProject-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; - 2D02E4901E0B4A5D006451C7 /* ReactNativeProject-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "ReactNativeProject-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2D02E47B1E0B4A5D006451C7 /* EZNet-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "EZNet-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 2D02E4901E0B4A5D006451C7 /* EZNet-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "EZNet-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; }; 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; @@ -374,13 +374,13 @@ name = Products; sourceTree = ""; }; - 00E356EF1AD99517003FC87E /* ReactNativeProjectTests */ = { + 00E356EF1AD99517003FC87E /* EZNetTests */ = { isa = PBXGroup; children = ( - 00E356F21AD99517003FC87E /* ReactNativeProjectTests.m */, + 00E356F21AD99517003FC87E /* EZNetTests.m */, 00E356F01AD99517003FC87E /* Supporting Files */, ); - path = ReactNativeProjectTests; + path = EZNetTests; sourceTree = ""; }; 00E356F01AD99517003FC87E /* Supporting Files */ = { @@ -409,7 +409,7 @@ name = Products; sourceTree = ""; }; - 13B07FAE1A68108700A75B9A /* ReactNativeProject */ = { + 13B07FAE1A68108700A75B9A /* EZNet */ = { isa = PBXGroup; children = ( 008F07F21AC5B25A0029DE68 /* main.jsbundle */, @@ -420,7 +420,7 @@ 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 13B07FB71A68108700A75B9A /* main.m */, ); - name = ReactNativeProject; + name = EZNet; sourceTree = ""; }; 146834001AC3E56700842450 /* Products */ = { @@ -486,9 +486,9 @@ 83CBB9F61A601CBA00E9B192 = { isa = PBXGroup; children = ( - 13B07FAE1A68108700A75B9A /* ReactNativeProject */, + 13B07FAE1A68108700A75B9A /* EZNet */, 832341AE1AAA6A7D00B99B32 /* Libraries */, - 00E356EF1AD99517003FC87E /* ReactNativeProjectTests */, + 00E356EF1AD99517003FC87E /* EZNetTests */, 83CBBA001A601CBA00E9B192 /* Products */, BDC8E4CEC50D4B129C0520B2 /* Resources */, ); @@ -499,10 +499,10 @@ 83CBBA001A601CBA00E9B192 /* Products */ = { isa = PBXGroup; children = ( - 13B07F961A680F5B00A75B9A /* ReactNativeProject.app */, - 00E356EE1AD99517003FC87E /* ReactNativeProjectTests.xctest */, - 2D02E47B1E0B4A5D006451C7 /* ReactNativeProject-tvOS.app */, - 2D02E4901E0B4A5D006451C7 /* ReactNativeProject-tvOSTests.xctest */, + 13B07F961A680F5B00A75B9A /* EZNet.app */, + 00E356EE1AD99517003FC87E /* EZNetTests.xctest */, + 2D02E47B1E0B4A5D006451C7 /* EZNet-tvOS.app */, + 2D02E4901E0B4A5D006451C7 /* EZNet-tvOSTests.xctest */, ); name = Products; sourceTree = ""; @@ -530,9 +530,9 @@ /* End PBXGroup section */ /* Begin PBXNativeTarget section */ - 00E356ED1AD99517003FC87E /* ReactNativeProjectTests */ = { + 00E356ED1AD99517003FC87E /* EZNetTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeProjectTests" */; + buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "EZNetTests" */; buildPhases = ( 00E356EA1AD99517003FC87E /* Sources */, 00E356EB1AD99517003FC87E /* Frameworks */, @@ -543,14 +543,14 @@ dependencies = ( 00E356F51AD99517003FC87E /* PBXTargetDependency */, ); - name = ReactNativeProjectTests; - productName = ReactNativeProjectTests; - productReference = 00E356EE1AD99517003FC87E /* ReactNativeProjectTests.xctest */; + name = EZNetTests; + productName = EZNetTests; + productReference = 00E356EE1AD99517003FC87E /* EZNetTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; - 13B07F861A680F5B00A75B9A /* ReactNativeProject */ = { + 13B07F861A680F5B00A75B9A /* EZNet */ = { isa = PBXNativeTarget; - buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeProject" */; + buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "EZNet" */; buildPhases = ( 13B07F871A680F5B00A75B9A /* Sources */, 13B07F8C1A680F5B00A75B9A /* Frameworks */, @@ -561,14 +561,14 @@ ); dependencies = ( ); - name = ReactNativeProject; + name = EZNet; productName = "Hello World"; - productReference = 13B07F961A680F5B00A75B9A /* ReactNativeProject.app */; + productReference = 13B07F961A680F5B00A75B9A /* EZNet.app */; productType = "com.apple.product-type.application"; }; - 2D02E47A1E0B4A5D006451C7 /* ReactNativeProject-tvOS */ = { + 2D02E47A1E0B4A5D006451C7 /* EZNet-tvOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeProject-tvOS" */; + buildConfigurationList = 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "EZNet-tvOS" */; buildPhases = ( 2D02E4771E0B4A5D006451C7 /* Sources */, 2D02E4781E0B4A5D006451C7 /* Frameworks */, @@ -579,14 +579,14 @@ ); dependencies = ( ); - name = "ReactNativeProject-tvOS"; - productName = "ReactNativeProject-tvOS"; - productReference = 2D02E47B1E0B4A5D006451C7 /* ReactNativeProject-tvOS.app */; + name = "EZNet-tvOS"; + productName = "EZNet-tvOS"; + productReference = 2D02E47B1E0B4A5D006451C7 /* EZNet-tvOS.app */; productType = "com.apple.product-type.application"; }; - 2D02E48F1E0B4A5D006451C7 /* ReactNativeProject-tvOSTests */ = { + 2D02E48F1E0B4A5D006451C7 /* EZNet-tvOSTests */ = { isa = PBXNativeTarget; - buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeProject-tvOSTests" */; + buildConfigurationList = 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "EZNet-tvOSTests" */; buildPhases = ( 2D02E48C1E0B4A5D006451C7 /* Sources */, 2D02E48D1E0B4A5D006451C7 /* Frameworks */, @@ -597,9 +597,9 @@ dependencies = ( 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */, ); - name = "ReactNativeProject-tvOSTests"; - productName = "ReactNativeProject-tvOSTests"; - productReference = 2D02E4901E0B4A5D006451C7 /* ReactNativeProject-tvOSTests.xctest */; + name = "EZNet-tvOSTests"; + productName = "EZNet-tvOSTests"; + productReference = 2D02E4901E0B4A5D006451C7 /* EZNet-tvOSTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; /* End PBXNativeTarget section */ @@ -626,7 +626,7 @@ }; }; }; - buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeProject" */; + buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "EZNet" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = English; hasScannedForEncodings = 0; @@ -685,10 +685,10 @@ ); projectRoot = ""; targets = ( - 13B07F861A680F5B00A75B9A /* ReactNativeProject */, - 00E356ED1AD99517003FC87E /* ReactNativeProjectTests */, - 2D02E47A1E0B4A5D006451C7 /* ReactNativeProject-tvOS */, - 2D02E48F1E0B4A5D006451C7 /* ReactNativeProject-tvOSTests */, + 13B07F861A680F5B00A75B9A /* EZNet */, + 00E356ED1AD99517003FC87E /* EZNetTests */, + 2D02E47A1E0B4A5D006451C7 /* EZNet-tvOS */, + 2D02E48F1E0B4A5D006451C7 /* EZNet-tvOSTests */, ); }; /* End PBXProject section */ @@ -953,7 +953,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 00E356F31AD99517003FC87E /* ReactNativeProjectTests.m in Sources */, + 00E356F31AD99517003FC87E /* EZNetTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -979,7 +979,7 @@ isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2DCD954D1E0B4F2C00145EB5 /* ReactNativeProjectTests.m in Sources */, + 2DCD954D1E0B4F2C00145EB5 /* EZNetTests.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -988,12 +988,12 @@ /* Begin PBXTargetDependency section */ 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 13B07F861A680F5B00A75B9A /* ReactNativeProject */; + target = 13B07F861A680F5B00A75B9A /* EZNet */; targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; }; 2D02E4921E0B4A5D006451C7 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - target = 2D02E47A1E0B4A5D006451C7 /* ReactNativeProject-tvOS */; + target = 2D02E47A1E0B4A5D006451C7 /* EZNet-tvOS */; targetProxy = 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ @@ -1005,7 +1005,7 @@ 13B07FB21A68108700A75B9A /* Base */, ); name = LaunchScreen.xib; - path = ReactNativeProject; + path = EZNet; sourceTree = ""; }; /* End PBXVariantGroup section */ @@ -1019,7 +1019,7 @@ "DEBUG=1", "$(inherited)", ); - INFOPLIST_FILE = ReactNativeProjectTests/Info.plist; + INFOPLIST_FILE = EZNetTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_LDFLAGS = ( @@ -1027,7 +1027,7 @@ "-lc++", ); PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeProject.app/ReactNativeProject"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/EZNet.app/EZNet"; }; name = Debug; }; @@ -1036,7 +1036,7 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; - INFOPLIST_FILE = ReactNativeProjectTests/Info.plist; + INFOPLIST_FILE = EZNetTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; OTHER_LDFLAGS = ( @@ -1044,7 +1044,7 @@ "-lc++", ); PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeProject.app/ReactNativeProject"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/EZNet.app/EZNet"; }; name = Release; }; @@ -1054,14 +1054,14 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = NO; - INFOPLIST_FILE = ReactNativeProject/Info.plist; + INFOPLIST_FILE = EZNet/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_NAME = ReactNativeProject; + PRODUCT_NAME = EZNet; VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; @@ -1071,14 +1071,14 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = 1; - INFOPLIST_FILE = ReactNativeProject/Info.plist; + INFOPLIST_FILE = EZNet/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "$(inherited)", "-ObjC", "-lc++", ); - PRODUCT_NAME = ReactNativeProject; + PRODUCT_NAME = EZNet; VERSIONING_SYSTEM = "apple-generic"; }; name = Release; @@ -1095,13 +1095,13 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "ReactNativeProject-tvOS/Info.plist"; + INFOPLIST_FILE = "EZNet-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeProject-tvOS"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.EZNet-tvOS"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; TARGETED_DEVICE_FAMILY = 3; @@ -1121,13 +1121,13 @@ COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "ReactNativeProject-tvOS/Info.plist"; + INFOPLIST_FILE = "EZNet-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( "-ObjC", "-lc++", ); - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeProject-tvOS"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.EZNet-tvOS"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; TARGETED_DEVICE_FAMILY = 3; @@ -1146,12 +1146,12 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "ReactNativeProject-tvOSTests/Info.plist"; + INFOPLIST_FILE = "EZNet-tvOSTests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeProject-tvOSTests"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.EZNet-tvOSTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeProject-tvOS.app/ReactNativeProject-tvOS"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/EZNet-tvOS.app/EZNet-tvOS"; TVOS_DEPLOYMENT_TARGET = 10.1; }; name = Debug; @@ -1167,12 +1167,12 @@ COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_NO_COMMON_BLOCKS = YES; - INFOPLIST_FILE = "ReactNativeProject-tvOSTests/Info.plist"; + INFOPLIST_FILE = "EZNet-tvOSTests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.ReactNativeProject-tvOSTests"; + PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.EZNet-tvOSTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/ReactNativeProject-tvOS.app/ReactNativeProject-tvOS"; + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/EZNet-tvOS.app/EZNet-tvOS"; TVOS_DEPLOYMENT_TARGET = 10.1; }; name = Release; @@ -1256,7 +1256,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ReactNativeProjectTests" */ = { + 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "EZNetTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 00E356F61AD99517003FC87E /* Debug */, @@ -1265,7 +1265,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "ReactNativeProject" */ = { + 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "EZNet" */ = { isa = XCConfigurationList; buildConfigurations = ( 13B07F941A680F5B00A75B9A /* Debug */, @@ -1274,7 +1274,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeProject-tvOS" */ = { + 2D02E4BA1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "EZNet-tvOS" */ = { isa = XCConfigurationList; buildConfigurations = ( 2D02E4971E0B4A5E006451C7 /* Debug */, @@ -1283,7 +1283,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "ReactNativeProject-tvOSTests" */ = { + 2D02E4BB1E0B4A5E006451C7 /* Build configuration list for PBXNativeTarget "EZNet-tvOSTests" */ = { isa = XCConfigurationList; buildConfigurations = ( 2D02E4991E0B4A5E006451C7 /* Debug */, @@ -1292,7 +1292,7 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "ReactNativeProject" */ = { + 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "EZNet" */ = { isa = XCConfigurationList; buildConfigurations = ( 83CBBA201A601CBA00E9B192 /* Debug */, diff --git a/ios/ReactNativeProject.xcodeproj/xcshareddata/xcschemes/ReactNativeProject-tvOS.xcscheme b/ios/EZNet.xcodeproj/xcshareddata/xcschemes/EZNet-tvOS.xcscheme similarity index 77% rename from ios/ReactNativeProject.xcodeproj/xcshareddata/xcschemes/ReactNativeProject-tvOS.xcscheme rename to ios/EZNet.xcodeproj/xcshareddata/xcschemes/EZNet-tvOS.xcscheme index 7eeda03..8e9e20d 100644 --- a/ios/ReactNativeProject.xcodeproj/xcshareddata/xcschemes/ReactNativeProject-tvOS.xcscheme +++ b/ios/EZNet.xcodeproj/xcshareddata/xcschemes/EZNet-tvOS.xcscheme @@ -29,9 +29,9 @@ + BuildableName = "EZNet-tvOS.app" + BlueprintName = "EZNet-tvOS" + ReferencedContainer = "container:EZNet.xcodeproj"> + BuildableName = "EZNet-tvOSTests.xctest" + BlueprintName = "EZNet-tvOSTests" + ReferencedContainer = "container:EZNet.xcodeproj"> @@ -61,9 +61,9 @@ + BuildableName = "EZNet-tvOSTests.xctest" + BlueprintName = "EZNet-tvOSTests" + ReferencedContainer = "container:EZNet.xcodeproj"> @@ -71,9 +71,9 @@ + BuildableName = "EZNet-tvOS.app" + BlueprintName = "EZNet-tvOS" + ReferencedContainer = "container:EZNet.xcodeproj"> @@ -94,9 +94,9 @@ + BuildableName = "EZNet-tvOS.app" + BlueprintName = "EZNet-tvOS" + ReferencedContainer = "container:EZNet.xcodeproj"> @@ -113,9 +113,9 @@ + BuildableName = "EZNet-tvOS.app" + BlueprintName = "EZNet-tvOS" + ReferencedContainer = "container:EZNet.xcodeproj"> diff --git a/ios/ReactNativeProject.xcodeproj/xcshareddata/xcschemes/ReactNativeProject.xcscheme b/ios/EZNet.xcodeproj/xcshareddata/xcschemes/EZNet.xcscheme similarity index 78% rename from ios/ReactNativeProject.xcodeproj/xcshareddata/xcschemes/ReactNativeProject.xcscheme rename to ios/EZNet.xcodeproj/xcshareddata/xcschemes/EZNet.xcscheme index fc014e9..50d4b92 100644 --- a/ios/ReactNativeProject.xcodeproj/xcshareddata/xcschemes/ReactNativeProject.xcscheme +++ b/ios/EZNet.xcodeproj/xcshareddata/xcschemes/EZNet.xcscheme @@ -29,9 +29,9 @@ + BuildableName = "EZNet.app" + BlueprintName = "EZNet" + ReferencedContainer = "container:EZNet.xcodeproj"> + BuildableName = "EZNetTests.xctest" + BlueprintName = "EZNetTests" + ReferencedContainer = "container:EZNet.xcodeproj"> @@ -61,9 +61,9 @@ + BuildableName = "EZNetTests.xctest" + BlueprintName = "EZNetTests" + ReferencedContainer = "container:EZNet.xcodeproj"> @@ -71,9 +71,9 @@ + BuildableName = "EZNet.app" + BlueprintName = "EZNet" + ReferencedContainer = "container:EZNet.xcodeproj"> @@ -94,9 +94,9 @@ + BuildableName = "EZNet.app" + BlueprintName = "EZNet" + ReferencedContainer = "container:EZNet.xcodeproj"> @@ -113,9 +113,9 @@ + BuildableName = "EZNet.app" + BlueprintName = "EZNet" + ReferencedContainer = "container:EZNet.xcodeproj"> diff --git a/ios/ReactNativeProject/AppDelegate.h b/ios/EZNet/AppDelegate.h similarity index 100% rename from ios/ReactNativeProject/AppDelegate.h rename to ios/EZNet/AppDelegate.h diff --git a/ios/ReactNativeProject/AppDelegate.m b/ios/EZNet/AppDelegate.m similarity index 98% rename from ios/ReactNativeProject/AppDelegate.m rename to ios/EZNet/AppDelegate.m index e3620fd..31fc428 100644 --- a/ios/ReactNativeProject/AppDelegate.m +++ b/ios/EZNet/AppDelegate.m @@ -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]; diff --git a/ios/ReactNativeProject/Base.lproj/LaunchScreen.xib b/ios/EZNet/Base.lproj/LaunchScreen.xib similarity index 93% rename from ios/ReactNativeProject/Base.lproj/LaunchScreen.xib rename to ios/EZNet/Base.lproj/LaunchScreen.xib index 4d643fc..5c485d8 100644 --- a/ios/ReactNativeProject/Base.lproj/LaunchScreen.xib +++ b/ios/EZNet/Base.lproj/LaunchScreen.xib @@ -18,7 +18,7 @@ -