Android: Fix a few things that went broke
This commit is contained in:
parent
3089a99ae8
commit
7bcbc2506f
@ -1,5 +1,5 @@
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.mrousavy.camera">
|
||||
package="com.mrousavy.camera.example">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
|
||||
|
@ -1,6 +1,5 @@
|
||||
package com.mrousavy.camera.example;
|
||||
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
import com.facebook.react.PackageList;
|
||||
import com.reactnativenavigation.NavigationApplication;
|
||||
@ -8,10 +7,9 @@ import com.facebook.react.ReactNativeHost;
|
||||
import com.reactnativenavigation.react.NavigationReactNativeHost;
|
||||
import com.facebook.react.ReactPackage;
|
||||
import com.facebook.react.ReactInstanceManager;
|
||||
import com.facebook.soloader.SoLoader;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
import java.util.List;
|
||||
import com.mrousavy.camera;
|
||||
import com.mrousavy.camera.CameraPackage;
|
||||
|
||||
import com.facebook.react.bridge.JSIModulePackage;
|
||||
import com.swmansion.reanimated.ReanimatedJSIModulePackage;
|
||||
@ -31,7 +29,7 @@ public class MainApplication extends NavigationApplication {
|
||||
List<ReactPackage> packages = new PackageList(this).getPackages();
|
||||
// Packages that cannot be autolinked yet can be added manually here, for VisionCameraExample:
|
||||
// packages.add(new MyReactNativePackage());
|
||||
packages.add(new VisionCameraPackage());
|
||||
packages.add(new CameraPackage());
|
||||
return packages;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user