Skip to content

Commit

Permalink
name change wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nishkohli96 committed Sep 6, 2021
1 parent 6603054 commit 906fdd1
Show file tree
Hide file tree
Showing 13 changed files with 15 additions and 9,335 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# RnTemplate
# react-native-libs

**"An Ideal app-template to start your next `react-native` project."**

Expand Down
4 changes: 2 additions & 2 deletions android/app/_BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ android_library(

android_build_config(
name = "build_config",
package = "com.nish.rntemplate",
package = "com.nish.reactnativelibs",
)

android_resource(
name = "res",
package = "com.nish.rntemplate",
package = "com.nish.reactnativelibs",
res = "src/main/res",
)

Expand Down
2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ android {
compileSdkVersion rootProject.ext.compileSdkVersion

defaultConfig {
applicationId "com.nish.rntemplate"
applicationId "com.nish.reactnativelibs"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree.
*/
package com.nish.rntemplate;
package com.nish.reactnativelibs;

import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient;
Expand Down
2 changes: 1 addition & 1 deletion android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.nish.rntemplate">
package="com.nish.reactnativelibs">

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.nish.rntemplate;
package com.nish.reactnativelibs;

import com.facebook.react.ReactActivity;

Expand All @@ -10,6 +10,6 @@ public class MainActivity extends ReactActivity {
*/
@Override
protected String getMainComponentName() {
return "RnTemplate";
return "RnNativeLibs";
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.nish.rntemplate;
package com.nish.reactnativelibs;

import android.os.Bundle;
import android.app.Application;
Expand Down Expand Up @@ -64,7 +64,7 @@ private static void initializeFlipper(
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("com.nish.rntemplate.ReactNativeFlipper");
Class<?> aClass = Class.forName("com.nish.reactnativelibs.ReactNativeFlipper");
aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager);
Expand Down
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">RnTemplate</string>
<string name="app_name">ReactNativeLibs</string>
</resources>
2 changes: 1 addition & 1 deletion android/settings.gradle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
rootProject.name = 'RnTemplate'
rootProject.name = 'ReactNativeLibs'
apply from: file("../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesSettingsGradle(settings)
include ':app'
4 changes: 2 additions & 2 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "RnTemplate",
"displayName": "RnTemplate"
"name": "ReactNativeLibs",
"displayName": "ReactNativeLibs"
}
6 changes: 0 additions & 6 deletions ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -361,8 +361,6 @@ PODS:
- React-perflogger (= 0.65.1)
- RNCAsyncStorage (1.15.7):
- React-Core
- RNCPicker (1.16.7):
- React-Core
- RNGestureHandler (1.10.3):
- React-Core
- RNReanimated (1.13.3):
Expand Down Expand Up @@ -434,7 +432,6 @@ DEPENDENCIES:
- React-runtimeexecutor (from `../node_modules/react-native/ReactCommon/runtimeexecutor`)
- ReactCommon/turbomodule/core (from `../node_modules/react-native/ReactCommon`)
- "RNCAsyncStorage (from `../node_modules/@react-native-async-storage/async-storage`)"
- "RNCPicker (from `../node_modules/@react-native-picker/picker`)"
- RNGestureHandler (from `../node_modules/react-native-gesture-handler`)
- RNReanimated (from `../node_modules/react-native-reanimated`)
- RNScreens (from `../node_modules/react-native-screens`)
Expand Down Expand Up @@ -525,8 +522,6 @@ EXTERNAL SOURCES:
:path: "../node_modules/react-native/ReactCommon"
RNCAsyncStorage:
:path: "../node_modules/@react-native-async-storage/async-storage"
RNCPicker:
:path: "../node_modules/@react-native-picker/picker"
RNGestureHandler:
:path: "../node_modules/react-native-gesture-handler"
RNReanimated:
Expand Down Expand Up @@ -586,7 +581,6 @@ SPEC CHECKSUMS:
React-runtimeexecutor: 85187f19dd9c47a7c102f9994f9d14e4dc2110de
ReactCommon: eafed38eec7b591c31751bfa7494801618460459
RNCAsyncStorage: 7102fe8985f889579a3ae148d957bbb3f308122b
RNCPicker: 9865e85857650bbc553c660acc580ff86abd056a
RNGestureHandler: a479ebd5ed4221a810967000735517df0d2db211
RNReanimated: 514a11da3a2bcc6c3dfd9de32b38e2b9bf101926
RNScreens: eb0dfb2d6b21d2d7f980ad46b14eb306d2f1062e
Expand Down
Loading

0 comments on commit 906fdd1

Please sign in to comment.