Skip to content

Commit c179213

Browse files
committed
refactor: update app name related settings
1 parent a6efa8b commit c179213

File tree

9 files changed

+11
-17
lines changed

9 files changed

+11
-17
lines changed

dapps/Web3Inbox/android/app/src/main/java/com/web3inboxlab/MainActivity.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class MainActivity : ReactActivity() {
1111
* Returns the name of the main component registered from JavaScript. This is used to schedule
1212
* rendering of the component.
1313
*/
14-
override fun getMainComponentName(): String = "Web3InboxLab"
14+
override fun getMainComponentName(): String = "Web3Inbox"
1515

1616
/**
1717
* Returns the instance of the [ReactActivityDelegate]. We use [DefaultReactActivityDelegate]

dapps/Web3Inbox/app.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
{
2-
"name": "Web3Inbox",
3-
"displayName": "Web3Inbox"
2+
"name": "Web3Inbox"
43
}

dapps/Web3Inbox/ios/Web3Inbox.xcodeproj/project.pbxproj

+5-10
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,7 @@
173173
00E356F51AD99517003FC87E /* PBXTargetDependency */,
174174
);
175175
name = Web3InboxTests;
176+
productName = Web3InboxTests;
176177
productReference = 00E356EE1AD99517003FC87E /* Web3InboxTests.xctest */;
177178
productType = "com.apple.product-type.bundle.unit-test";
178179
};
@@ -485,7 +486,7 @@
485486
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
486487
CLANG_ENABLE_MODULES = YES;
487488
CODE_SIGN_ENTITLEMENTS = Web3Inbox/Web3Inbox.entitlements;
488-
CURRENT_PROJECT_VERSION = 2;
489+
CURRENT_PROJECT_VERSION = 1;
489490
DEVELOPMENT_TEAM = W5R8AG9K22;
490491
ENABLE_BITCODE = NO;
491492
FRAMEWORK_SEARCH_PATHS = (
@@ -519,7 +520,7 @@
519520
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
520521
CLANG_ENABLE_MODULES = YES;
521522
CODE_SIGN_ENTITLEMENTS = Web3Inbox/Web3Inbox.entitlements;
522-
CURRENT_PROJECT_VERSION = 2;
523+
CURRENT_PROJECT_VERSION = 1;
523524
DEVELOPMENT_TEAM = W5R8AG9K22;
524525
FRAMEWORK_SEARCH_PATHS = (
525526
"$(inherited)",
@@ -624,10 +625,7 @@
624625
"-DFOLLY_USE_LIBCPP=1",
625626
"-DFOLLY_CFG_NO_COROUTINES=1",
626627
);
627-
OTHER_LDFLAGS = (
628-
"$(inherited)",
629-
" ",
630-
);
628+
OTHER_LDFLAGS = "$(inherited) ";
631629
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
632630
SDKROOT = iphoneos;
633631
USE_HERMES = true;
@@ -706,10 +704,7 @@
706704
"-DFOLLY_USE_LIBCPP=1",
707705
"-DFOLLY_CFG_NO_COROUTINES=1",
708706
);
709-
OTHER_LDFLAGS = (
710-
"$(inherited)",
711-
" ",
712-
);
707+
OTHER_LDFLAGS = "$(inherited) ";
713708
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
714709
SDKROOT = iphoneos;
715710
USE_HERMES = true;

dapps/Web3Inbox/ios/Web3Inbox/AppDelegate.mm

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
1010
{
1111
[FIRApp configure];
1212

13-
self.moduleName = @"Web3InboxLab";
13+
self.moduleName = @"Web3Inbox";
1414
// You can add your custom initial props in the dictionary below.
1515
// They will be passed down to the ViewController used by React Native.
1616
self.initialProps = @{};

dapps/Web3Inbox/ios/Web3Inbox/Images.xcassets/AppIcon.appiconset/Contents.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"images" : [
33
{
4-
"filename" : "logo.png",
4+
"filename" : "icon.png",
55
"idiom" : "universal",
66
"platform" : "ios",
77
"size" : "1024x1024"
Loading
Binary file not shown.

dapps/Web3Inbox/ios/Web3Inbox/LaunchScreen.storyboard

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
1717
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
1818
<subviews>
19-
<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">
19+
<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">
2020
<rect key="frame" x="0.0" y="202" width="375" height="43"/>
2121
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
2222
<nil key="highlightedColor"/>

dapps/Web3Inbox/src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const metadata = {
5050
url: 'https://lab.web3inbox.com',
5151
icons: ['https://avatars.githubusercontent.com/u/37784886'],
5252
redirect: {
53-
native: 'web3inboxLab://',
53+
native: 'web3inbox://',
5454
},
5555
};
5656

0 commit comments

Comments
 (0)