Skip to content

Commit 02d58dc

Browse files
committed
Renames React Native project for GraphQL example
1 parent 680768c commit 02d58dc

File tree

17 files changed

+172
-172
lines changed

17 files changed

+172
-172
lines changed

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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 2 additions & 2 deletions
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);
Lines changed: 1 addition & 1 deletion
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>
Lines changed: 1 addition & 1 deletion
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

Lines changed: 126 additions & 126 deletions
Large diffs are not rendered by default.

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

Lines changed: 12 additions & 12 deletions
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>

0 commit comments

Comments
 (0)