Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename chat.expensify.com to expensify.cash in display names #975

Merged
merged 8 commits into from
Dec 16, 2020
Merged
Show file tree
Hide file tree
Changes from 7 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# React Native Chat
# [Expensify.cash](https://Expensify.cash)

# Philosophy
This application is built with the following principles.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
return "ReactNativeChat";
return "ExpensifyCash";
}
}
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">Chat</string>
<string name="app_name">Expensify.cash</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 = 'ReactNativeChat'
rootProject.name = 'ExpensifyCash'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not a blocker but we could also do ExpensifyDotCash to mimic how we say usedot.

include ':react-native-config'
project(':react-native-config').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-config/android')
include ':@react-native-community_async-storage'
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": "ReactNativeChat",
"displayName": "ReactNativeChat"
"name": "ExpensifyCash",
"displayName": "Expensify Cash"
}
6 changes: 3 additions & 3 deletions config/electron.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module.exports = {
appId: 'com.expensifyreactnative.chat',
productName: 'Chat',
productName: 'Expensify.cash',
extraMetadata: {
main: './desktop/main.js',
},
Expand All @@ -14,8 +14,8 @@ module.exports = {
type: 'distribution'
},
dmg: {
title: 'Chat',
artifactName: 'Chat.dmg',
title: 'Expensify.cash',
artifactName: 'Expensify.cash.dmg',
internetEnabled: true
},
publish: [{
Expand Down
6 changes: 3 additions & 3 deletions desktop/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ app.commandLine.appendSwitch('disable-web-security');
// See https://github.com/sindresorhus/electron-context-menu
contextMenu();

// Send all autoUpdater logs to a log file: ~/Library/Logs/react-native-chat/main.log
// Send all autoUpdater logs to a log file: ~/Library/Logs/expensify.cash/main.log
// See https://www.npmjs.com/package/electron-log
autoUpdater.logger = log;
autoUpdater.logger.transports.file.level = 'info';

// Send all Console logs to a log file: ~/Library/Logs/react-native-chat/main.log
// Send all Console logs to a log file: ~/Library/Logs/expensify.cash/main.log
// See https://www.npmjs.com/package/electron-log
Object.assign(console, log.functions);

Expand Down Expand Up @@ -79,7 +79,7 @@ const mainWindow = (() => {
const windowMenu = systemMenu.items.find(item => item.role === 'windowmenu');
windowMenu.submenu.append(new MenuItem({type: 'separator'}));
windowMenu.submenu.append(new MenuItem({
label: 'Expensify Chat',
label: 'Expensify.cash',
accelerator: 'CmdOrCtrl+1',
click: () => browserWindow.show()
}));
Expand Down
8 changes: 4 additions & 4 deletions detox.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ module.exports = {
runnerConfig: 'tests/e2e/config.json',
configurations: {
'ios.sim.debug': {
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/Chat.app',
build: 'xcodebuild -workspace ios/ReactNativeChat.xcworkspace -scheme ReactNativeChat -configuration '
binaryPath: 'ios/build/Build/Products/Debug-iphonesimulator/expensify.cash.app',
build: 'xcodebuild -workspace ios/ExpensifyCash.xcworkspace -scheme ExpensifyCash -configuration '
+ 'Debug -sdk iphonesimulator -derivedDataPath ios/build | xcpretty',
type: 'ios.simulator',
name: 'iPhone 11'
},
'ios.sim.release': {
binaryPath: 'ios/build/Build/Products/Release-iphonesimulator/Chat.app',
build: 'xcodebuild -workspace ios/ReactNativeChat.xcworkspace -scheme ReactNativeChat -configuration '
binaryPath: 'ios/build/Build/Products/Release-iphonesimulator/expensify.cash.app',
build: 'xcodebuild -workspace ios/ExpensifyCash.xcworkspace -scheme ExpensifyCash -configuration '
+ 'Release -sdk iphonesimulator -derivedDataPath ios/build | xcpretty',
type: 'ios.simulator',
name: 'iPhone 11'
Expand Down
8 changes: 4 additions & 4 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ platform :ios do
ENV["ENVFILE"]=".env.production"

build_app(
workspace: "./ios/ReactNativeChat.xcworkspace",
scheme: "ReactNativeChat"
workspace: "./ios/ExpensifyCash.xcworkspace",
scheme: "ExpensifyCash"
)
end

Expand Down Expand Up @@ -83,8 +83,8 @@ platform :ios do
)

build_app(
workspace: "./ios/ReactNativeChat.xcworkspace",
scheme: "ReactNativeChat"
workspace: "./ios/ExpensifyCash.xcworkspace",
scheme: "ExpensifyCash"
)

upload_to_testflight(
Expand Down

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 = "Chat.app"
BlueprintName = "ReactNativeChat"
ReferencedContainer = "container:ReactNativeChat.xcodeproj">
BuildableName = "Expensify.cash.app"
BlueprintName = "ExpensifyCash"
ReferencedContainer = "container:ExpensifyCash.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
Expand All @@ -33,9 +33,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
BuildableName = "ReactNativeChatTests.xctest"
BlueprintName = "ReactNativeChatTests"
ReferencedContainer = "container:ReactNativeChat.xcodeproj">
BuildableName = "ExpensifyCashTests.xctest"
BlueprintName = "ExpensifyCashTests"
ReferencedContainer = "container:ExpensifyCash.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
Expand All @@ -55,9 +55,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Chat.app"
BlueprintName = "ReactNativeChat"
ReferencedContainer = "container:ReactNativeChat.xcodeproj">
BuildableName = "Expensify.cash.app"
BlueprintName = "ExpensifyCash"
ReferencedContainer = "container:ExpensifyCash.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</LaunchAction>
Expand All @@ -72,9 +72,9 @@
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
BuildableName = "Chat.app"
BlueprintName = "ReactNativeChat"
ReferencedContainer = "container:ReactNativeChat.xcodeproj">
BuildableName = "Expensify.cash.app"
BlueprintName = "ExpensifyCash"
ReferencedContainer = "container:ExpensifyCash.xcodeproj">
</BuildableReference>
</BuildableProductRunnable>
</ProfileAction>
Expand Down

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

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

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

rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,35 +23,35 @@
<key>CFBundleVersion</key>
<string>261</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false />
<false/>
<key>LSRequiresIPhoneOS</key>
<true />
<true/>
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true />
<true/>
<key>NSExceptionDomains</key>
<dict>
<key>localhost</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true />
<true/>
<key>NSIncludesSubdomains</key>
<true />
<true/>
</dict>
<key>www.expensify.com.dev</key>
<dict>
<key>NSExceptionAllowsInsecureHTTPLoads</key>
<true />
<true/>
<key>NSIncludesSubdomains</key>
<true />
<true/>
</dict>
</dict>
</dict>
<key>NSCameraUsageDescription</key>
<string>Your camera is used to create chat attachments.</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string />
<string></string>
<key>NSPhotoLibraryAddUsageDescription</key>
<string>Your camera roll is used to store chat attachments.</string>
<key>NSPhotoLibraryUsageDescription</key>
Expand Down Expand Up @@ -86,6 +86,6 @@
<string>UIInterfaceOrientationPortraitUpsideDown</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false />
<false/>
</dict>
</plist>
File renamed without changes.
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 ReactNativeChatTests : XCTestCase
@interface ExpensifyCashTests : XCTestCase

@end

@implementation ReactNativeChatTests
@implementation ExpensifyCashTests

- (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,12 +3,12 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ

platform :ios, '11.0'

target 'ReactNativeChat' do
target 'ExpensifyCash' do
config = use_native_modules!

use_react_native!(:path => config["reactNativePath"])

target 'ReactNativeChatTests' do
target 'ExpensifyCashTests' do
inherit! :complete
# Pods for testing
end
Expand Down
4 changes: 2 additions & 2 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,6 @@ SPEC CHECKSUMS:
Yoga: 7d13633d129fd179e01b8953d38d47be90db185a
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: d03a22d8299d9564ca7fc55d0a779f6fbf0d2b37
PODFILE CHECKSUM: 96882cac17249b4e6e01afb5d10b1762a5191341

COCOAPODS: 1.8.4
COCOAPODS: 1.10.0
2 changes: 1 addition & 1 deletion package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "react-native-chat",
"name": "expensify.cash",
"version": "1.0.1-260",
"author": "Expensify, Inc.",
"homepage": "https://expensify.com",
"description": "Expensify Chat",
"homepage": "https://expensify.cash",
"description": "Expensify.cash is the next generation of Expensify: a reimagination of payments based atop a foundation of chat.",
"license": "MIT",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/CONFIG.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default {
APP_KEY: Config.PUSHER_APP_KEY,
CLUSTER: 'mt1',
},
SITE_TITLE: 'Chat',
SITE_TITLE: 'Expensify.cash',
FAVICON: {
DEFAULT: 'favicon.png',
UNREAD: 'favicon-unread.png'
Expand Down
2 changes: 1 addition & 1 deletion src/libs/actions/Session.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function signIn(partnerUserID, partnerUserSecret, twoFactorAuthCode = '', exitTo
// After the user authenticates, create a new login for the user so that we can reauthenticate when the
// authtoken expires
.then((authenticateResponse) => {
const login = Str.guid('react-native-chat-');
const login = Str.guid('expensify.cash-');
const password = Str.guid();

API.CreateLogin({
Expand Down
2 changes: 1 addition & 1 deletion src/pages/home/sidebar/AppLinks/index.website.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const AppLinks = () => (
<>
<Text
style={[styles.sidebarFooterLink, styles.mr2]}
onPress={() => openURLInNewTab('https://chat.expensify.com/Chat.dmg')}
onPress={() => openURLInNewTab('https://chat.expensify.com/Expensify.cash.dmg')}
>
Desktop
</Text>
Expand Down
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title>Chat</title>
<title>Expensify.cash</title>
<style>
@font-face {
font-family: GTAmericaExp-Regular;
Expand Down