fix: Fix autolinking for android (#231)
* Create `react-native.config.js` * Update react-native.config.js * Create dummy CameraPackage as proxy for CLI
This commit is contained in:
parent
08d04d1be1
commit
9dad027b41
3
android-npm/src/AndroidManifest.xml
Normal file
3
android-npm/src/AndroidManifest.xml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
package="com.mrousavy.camera">
|
||||||
|
</manifest>
|
@ -0,0 +1,8 @@
|
|||||||
|
package com.mrousavy.camera;
|
||||||
|
|
||||||
|
import com.facebook.react.ReactPackage;
|
||||||
|
import com.mrousavy.camera.CameraPackage;
|
||||||
|
|
||||||
|
public class CameraPackage implements ReactPackage {
|
||||||
|
// dummy package
|
||||||
|
}
|
@ -14,6 +14,7 @@
|
|||||||
"lib/typescript",
|
"lib/typescript",
|
||||||
"android/build.gradle",
|
"android/build.gradle",
|
||||||
"android/*.aar",
|
"android/*.aar",
|
||||||
|
"android/src",
|
||||||
"ios/**/*.h",
|
"ios/**/*.h",
|
||||||
"ios/**/*.m",
|
"ios/**/*.m",
|
||||||
"ios/**/*.mm",
|
"ios/**/*.mm",
|
||||||
@ -23,6 +24,7 @@
|
|||||||
"cpp/**/*.h",
|
"cpp/**/*.h",
|
||||||
"cpp/**/*.cpp",
|
"cpp/**/*.cpp",
|
||||||
"VisionCamera.podspec",
|
"VisionCamera.podspec",
|
||||||
|
"react-native.config.js",
|
||||||
"README.md"
|
"README.md"
|
||||||
],
|
],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user