Skip to content

Commit

Permalink
refactor: update app name related settings
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Feb 28, 2024
1 parent a6efa8b commit c179213
Show file tree
Hide file tree
Showing 9 changed files with 11 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class MainActivity : ReactActivity() {
* Returns the name of the main component registered from JavaScript. This is used to schedule
* rendering of the component.
*/
override fun getMainComponentName(): String = "Web3InboxLab"
override fun getMainComponentName(): String = "Web3Inbox"

/**
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate]
Expand Down
3 changes: 1 addition & 2 deletions dapps/Web3Inbox/app.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
{
"name": "Web3Inbox",
"displayName": "Web3Inbox"
"name": "Web3Inbox"
}
15 changes: 5 additions & 10 deletions dapps/Web3Inbox/ios/Web3Inbox.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,7 @@
00E356F51AD99517003FC87E /* PBXTargetDependency */,
);
name = Web3InboxTests;
productName = Web3InboxTests;
productReference = 00E356EE1AD99517003FC87E /* Web3InboxTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
Expand Down Expand Up @@ -485,7 +486,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Web3Inbox/Web3Inbox.entitlements;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = W5R8AG9K22;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
Expand Down Expand Up @@ -519,7 +520,7 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CLANG_ENABLE_MODULES = YES;
CODE_SIGN_ENTITLEMENTS = Web3Inbox/Web3Inbox.entitlements;
CURRENT_PROJECT_VERSION = 2;
CURRENT_PROJECT_VERSION = 1;
DEVELOPMENT_TEAM = W5R8AG9K22;
FRAMEWORK_SEARCH_PATHS = (
"$(inherited)",
Expand Down Expand Up @@ -624,10 +625,7 @@
"-DFOLLY_USE_LIBCPP=1",
"-DFOLLY_CFG_NO_COROUTINES=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down Expand Up @@ -706,10 +704,7 @@
"-DFOLLY_USE_LIBCPP=1",
"-DFOLLY_CFG_NO_COROUTINES=1",
);
OTHER_LDFLAGS = (
"$(inherited)",
" ",
);
OTHER_LDFLAGS = "$(inherited) ";
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
USE_HERMES = true;
Expand Down
2 changes: 1 addition & 1 deletion dapps/Web3Inbox/ios/Web3Inbox/AppDelegate.mm
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
{
[FIRApp configure];

self.moduleName = @"Web3InboxLab";
self.moduleName = @"Web3Inbox";
// You can add your custom initial props in the dictionary below.
// They will be passed down to the ViewController used by React Native.
self.initialProps = @{};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"images" : [
{
"filename" : "logo.png",
"filename" : "icon.png",
"idiom" : "universal",
"platform" : "ios",
"size" : "1024x1024"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
2 changes: 1 addition & 1 deletion dapps/Web3Inbox/ios/Web3Inbox/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="Web3InboxLab" 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="Web3Inbox" 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
2 changes: 1 addition & 1 deletion dapps/Web3Inbox/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const metadata = {
url: 'https://lab.web3inbox.com',
icons: ['https://avatars.githubusercontent.com/u/37784886'],
redirect: {
native: 'web3inboxLab://',
native: 'web3inbox://',
},
};

Expand Down

0 comments on commit c179213

Please sign in to comment.