Skip to content

Commit

Permalink
#1 - Renamed app to zero, app running successfully
Browse files Browse the repository at this point in the history
Run `npx react-native start` and `npx react-native run android` to start
  • Loading branch information
L committed Oct 30, 2021
1 parent c716e8b commit 21ffc20
Show file tree
Hide file tree
Showing 18 changed files with 115 additions and 115 deletions.
4 changes: 2 additions & 2 deletions android/app/_BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ android_library(

android_build_config(
name = "build_config",
package = "com.awesometsproject",
package = "com.zero",
)

android_resource(
name = "res",
package = "com.awesometsproject",
package = "com.zero",
res = "src/main/res",
)

Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ android {
compileSdkVersion rootProject.ext.compileSdkVersion

defaultConfig {
applicationId "com.awesometsproject"
applicationId "com.zero"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.awesometsproject;
package com.zero;

import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
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.awesometsproject">
package="com.zero">

<uses-permission android:name="android.permission.INTERNET" />

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.awesometsproject;
package com.zero;

import com.facebook.react.ReactActivity;

Expand All @@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
return "AwesomeTSProject";
return "Zero";
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.awesometsproject;
package com.zero;

import android.app.Application;
import android.content.Context;
Expand Down Expand Up @@ -62,7 +62,7 @@ private static void initializeFlipper(
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("com.awesometsproject.ReactNativeFlipper");
Class<?> aClass = Class.forName("com.zero.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);
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">AwesomeTSProject</string>
<string name="app_name">Zero</string>
</resources>
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rootProject.name = 'AwesomeTSProject'
rootProject.name = 'Zero'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "AwesomeTSProject",
"displayName": "AwesomeTSProject"
"name": "Zero",
"displayName": "Zero"
}
160 changes: 80 additions & 80 deletions ios/AwesomeTSProject.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "AwesomeTSProject.app"
BlueprintName = "AwesomeTSProject"
ReferencedContainer = "container:AwesomeTSProject.xcodeproj">
BuildableName = "Zero.app"
BlueprintName = "Zero"
ReferencedContainer = "container:Zero.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -33,9 +33,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "AwesomeTSProjectTests.xctest"
BlueprintName = "AwesomeTSProjectTests"
ReferencedContainer = "container:AwesomeTSProject.xcodeproj">
BuildableName = "ZeroTests.xctest"
BlueprintName = "ZeroTests"
ReferencedContainer = "container:Zero.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
Expand All @@ -55,9 +55,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "AwesomeTSProject.app"
BlueprintName = "AwesomeTSProject"
ReferencedContainer = "container:AwesomeTSProject.xcodeproj">
BuildableName = "Zero.app"
BlueprintName = "Zero"
ReferencedContainer = "container:Zero.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
Expand All @@ -72,9 +72,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "AwesomeTSProject.app"
BlueprintName = "AwesomeTSProject"
ReferencedContainer = "container:AwesomeTSProject.xcodeproj">
BuildableName = "Zero.app"
BlueprintName = "Zero"
ReferencedContainer = "container:Zero.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down
2 changes: 1 addition & 1 deletion ios/AwesomeTSProject/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"AwesomeTSProject"
moduleName:@"Zero"
initialProperties:nil];

if (@available(iOS 13.0, *)) {
Expand Down
2 changes: 1 addition & 1 deletion ios/AwesomeTSProject/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>AwesomeTSProject</string>
<string>Zero</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
Expand Down
2 changes: 1 addition & 1 deletion ios/AwesomeTSProject/LaunchScreen.storyboard
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AwesomeTSProject" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Zero" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
<rect key="frame" x="0.0" y="202" width="375" height="43"/>
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
<nil key="highlightedColor"/>
Expand Down
4 changes: 2 additions & 2 deletions ios/AwesomeTSProjectTests/AwesomeTSProjectTests.m
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
#define TIMEOUT_SECONDS 600
#define TEXT_TO_LOOK_FOR @"Welcome to React"

@interface AwesomeTSProjectTests : XCTestCase
@interface ZeroTests : XCTestCase

@end

@implementation AwesomeTSProjectTests
@implementation ZeroTests

- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
{
Expand Down
4 changes: 2 additions & 2 deletions ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ

platform :ios, '11.0'

target 'AwesomeTSProject' do
target 'Zero' do
config = use_native_modules!

use_react_native!(
Expand All @@ -12,7 +12,7 @@ target 'AwesomeTSProject' do
:hermes_enabled => false
)

target 'AwesomeTSProjectTests' do
target 'ZeroTests' do
inherit! :complete
# Pods for testing
end
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "awesometsproject",
"name": "zero",
"version": "0.0.1",
"private": true,
"scripts": {
Expand Down

0 comments on commit 21ffc20

Please sign in to comment.