Skip to content

Commit

Permalink
Additional Name convention changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aryaminus committed Mar 4, 2018
1 parent 075b2df commit b101db8
Show file tree
Hide file tree
Showing 13 changed files with 127 additions and 126 deletions.
2 changes: 1 addition & 1 deletion android/app/src/main/java/com/nazar/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ protected void onCreate(Bundle savedInstanceState) {

@Override
protected String getMainComponentName() {
return "nazar";
return "Nazar";
}
}
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">nazar</string>
<string name="app_name">Nazar</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 = 'nazar'
rootProject.name = 'Nazar'
include ':react-native-splash-screen'
project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android')
include ':react-native-vector-icons'
Expand Down
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "nazar",
"displayName": "nazar"
"name": "Nazar",
"displayName": "Nazar"
}
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ const App = StackNavigator({
Prediction: { screen: Predict }
})

AppRegistry.registerComponent('nazar', () => App)
AppRegistry.registerComponent('Nazar', () => App)
154 changes: 77 additions & 77 deletions ios/Nazar.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

36 changes: 18 additions & 18 deletions ios/Nazar.xcodeproj/xcshareddata/xcschemes/Nazar-tvOS.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
BuildableName = "nazar-tvOS.app"
BlueprintName = "nazar-tvOS"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar-tvOS.app"
BlueprintName = "Nazar-tvOS"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
Expand All @@ -43,9 +43,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
BuildableName = "nazar-tvOSTests.xctest"
BlueprintName = "nazar-tvOSTests"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar-tvOSTests.xctest"
BlueprintName = "Nazar-tvOSTests"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -61,19 +61,19 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
BuildableName = "nazar-tvOSTests.xctest"
BlueprintName = "nazar-tvOSTests"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar-tvOSTests.xctest"
BlueprintName = "Nazar-tvOSTests"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
BuildableName = "nazar-tvOS.app"
BlueprintName = "nazar-tvOS"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar-tvOS.app"
BlueprintName = "Nazar-tvOS"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -94,9 +94,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
BuildableName = "nazar-tvOS.app"
BlueprintName = "nazar-tvOS"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar-tvOS.app"
BlueprintName = "Nazar-tvOS"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
Expand All @@ -113,9 +113,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
BuildableName = "nazar-tvOS.app"
BlueprintName = "nazar-tvOS"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar-tvOS.app"
BlueprintName = "Nazar-tvOS"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
36 changes: 18 additions & 18 deletions ios/Nazar.xcodeproj/xcshareddata/xcschemes/Nazar.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "nazar.app"
BlueprintName = "nazar"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar.app"
BlueprintName = "Nazar"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
Expand All @@ -43,9 +43,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "nazarTests.xctest"
BlueprintName = "nazarTests"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "NazarTests.xctest"
BlueprintName = "NazarTests"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -61,19 +61,19 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "nazarTests.xctest"
BlueprintName = "nazarTests"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "NazarTests.xctest"
BlueprintName = "NazarTests"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "nazar.app"
BlueprintName = "nazar"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar.app"
BlueprintName = "Nazar"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
Expand All @@ -94,9 +94,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "nazar.app"
BlueprintName = "nazar"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar.app"
BlueprintName = "Nazar"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
<AdditionalOptions>
Expand All @@ -113,9 +113,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "nazar.app"
BlueprintName = "nazar"
ReferencedContainer = "container:nazar.xcodeproj">
BuildableName = "Nazar.app"
BlueprintName = "Nazar"
ReferencedContainer = "container:Nazar.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
2 changes: 1 addition & 1 deletion ios/Nazar/AppDelegate.m
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" fallbackResource:nil];

RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation
moduleName:@"nazar"
moduleName:@"Nazar"
initialProperties:nil
launchOptions:launchOptions];
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
Expand Down
2 changes: 1 addition & 1 deletion ios/Nazar/Base.lproj/LaunchScreen.xib
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="nazar" 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="Nazar" 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/Nazar/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>nazar</string>
<string>Nazar</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
4 changes: 2 additions & 2 deletions ios/NazarTests/NazarTests.m
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 nazarTests : XCTestCase
@interface NazarTests : XCTestCase

@end

@implementation nazarTests
@implementation NazarTests

- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
{
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"name": "nazar",
"version": "0.0.1",
"name": "Nazar",
"version": "0.0.3",
"private": true,
"author": "speks",
"scripts": {
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
Expand Down

0 comments on commit b101db8

Please sign in to comment.