Skip to content

Commit 563bf44

Browse files
committed
react-native example: rename app name to reactNative
1 parent 2fd036b commit 563bf44

File tree

24 files changed

+131
-133
lines changed

24 files changed

+131
-133
lines changed

examples/sdk/reactNative/Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ GEM
8484
netrc (0.11.0)
8585
nkf (0.2.0)
8686
public_suffix (4.0.7)
87-
rexml (3.3.7)
87+
rexml (3.3.8)
8888
ruby-macho (2.5.1)
8989
typhoeus (1.4.1)
9090
ethon (>= 0.9.0)

examples/sdk/reactNative/android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ android {
7777
buildToolsVersion rootProject.ext.buildToolsVersion
7878
compileSdk rootProject.ext.compileSdkVersion
7979

80-
namespace "com.rnbtexample"
80+
namespace "com.reactnative"
8181
defaultConfig {
82-
applicationId "com.rnbtexample"
82+
applicationId "com.reactnative"
8383
minSdkVersion rootProject.ext.minSdkVersion
8484
targetSdkVersion rootProject.ext.targetSdkVersion
8585
versionCode 1

examples/sdk/reactNative/android/app/src/main/java/com/rnbtexample/MainActivity.kt renamed to examples/sdk/reactNative/android/app/src/main/java/com/reactnative/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.rnbtexample
1+
package com.reactnative
22

33
import com.facebook.react.ReactActivity
44
import com.facebook.react.ReactActivityDelegate
@@ -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 = "rnbtexample"
14+
override fun getMainComponentName(): String = "reactNative"
1515

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

examples/sdk/reactNative/android/app/src/main/java/com/rnbtexample/MainApplication.kt renamed to examples/sdk/reactNative/android/app/src/main/java/com/reactnative/MainApplication.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package com.rnbtexample
1+
package com.reactnative
22

33
import android.app.Application
44
import com.facebook.react.PackageList
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">rnbtexample</string>
2+
<string name="app_name">reactNative</string>
33
</resources>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pluginManagement { includeBuild("../node_modules/@react-native/gradle-plugin") }
22
plugins { id("com.facebook.react.settings") }
33
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
4-
rootProject.name = 'rnbtexample'
4+
rootProject.name = 'reactNative'
55
include ':app'
66
includeBuild('../node_modules/@react-native/gradle-plugin')

examples/sdk/reactNative/app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"name": "rnbtexample",
3-
"displayName": "rnbtexample"
2+
"name": "reactNative",
3+
"displayName": "reactNative"
44
}

examples/sdk/reactNative/ios/Podfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if linkage != nil
1414
use_frameworks! :linkage => linkage.to_sym
1515
end
1616

17-
target 'rnbtexample' do
17+
target 'reactNative' do
1818
config = use_native_modules!
1919

2020
use_react_native!(
@@ -23,7 +23,7 @@ target 'rnbtexample' do
2323
:app_path => "#{Pod::Config.instance.installation_root}/.."
2424
)
2525

26-
target 'rnbtexampleTests' do
26+
target 'reactNativeTests' do
2727
inherit! :complete
2828
# Pods for testing
2929
end

examples/sdk/reactNative/ios/Podfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1791,6 +1791,6 @@ SPEC CHECKSUMS:
17911791
SocketRocket: abac6f5de4d4d62d24e11868d7a2f427e0ef940d
17921792
Yoga: 1354c027ab07c7736f99a3bef16172d6f1b12b47
17931793

1794-
PODFILE CHECKSUM: d64338a65a32495ba94bfbaf9cc9b04f6e061a37
1794+
PODFILE CHECKSUM: 6fa2621acccfd9f01af5d89eb0a98709ae3269a9
17951795

17961796
COCOAPODS: 1.15.2

examples/sdk/reactNative/ios/rnbtexample.xcodeproj/project.pbxproj renamed to examples/sdk/reactNative/ios/reactNative.xcodeproj/project.pbxproj

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

0 commit comments

Comments
 (0)