Rename proj

This commit is contained in:
Marc Rousavy 2021-02-19 20:50:41 +01:00
parent 040722defa
commit ffa2527849
6 changed files with 10 additions and 10 deletions

View File

@ -128,7 +128,7 @@ android {
} }
defaultConfig { defaultConfig {
applicationId "com.example.reactnativevisioncamera" applicationId "com.mrousavy.camera"
minSdkVersion rootProject.ext.minSdkVersion minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1 versionCode 1

View File

@ -4,7 +4,7 @@
* <p>This source code is licensed under the MIT license found in the LICENSE file in the root * <p>This source code is licensed under the MIT license found in the LICENSE file in the root
* directory of this source tree. * directory of this source tree.
*/ */
package com.example.reactnativevisioncamera; package com.mrousavy.camera;
import android.content.Context; import android.content.Context;
import com.facebook.flipper.android.AndroidFlipperClient; import com.facebook.flipper.android.AndroidFlipperClient;

View File

@ -1,5 +1,5 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.example.reactnativevisioncamera"> package="com.mrousavy.camera">
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.INTERNET" />

View File

@ -1,4 +1,4 @@
package com.example.reactnativevisioncamera; package com.mrousavy.camera.example;
import com.reactnativenavigation.NavigationActivity; import com.reactnativenavigation.NavigationActivity;

View File

@ -1,4 +1,4 @@
package com.example.reactnativevisioncamera; package com.mrousavy.camera.example;
import android.app.Application; import android.app.Application;
import android.content.Context; import android.content.Context;
@ -11,7 +11,7 @@ import com.facebook.react.ReactInstanceManager;
import com.facebook.soloader.SoLoader; import com.facebook.soloader.SoLoader;
import java.lang.reflect.InvocationTargetException; import java.lang.reflect.InvocationTargetException;
import java.util.List; import java.util.List;
import com.reactnativevisioncamera.VisionCameraPackage; import com.mrousavy.camera;
import com.facebook.react.bridge.JSIModulePackage; import com.facebook.react.bridge.JSIModulePackage;
import com.swmansion.reanimated.ReanimatedJSIModulePackage; import com.swmansion.reanimated.ReanimatedJSIModulePackage;
@ -70,7 +70,7 @@ public class MainApplication extends NavigationApplication {
We use reflection here to pick up the class that initializes Flipper, We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode since Flipper library is not available in release mode
*/ */
Class<?> aClass = Class.forName("com.reactnativevisioncameraExample.ReactNativeFlipper"); Class<?> aClass = Class.forName("com.mrousavy.camera.example.ReactNativeFlipper");
aClass aClass
.getMethod("initializeFlipper", Context.class, ReactInstanceManager.class) .getMethod("initializeFlipper", Context.class, ReactInstanceManager.class)
.invoke(null, context, reactInstanceManager); .invoke(null, context, reactInstanceManager);

View File

@ -334,7 +334,7 @@
"-ObjC", "-ObjC",
"-lc++", "-lc++",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativevisioncamera; PRODUCT_BUNDLE_IDENTIFIER = com.mrousavy.camera.example;
PRODUCT_NAME = VisionCameraExample; PRODUCT_NAME = VisionCameraExample;
SWIFT_OBJC_BRIDGING_HEADER = "VisionCameraExample-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "VisionCameraExample-Bridging-Header.h";
SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_OPTIMIZATION_LEVEL = "-Onone";
@ -358,7 +358,7 @@
"-ObjC", "-ObjC",
"-lc++", "-lc++",
); );
PRODUCT_BUNDLE_IDENTIFIER = com.example.reactnativevisioncamera; PRODUCT_BUNDLE_IDENTIFIER = com.mrousavy.camera.example;
PRODUCT_NAME = VisionCameraExample; PRODUCT_NAME = VisionCameraExample;
SWIFT_OBJC_BRIDGING_HEADER = "VisionCameraExample-Bridging-Header.h"; SWIFT_OBJC_BRIDGING_HEADER = "VisionCameraExample-Bridging-Header.h";
SWIFT_VERSION = 5.2; SWIFT_VERSION = 5.2;