Skip to content

Commit 41b3424

Browse files
committed
Renames React Native project for GraphQL example
1 parent 3f33e84 commit 41b3424

File tree

17 files changed

+172
-172
lines changed

17 files changed

+172
-172
lines changed

examples/graphql-react-native-apollo/android/app/BUCK

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ android_library(
3535

3636
android_build_config(
3737
name = "build_config",
38-
package = "com.mswdemo",
38+
package = "com.GraphQLReactNativeApollo",
3939
)
4040

4141
android_resource(
4242
name = "res",
43-
package = "com.mswdemo",
43+
package = "com.GraphQLReactNativeApollo",
4444
res = "src/main/res",
4545
)
4646

examples/graphql-react-native-apollo/android/app/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ android {
129129
}
130130

131131
defaultConfig {
132-
applicationId "com.mswdemo"
132+
applicationId "com.GraphQLReactNativeApollo"
133133
minSdkVersion rootProject.ext.minSdkVersion
134134
targetSdkVersion rootProject.ext.targetSdkVersion
135135
versionCode 1

examples/graphql-react-native-apollo/android/app/src/debug/java/com/mswdemo/ReactNativeFlipper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
55
* directory of this source tree.
66
*/
7-
package com.mswdemo;
7+
package com.GraphQLReactNativeApollo;
88

99
import android.content.Context;
1010
import com.facebook.flipper.android.AndroidFlipperClient;

examples/graphql-react-native-apollo/android/app/src/main/AndroidManifest.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
2-
package="com.mswdemo">
2+
package="com.GraphQLReactNativeApollo">
33

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

examples/graphql-react-native-apollo/android/app/src/main/java/com/mswdemo/MainActivity.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.mswdemo;
1+
package com.GraphQLReactNativeApollo;
22

33
import com.facebook.react.ReactActivity;
44

@@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
1010
*/
1111
@Override
1212
protected String getMainComponentName() {
13-
return "MSWDemo";
13+
return "GraphQLReactNativeApollo";
1414
}
1515
}

examples/graphql-react-native-apollo/android/app/src/main/java/com/mswdemo/MainApplication.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.mswdemo;
1+
package com.GraphQLReactNativeApollo;
22

33
import android.app.Application;
44
import android.content.Context;
@@ -62,7 +62,7 @@ private static void initializeFlipper(
6262
We use reflection here to pick up the class that initializes Flipper,
6363
since Flipper library is not available in release mode
6464
*/
65-
Class<?> aClass = Class.forName("com.mswdemo.ReactNativeFlipper");
65+
Class<?> aClass = Class.forName("com.GraphQLReactNativeApollo.ReactNativeFlipper");
6666
aClass
6767
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
6868
.invoke(null, context, reactInstanceManager);
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<resources>
2-
<string name="app_name">MSWDemo</string>
2+
<string name="app_name">GraphQLReactNativeApollo</string>
33
</resources>
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
rootProject.name = 'MSWDemo'
1+
rootProject.name = 'GraphQLReactNativeApollo'
22
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
33
include ':app'

examples/graphql-react-native-apollo/ios/MSWDemo.xcodeproj/project.pbxproj

+126-126
Large diffs are not rendered by default.

examples/graphql-react-native-apollo/ios/MSWDemo.xcodeproj/xcshareddata/xcschemes/MSWDemo-tvOS.xcscheme

+12-12
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
1717
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
18-
BuildableName = "MSWDemo-tvOS.app"
19-
BlueprintName = "MSWDemo-tvOS"
20-
ReferencedContainer = "container:MSWDemo.xcodeproj">
18+
BuildableName = "GraphQLReactNativeApollo-tvOS.app"
19+
BlueprintName = "GraphQLReactNativeApollo-tvOS"
20+
ReferencedContainer = "container:GraphQLReactNativeApollo.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
2323
</BuildActionEntries>
@@ -33,9 +33,9 @@
3333
<BuildableReference
3434
BuildableIdentifier = "primary"
3535
BlueprintIdentifier = "2D02E48F1E0B4A5D006451C7"
36-
BuildableName = "MSWDemo-tvOSTests.xctest"
37-
BlueprintName = "MSWDemo-tvOSTests"
38-
ReferencedContainer = "container:MSWDemo.xcodeproj">
36+
BuildableName = "GraphQLReactNativeApollo-tvOSTests.xctest"
37+
BlueprintName = "GraphQLReactNativeApollo-tvOSTests"
38+
ReferencedContainer = "container:GraphQLReactNativeApollo.xcodeproj">
3939
</BuildableReference>
4040
</TestableReference>
4141
</Testables>
@@ -55,9 +55,9 @@
5555
<BuildableReference
5656
BuildableIdentifier = "primary"
5757
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
58-
BuildableName = "MSWDemo-tvOS.app"
59-
BlueprintName = "MSWDemo-tvOS"
60-
ReferencedContainer = "container:MSWDemo.xcodeproj">
58+
BuildableName = "GraphQLReactNativeApollo-tvOS.app"
59+
BlueprintName = "GraphQLReactNativeApollo-tvOS"
60+
ReferencedContainer = "container:GraphQLReactNativeApollo.xcodeproj">
6161
</BuildableReference>
6262
</BuildableProductRunnable>
6363
</LaunchAction>
@@ -72,9 +72,9 @@
7272
<BuildableReference
7373
BuildableIdentifier = "primary"
7474
BlueprintIdentifier = "2D02E47A1E0B4A5D006451C7"
75-
BuildableName = "MSWDemo-tvOS.app"
76-
BlueprintName = "MSWDemo-tvOS"
77-
ReferencedContainer = "container:MSWDemo.xcodeproj">
75+
BuildableName = "GraphQLReactNativeApollo-tvOS.app"
76+
BlueprintName = "GraphQLReactNativeApollo-tvOS"
77+
ReferencedContainer = "container:GraphQLReactNativeApollo.xcodeproj">
7878
</BuildableReference>
7979
</BuildableProductRunnable>
8080
</ProfileAction>

examples/graphql-react-native-apollo/ios/MSWDemo.xcodeproj/xcshareddata/xcschemes/MSWDemo.xcscheme

+12-12
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
<BuildableReference
1616
BuildableIdentifier = "primary"
1717
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
18-
BuildableName = "MSWDemo.app"
19-
BlueprintName = "MSWDemo"
20-
ReferencedContainer = "container:MSWDemo.xcodeproj">
18+
BuildableName = "GraphQLReactNativeApollo.app"
19+
BlueprintName = "GraphQLReactNativeApollo"
20+
ReferencedContainer = "container:GraphQLReactNativeApollo.xcodeproj">
2121
</BuildableReference>
2222
</BuildActionEntry>
2323
</BuildActionEntries>
@@ -33,9 +33,9 @@
3333
<BuildableReference
3434
BuildableIdentifier = "primary"
3535
BlueprintIdentifier = "00E356ED1AD99517003FC87E"
36-
BuildableName = "MSWDemoTests.xctest"
37-
BlueprintName = "MSWDemoTests"
38-
ReferencedContainer = "container:MSWDemo.xcodeproj">
36+
BuildableName = "GraphQLReactNativeApolloTests.xctest"
37+
BlueprintName = "GraphQLReactNativeApolloTests"
38+
ReferencedContainer = "container:GraphQLReactNativeApollo.xcodeproj">
3939
</BuildableReference>
4040
</TestableReference>
4141
</Testables>
@@ -55,9 +55,9 @@
5555
<BuildableReference
5656
BuildableIdentifier = "primary"
5757
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
58-
BuildableName = "MSWDemo.app"
59-
BlueprintName = "MSWDemo"
60-
ReferencedContainer = "container:MSWDemo.xcodeproj">
58+
BuildableName = "GraphQLReactNativeApollo.app"
59+
BlueprintName = "GraphQLReactNativeApollo"
60+
ReferencedContainer = "container:GraphQLReactNativeApollo.xcodeproj">
6161
</BuildableReference>
6262
</BuildableProductRunnable>
6363
</LaunchAction>
@@ -72,9 +72,9 @@
7272
<BuildableReference
7373
BuildableIdentifier = "primary"
7474
BlueprintIdentifier = "13B07F861A680F5B00A75B9A"
75-
BuildableName = "MSWDemo.app"
76-
BlueprintName = "MSWDemo"
77-
ReferencedContainer = "container:MSWDemo.xcodeproj">
75+
BuildableName = "GraphQLReactNativeApollo.app"
76+
BlueprintName = "GraphQLReactNativeApollo"
77+
ReferencedContainer = "container:GraphQLReactNativeApollo.xcodeproj">
7878
</BuildableReference>
7979
</BuildableProductRunnable>
8080
</ProfileAction>

examples/graphql-react-native-apollo/ios/MSWDemo.xcworkspace/contents.xcworkspacedata

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

examples/graphql-react-native-apollo/ios/MSWDemo/AppDelegate.m

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
3333

3434
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
3535
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
36-
moduleName:@"MSWDemo"
36+
moduleName:@"GraphQLReactNativeApollo"
3737
initialProperties:nil];
3838

3939
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];

examples/graphql-react-native-apollo/ios/MSWDemo/Info.plist

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<key>CFBundleDevelopmentRegion</key>
66
<string>en</string>
77
<key>CFBundleDisplayName</key>
8-
<string>MSWDemo</string>
8+
<string>GraphQLReactNativeApollo</string>
99
<key>CFBundleExecutable</key>
1010
<string>$(EXECUTABLE_NAME)</string>
1111
<key>CFBundleIdentifier</key>

examples/graphql-react-native-apollo/ios/MSWDemo/LaunchScreen.storyboard

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
2323
<nil key="highlightedColor"/>
2424
</label>
25-
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MSWDemo" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
25+
<label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GraphQLReactNativeApollo" textAlignment="center" lineBreakMode="middleTruncation" baselineAdjustment="alignBaselines" minimumFontSize="18" translatesAutoresizingMaskIntoConstraints="NO" id="GJd-Yh-RWb">
2626
<rect key="frame" x="0.0" y="202" width="375" height="43"/>
2727
<fontDescription key="fontDescription" type="boldSystem" pointSize="36"/>
2828
<color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>

examples/graphql-react-native-apollo/ios/MSWDemoTests/MSWDemoTests.m

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
#define TIMEOUT_SECONDS 600
88
#define TEXT_TO_LOOK_FOR @"Welcome to React"
99

10-
@interface MSWDemoTests : XCTestCase
10+
@interface GraphQLReactNativeApolloTests : XCTestCase
1111

1212
@end
1313

14-
@implementation MSWDemoTests
14+
@implementation GraphQLReactNativeApolloTests
1515

1616
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
1717
{

examples/graphql-react-native-apollo/ios/Podfile

+5-5
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ require_relative '../node_modules/@react-native-community/cli-platform-ios/nativ
33

44
platform :ios, '10.0'
55

6-
target 'MSWDemo' do
6+
target 'GraphQLReactNativeApollo' do
77
config = use_native_modules!
88

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

11-
target 'MSWDemoTests' do
11+
target 'GraphQLReactNativeApolloTests' do
1212
inherit! :complete
1313
# Pods for testing
1414
end
@@ -23,10 +23,10 @@ target 'MSWDemo' do
2323
end
2424
end
2525

26-
target 'MSWDemo-tvOS' do
27-
# Pods for MSWDemo-tvOS
26+
target 'GraphQLReactNativeApollo-tvOS' do
27+
# Pods for GraphQLReactNativeApollo-tvOS
2828

29-
target 'MSWDemo-tvOSTests' do
29+
target 'GraphQLReactNativeApollo-tvOSTests' do
3030
inherit! :search_paths
3131
# Pods for testing
3232
end

0 commit comments

Comments
 (0)