Commit c1bff884 by Denglingling

调整安卓、IOS配置:1、新增插件`rn-fetch-blob`支持下载;2、新增根据配置版本,自动修改两个环境版本号;3、新增两个环境获取版本信息相关功能等

parent 6b897e07
......@@ -18,3 +18,4 @@
- 基于 `react-native-splash-screen` 实现 `APP` 启动页布局
- 基于 `react-native-camera` 实现扫描条形码功能
- 基于 `react-native-image-zoom-viewer` 实现图片放大功能
- 基于 `rn-fetch-blob` 实现下载文件
apply plugin: "com.android.application"
import com.android.build.OutputFile
import groovy.json.JsonSlurper
/**
* The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
......@@ -76,7 +77,7 @@ project.ext.react = [
entryFile: "index.js"
]
apply from: "../../node_modules/react-native/react.gradle"
//apply from: "../../node_modules/react-native/react.gradle"
/**
* Set this to true to create two separate APKs instead of one:
......@@ -93,8 +94,18 @@ def enableSeparateBuildPerCPUArchitecture = false
*/
def enableProguardInReleaseBuilds = false
//获取配置文件的版本信息
def getAppVersion() {
def inputFile = new File("../package.json")
def packageJson = new JsonSlurper().parseText(inputFile.text)
return packageJson["version"]
}
def appVersion = getAppVersion()
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
......@@ -106,7 +117,7 @@ android {
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 1
versionName "1.1.4"
versionName appVersion
missingDimensionStrategy 'react-native-camera', 'general'
}
splits {
......@@ -155,16 +166,27 @@ static def releaseTime() {
}
dependencies {
implementation project(':rn-fetch-blob')
implementation project(':react-native-fs')
implementation project(':react-native-date-picker')
implementation project(':react-native-image-picker')
implementation project(':react-native-camera')
implementation project(':react-native-splash-screen')
implementation project(':react-native-date-picker')
implementation project(':react-native-sound')
implementation project(':react-native-audio')
implementation project(':react-native-gesture-handler')
implementation project(':react-native-image-picker')
implementation fileTree(dir: "libs", include: ["*.jar"])
implementation "com.android.support:appcompat-v7:${rootProject.ext.supportLibVersion}"
implementation "com.facebook.react:react-native:+" // From node_modules
// implementation fileTree(dir: 'libs', include: ['*.jar'])
// implementation "androidx.multidex:multidex:2.0.0"
// implementation 'androidx.appcompat:appcompat:1.0.2'
// implementation 'androidx.core:core:1.0.1'
// implementation 'androidx.legacy:legacy-support-v4:1.0.0'
// implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
// implementation 'androidx.annotation:annotation:1.0.1'
// implementation 'com.google.android.material:material:1.1.0-alpha02'
}
// Run this once to be able to run the application with BUCK
......
......@@ -14,6 +14,8 @@
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.DOWNLOAD_WITHOUT_NOTIFICATION" />
<uses-permission android:name="android.permission.REQUEST_INSTALL_PACKAGES"/>
<application
android:name=".MainApplication"
......@@ -32,9 +34,19 @@
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
<action android:name="android.intent.action.DOWNLOAD_COMPLETE"/>
</intent-filter>
</activity>
<activity android:name="com.facebook.react.devsupport.DevSettingsActivity" />
<provider
android:name="androidx.core.content.FileProvider"
android:authorities="${applicationId}.provider"
android:exported="false"
android:grantUriPermissions="true">
<meta-data
android:name="android.support.FILE_PROVIDER_PATHS"
android:resource="@xml/provider_paths"/>
</provider>
</application>
</manifest>
This diff could not be displayed because it is too large.
......@@ -3,13 +3,15 @@ package com.bonehouse_business_app;
import android.app.Application;
import com.facebook.react.ReactApplication;
import com.RNFetchBlob.RNFetchBlobPackage;
import com.rnfs.RNFSPackage;
import com.henninghall.date_picker.DatePickerPackage;
import com.imagepicker.ImagePickerPackage;
import org.reactnative.camera.RNCameraPackage;
import org.devio.rn.splashscreen.SplashScreenReactPackage;
import com.henninghall.date_picker.DatePickerPackage;
import com.zmxv.RNSound.RNSoundPackage;
import com.rnim.rn.audio.ReactNativeAudioPackage;
import com.swmansion.gesturehandler.react.RNGestureHandlerPackage;
import com.imagepicker.ImagePickerPackage;
import com.facebook.react.ReactNativeHost;
import com.facebook.react.ReactPackage;
import com.facebook.react.shell.MainReactPackage;
......@@ -31,14 +33,17 @@ public class MainApplication extends Application implements ReactApplication {
protected List<ReactPackage> getPackages() {
return Arrays.<ReactPackage>asList(
new MainReactPackage(),
new RNFetchBlobPackage(),
new RNFSPackage(),
new DatePickerPackage(),
new ImagePickerPackage(),
new RNCameraPackage(),
new SplashScreenReactPackage(),
new DatePickerPackage(),
new RNSoundPackage(),
new ReactNativeAudioPackage(),
new RNGestureHandlerPackage(),
new ImagePickerPackage(),
new OpenSettingsPackage() /* add */
new OpenSettingsPackage(), /* add */
new RNToolsPackage() /* add */
);
}
......
package com.bonehouse_business_app;
import com.facebook.react.bridge.Callback;
import com.facebook.react.bridge.Promise;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.bridge.ReactContextBaseJavaModule;
import com.facebook.react.bridge.ReactMethod;
import com.facebook.react.uimanager.IllegalViewOperationException;
import android.content.Intent;
import android.content.pm.PackageInfo;
import android.content.pm.PackageManager;
import android.net.Uri;
import com.imagepicker.FileProvider;
import java.io.File;
public class RNToolsManager extends ReactContextBaseJavaModule {
public RNToolsManager(ReactApplicationContext reactContext) {
super(reactContext);
}
// 重写getName方法声明Module类名称,在RN调用时用到
@Override
public String getName() {
return "RNToolsManager";
}
// 声明的获取版本号方法,外界调用
@ReactMethod
public void getAppVersion(Callback successCallback) {
try {
PackageInfo info = getPackageInfo();
if (info != null) {
successCallback.invoke(info.versionName);
} else {
successCallback.invoke("");
}
} catch (IllegalViewOperationException e) {
}
}
// 获取 APP 信息
private PackageInfo getPackageInfo() {
PackageManager manager = getReactApplicationContext().getPackageManager();
PackageInfo info = null;
try {
info = manager.getPackageInfo(getReactApplicationContext().getPackageName(), 0);
return info;
} catch (Exception e) {
e.printStackTrace();
} finally {
return info;
}
}
// 声明的下载方法,外界调用
@ReactMethod
public void openInstallActivity(String path) {
try {
File file = new File(path);
Intent intent = new Intent(Intent.ACTION_VIEW);
intent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);
Uri uri = FileProvider.getUriForFile(getReactApplicationContext(), "com.bonehouse_business_app.provider", file);
intent.setDataAndType(uri, "application/vnd.android.package-archive");
intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
getCurrentActivity().startActivity(intent);
} catch (Exception e) {
e.printStackTrace();
}
}
// // 声明的设置域名方法,外界调用
// @ReactMethod
// public void getBaseUrl(Promise promise) {
// String STRING_API_ENV = getReactApplicationContext().getResources().getString(R.string.strKey); // 需要在 android/app/build.gradle 添加'productFlavors'
// promise.resolve(STRING_API_ENV);
// }
}
\ No newline at end of file
package com.bonehouse_business_app;
import com.facebook.react.ReactPackage;
import com.facebook.react.bridge.NativeModule;
import com.facebook.react.bridge.ReactApplicationContext;
import com.facebook.react.uimanager.ViewManager;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
public class RNToolsPackage implements ReactPackage {
@Override
public List<ViewManager> createViewManagers(ReactApplicationContext reactContext) {
return Collections.emptyList();
}
@Override
public List<NativeModule> createNativeModules( ReactApplicationContext reactContext) {
List<NativeModule> modules = new ArrayList<>();
// 添加一个安卓原生的activity模块
modules.add(new RNToolsManager(reactContext));
return modules;
}
}
\ No newline at end of file
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
subprojects {
afterEvaluate {project ->
if (project.hasProperty("android")) {
android {
compileSdkVersion compileSdkVersion
buildToolsVersion "$buildToolsVersion"
}
}
}
}
ext {
buildToolsVersion = "28.0.3"
minSdkVersion = 16
compileSdkVersion = 28
targetSdkVersion = 28
supportLibVersion = "28.0.0"
supportLibVersion = "25.0.0"
}
repositories {
google()
jcenter()
maven {
url 'https://maven.google.com/'
name 'Google'
}
maven {url 'http://developer.huawei.com/repo/'}
}
dependencies {
classpath("com.android.tools.build:gradle:3.4.0")
// classpath('com.android.tools.build:gradle')
classpath 'com.android.tools.build:gradle:3.4.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
......@@ -33,7 +41,13 @@ allprojects {
// All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
url "$rootDir/../node_modules/react-native/android"
}
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
maven {
// Android JSC is installed from npm
url("$rootDir/../node_modules/jsc-android/dist")
}
maven { url 'https://www.jitpack.io' }
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
\ No newline at end of file
......@@ -16,5 +16,5 @@
# This option should only be used with decoupled projects. More details, visit
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.enableJetifier=true
android.useAndroidX=true
\ No newline at end of file
android.useAndroidX = true
android.enableJetifier = true
\ No newline at end of file
#Wed Dec 16 18:33:06 CST 2020
#Sat Jan 02 21:01:55 CST 2021
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
......
rootProject.name = 'BoneHouse_Business_APP'
include ':rn-fetch-blob'
project(':rn-fetch-blob').projectDir = new File(rootProject.projectDir, '../node_modules/rn-fetch-blob/android')
include ':react-native-fs'
project(':react-native-fs').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-fs/android')
include ':react-native-date-picker'
project(':react-native-date-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-date-picker/android')
include ':react-native-image-picker'
project(':react-native-image-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-picker/android')
include ':react-native-camera'
project(':react-native-camera').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-camera/android')
include ':react-native-splash-screen'
project(':react-native-splash-screen').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-splash-screen/android')
include ':react-native-date-picker'
project(':react-native-date-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-date-picker/android')
include ':react-native-sound'
project(':react-native-sound').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-sound/android')
include ':react-native-audio'
project(':react-native-audio').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-audio/android')
include ':react-native-gesture-handler'
project(':react-native-gesture-handler').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-gesture-handler/android')
include ':react-native-image-picker'
project(':react-native-image-picker').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-image-picker/android')
include ':app'
......@@ -32,6 +32,7 @@ export const GetRequest = (BaseUrl, url) => {
},
timeout: 300000 //5min超时
};
console.log('BaseUrl + VERSION + url---', BaseUrl + VERSION + url)
return fetch(BaseUrl + VERSION + url, opts)
.then(response => response.json())
.then(data => data)
......
......@@ -24,6 +24,7 @@
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; };
2BE5610555C946D89A21B1C0 /* libRNFS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6150E1F0F80C4DD8AC8EC136 /* libRNFS.a */; };
2D02E4BC1E0B4A80006451C7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
2D02E4BD1E0B4A84006451C7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
2D02E4BF1E0B4AB3006451C7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
......@@ -37,15 +38,17 @@
2D16E6881FA4F8E400B85C8A /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D16E6891FA4F8E400B85C8A /* libReact.a */; };
2DCD954D1E0B4F2C00145EB5 /* BoneHouse_Business_APPTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* BoneHouse_Business_APPTests.m */; };
2DF0FFEE2056DD460020B375 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; };
45B67B07A6F24364958008AE /* libRNImagePicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 2D4D9542CFEE42C4BBA1A4E3 /* libRNImagePicker.a */; };
4F17B6D52CF042A5A3F04B91 /* libRNDatePicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = EF36AE3E9AEC4CE4BFFDCB3C /* libRNDatePicker.a */; };
5D804E4863954EA583B5D90F /* libRNSound.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C3CA8CE00B9B42E8BBF11B98 /* libRNSound.a */; };
82855D28932B453CA64B5CA8 /* libRNCamera.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 05622A2B3A2E4DBA93BA0D23 /* libRNCamera.a */; };
67CDCA27ED3044CA89FA058C /* libRNFetchBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 99185D2E8C7346169CA04346 /* libRNFetchBlob.a */; };
832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; };
94DCA5E1D7C84D118DC1E066 /* libRNGestureHandler.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5CD7C0189FD94182AED36C93 /* libRNGestureHandler.a */; };
984643DE248120A5000A6140 /* Launch Screen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 984643DD248120A5000A6140 /* Launch Screen.storyboard */; };
986F55C174B94E8598EEB66B /* libRNDatePicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 658FFB1AFB224BDE811B5514 /* libRNDatePicker.a */; };
98EFB98B25BE775600D1817E /* RNToolsManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 98EFB98A25BE775600D1817E /* RNToolsManager.m */; };
A32499D5AE884F6F872774E4 /* libRNGestureHandler-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A3D4AB90D45046B6BFE7C6D9 /* libRNGestureHandler-tvOS.a */; };
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
B21E0069E2F74E76AC5B7C53 /* libRNImagePicker.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9AE4A33916D44320956925BE /* libRNImagePicker.a */; };
C73C173FF748404386784183 /* libRNCamera.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C50A325303BF4E8BA7300672 /* libRNCamera.a */; };
ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; };
ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; };
FDA8A7E8CF7E4533BFCAF6DF /* libSplashScreen.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 9FE3EE95F749487AA78654B1 /* libSplashScreen.a */; };
......@@ -290,6 +293,13 @@
remoteGlobalIDString = 58B5119B1A9E6C1200147676;
remoteInfo = RCTText;
};
98171218259EA42C005E4032 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 46CA58B6810344E3B120B362 /* RNCamera.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 4107012F1ACB723B00C6AA39;
remoteInfo = RNCamera;
};
9846431F248115E6000A6140 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 2B2E7359DA4943E3940FC60E /* SplashScreen.xcodeproj */;
......@@ -297,12 +307,40 @@
remoteGlobalIDString = 3D7682761D8E76B80014119E;
remoteInfo = SplashScreen;
};
98D92D6B24BD8FC400280FE9 /* PBXContainerItemProxy */ = {
9849954C25A07FD70007010F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = AAAAD0EF95A340EBB8C14FF4 /* RNCamera.xcodeproj */;
containerPortal = 499CE5719E764FE3A7065349 /* RNDatePicker.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 4107012F1ACB723B00C6AA39;
remoteInfo = RNCamera;
remoteGlobalIDString = DA5891D81BA9A9FC002B4DB2;
remoteInfo = RNDatePicker;
};
9849954F25A07FD70007010F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 20B6B7D1BF004469A4D666B6 /* RNImagePicker.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 014A3B5C1C6CF33500B6D375;
remoteInfo = RNImagePicker;
};
9867E21F25BED25B00C29E9D /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 006D5A1019E34FBEA024ABA7 /* RNFetchBlob.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = A15C300E1CD25C330074CB35;
remoteInfo = RNFetchBlob;
};
98E9006125BE9F0500591D89 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C19B38C002EC47F7B99331E5 /* RNFS.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F12AFB9B1ADAF8F800E0535D;
remoteInfo = RNFS;
};
98E9006325BE9F0500591D89 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = C19B38C002EC47F7B99331E5 /* RNFS.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 6456441F1EB8DA9100672408;
remoteInfo = "RNFS-tvOS";
};
ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
......@@ -339,13 +377,6 @@
remoteGlobalIDString = ED296FEE214C9CF800B7C4FE;
remoteInfo = "jsiexecutor-tvOS";
};
ECD74EC62474DDFC005B4208 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 42A609E5FD924552A85B1554 /* RNDatePicker.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = DA5891D81BA9A9FC002B4DB2;
remoteInfo = RNDatePicker;
};
ECD74ECA2474DDFC005B4208 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = A45E12D6491A4DF4ADC867FE /* RNGestureHandler.xcodeproj */;
......@@ -353,20 +384,6 @@
remoteGlobalIDString = 134814201AA4EA6300B7C361;
remoteInfo = RNGestureHandler;
};
ECD74ECC2474DDFC005B4208 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = A45E12D6491A4DF4ADC867FE /* RNGestureHandler.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = B5C32A36220C603B000FFB8D;
remoteInfo = "RNGestureHandler-tvOS";
};
ECD74ECF2474DDFC005B4208 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 7FD26CBC2EA44A0AA04DCBDE /* RNImagePicker.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 014A3B5C1C6CF33500B6D375;
remoteInfo = RNImagePicker;
};
ECD74ED22474DDFC005B4208 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 5AD4F6B5C99D45AFA38C9BEE /* RNSound.xcodeproj */;
......@@ -384,6 +401,7 @@
/* End PBXContainerItemProxy section */
/* Begin PBXFileReference section */
006D5A1019E34FBEA024ABA7 /* RNFetchBlob.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFetchBlob.xcodeproj; path = "../node_modules/rn-fetch-blob/ios/RNFetchBlob.xcodeproj"; sourceTree = "<group>"; };
008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = "<group>"; };
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = "<group>"; };
00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = "<group>"; };
......@@ -393,7 +411,6 @@
00E356EE1AD99517003FC87E /* BoneHouse_Business_APPTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BoneHouse_Business_APPTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
00E356F21AD99517003FC87E /* BoneHouse_Business_APPTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = BoneHouse_Business_APPTests.m; sourceTree = "<group>"; };
05622A2B3A2E4DBA93BA0D23 /* libRNCamera.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNCamera.a; sourceTree = "<group>"; };
139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = "<group>"; };
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* BoneHouse_Business_APP.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = BoneHouse_Business_APP.app; sourceTree = BUILT_PRODUCTS_DIR; };
......@@ -404,31 +421,37 @@
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = BoneHouse_Business_APP/Info.plist; sourceTree = "<group>"; };
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = BoneHouse_Business_APP/main.m; sourceTree = "<group>"; };
146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = "<group>"; };
20B6B7D1BF004469A4D666B6 /* RNImagePicker.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNImagePicker.xcodeproj; path = "../node_modules/react-native-image-picker/ios/RNImagePicker.xcodeproj"; sourceTree = "<group>"; };
2B2E7359DA4943E3940FC60E /* SplashScreen.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = SplashScreen.xcodeproj; path = "../node_modules/react-native-splash-screen/ios/SplashScreen.xcodeproj"; sourceTree = "<group>"; };
2D02E47B1E0B4A5D006451C7 /* BoneHouse_Business_APP-tvOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "BoneHouse_Business_APP-tvOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
2D02E4901E0B4A5D006451C7 /* BoneHouse_Business_APP-tvOSTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "BoneHouse_Business_APP-tvOSTests.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; };
2D4D9542CFEE42C4BBA1A4E3 /* libRNImagePicker.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNImagePicker.a; sourceTree = "<group>"; };
32FB84FD02214626895950C9 /* RNAudio.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNAudio.xcodeproj; path = "../node_modules/react-native-audio/ios/RNAudio.xcodeproj"; sourceTree = "<group>"; };
42A609E5FD924552A85B1554 /* RNDatePicker.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNDatePicker.xcodeproj; path = "../node_modules/react-native-date-picker/ios/RNDatePicker.xcodeproj"; sourceTree = "<group>"; };
46CA58B6810344E3B120B362 /* RNCamera.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNCamera.xcodeproj; path = "../node_modules/react-native-camera/ios/RNCamera.xcodeproj"; sourceTree = "<group>"; };
499CE5719E764FE3A7065349 /* RNDatePicker.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNDatePicker.xcodeproj; path = "../node_modules/react-native-date-picker/ios/RNDatePicker.xcodeproj"; sourceTree = "<group>"; };
5AD4F6B5C99D45AFA38C9BEE /* RNSound.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNSound.xcodeproj; path = "../node_modules/react-native-sound/RNSound.xcodeproj"; sourceTree = "<group>"; };
5CD7C0189FD94182AED36C93 /* libRNGestureHandler.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNGestureHandler.a; sourceTree = "<group>"; };
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = "<group>"; };
6150E1F0F80C4DD8AC8EC136 /* libRNFS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFS.a; sourceTree = "<group>"; };
658FFB1AFB224BDE811B5514 /* libRNDatePicker.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNDatePicker.a; sourceTree = "<group>"; };
6CEB6D12D5F14497859B3218 /* libRNAudio.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNAudio.a; sourceTree = "<group>"; };
78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = "<group>"; };
7FD26CBC2EA44A0AA04DCBDE /* RNImagePicker.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNImagePicker.xcodeproj; path = "../node_modules/react-native-image-picker/ios/RNImagePicker.xcodeproj"; sourceTree = "<group>"; };
832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = "<group>"; };
984643DD248120A5000A6140 /* Launch Screen.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = "Launch Screen.storyboard"; sourceTree = "<group>"; };
98891365248A4DF4007E208B /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/LaunchScreen.strings"; sourceTree = "<group>"; };
98EFB95D25BE770D00D1817E /* RNToolsManager.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = RNToolsManager.h; sourceTree = "<group>"; };
98EFB98A25BE775600D1817E /* RNToolsManager.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = RNToolsManager.m; sourceTree = "<group>"; };
99185D2E8C7346169CA04346 /* libRNFetchBlob.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNFetchBlob.a; sourceTree = "<group>"; };
9AE4A33916D44320956925BE /* libRNImagePicker.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNImagePicker.a; sourceTree = "<group>"; };
9FE3EE95F749487AA78654B1 /* libSplashScreen.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libSplashScreen.a; sourceTree = "<group>"; };
A3D4AB90D45046B6BFE7C6D9 /* libRNGestureHandler-tvOS.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = "libRNGestureHandler-tvOS.a"; sourceTree = "<group>"; };
A45E12D6491A4DF4ADC867FE /* RNGestureHandler.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNGestureHandler.xcodeproj; path = "../node_modules/react-native-gesture-handler/ios/RNGestureHandler.xcodeproj"; sourceTree = "<group>"; };
AAAAD0EF95A340EBB8C14FF4 /* RNCamera.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNCamera.xcodeproj; path = "../node_modules/react-native-camera/ios/RNCamera.xcodeproj"; sourceTree = "<group>"; };
ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = "<group>"; };
C19B38C002EC47F7B99331E5 /* RNFS.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNFS.xcodeproj; path = "../node_modules/react-native-fs/RNFS.xcodeproj"; sourceTree = "<group>"; };
C3CA8CE00B9B42E8BBF11B98 /* libRNSound.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNSound.a; sourceTree = "<group>"; };
C50A325303BF4E8BA7300672 /* libRNCamera.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNCamera.a; sourceTree = "<group>"; };
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; };
EF36AE3E9AEC4CE4BFFDCB3C /* libRNDatePicker.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNDatePicker.a; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
......@@ -458,12 +481,14 @@
00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */,
139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */,
10AF83319D804987A4758143 /* libRNAudio.a in Frameworks */,
4F17B6D52CF042A5A3F04B91 /* libRNDatePicker.a in Frameworks */,
94DCA5E1D7C84D118DC1E066 /* libRNGestureHandler.a in Frameworks */,
45B67B07A6F24364958008AE /* libRNImagePicker.a in Frameworks */,
5D804E4863954EA583B5D90F /* libRNSound.a in Frameworks */,
FDA8A7E8CF7E4533BFCAF6DF /* libSplashScreen.a in Frameworks */,
82855D28932B453CA64B5CA8 /* libRNCamera.a in Frameworks */,
C73C173FF748404386784183 /* libRNCamera.a in Frameworks */,
B21E0069E2F74E76AC5B7C53 /* libRNImagePicker.a in Frameworks */,
986F55C174B94E8598EEB66B /* libRNDatePicker.a in Frameworks */,
2BE5610555C946D89A21B1C0 /* libRNFS.a in Frameworks */,
67CDCA27ED3044CA89FA058C /* libRNFetchBlob.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
......@@ -585,6 +610,8 @@
13B07FB11A68108700A75B9A /* LaunchScreen.xib */,
13B07FB71A68108700A75B9A /* main.m */,
984643DD248120A5000A6140 /* Launch Screen.storyboard */,
98EFB95D25BE770D00D1817E /* RNToolsManager.h */,
98EFB98A25BE775600D1817E /* RNToolsManager.m */,
);
name = BoneHouse_Business_APP;
sourceTree = "<group>";
......@@ -656,12 +683,14 @@
00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */,
139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */,
32FB84FD02214626895950C9 /* RNAudio.xcodeproj */,
42A609E5FD924552A85B1554 /* RNDatePicker.xcodeproj */,
A45E12D6491A4DF4ADC867FE /* RNGestureHandler.xcodeproj */,
7FD26CBC2EA44A0AA04DCBDE /* RNImagePicker.xcodeproj */,
5AD4F6B5C99D45AFA38C9BEE /* RNSound.xcodeproj */,
2B2E7359DA4943E3940FC60E /* SplashScreen.xcodeproj */,
AAAAD0EF95A340EBB8C14FF4 /* RNCamera.xcodeproj */,
46CA58B6810344E3B120B362 /* RNCamera.xcodeproj */,
20B6B7D1BF004469A4D666B6 /* RNImagePicker.xcodeproj */,
499CE5719E764FE3A7065349 /* RNDatePicker.xcodeproj */,
C19B38C002EC47F7B99331E5 /* RNFS.xcodeproj */,
006D5A1019E34FBEA024ABA7 /* RNFetchBlob.xcodeproj */,
);
name = Libraries;
sourceTree = "<group>";
......@@ -701,6 +730,14 @@
name = Products;
sourceTree = "<group>";
};
98171215259EA42C005E4032 /* Products */ = {
isa = PBXGroup;
children = (
98171219259EA42C005E4032 /* libRNCamera.a */,
);
name = Products;
sourceTree = "<group>";
};
9846431C248115E6000A6140 /* Products */ = {
isa = PBXGroup;
children = (
......@@ -709,54 +746,65 @@
name = Products;
sourceTree = "<group>";
};
98D92D6824BD8FC400280FE9 /* Products */ = {
9849954725A07FD70007010F /* Products */ = {
isa = PBXGroup;
children = (
98D92D6C24BD8FC400280FE9 /* libRNCamera.a */,
9849955025A07FD70007010F /* libRNImagePicker.a */,
);
name = Products;
sourceTree = "<group>";
};
ADBDB9201DFEBF0600ED6528 /* Products */ = {
9849954925A07FD70007010F /* Products */ = {
isa = PBXGroup;
children = (
ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
9849954D25A07FD70007010F /* libRNDatePicker.a */,
);
name = Products;
sourceTree = "<group>";
};
ECD74E972474DDFA005B4208 /* Recovered References */ = {
9867E21C25BED25B00C29E9D /* Products */ = {
isa = PBXGroup;
children = (
6CEB6D12D5F14497859B3218 /* libRNAudio.a */,
EF36AE3E9AEC4CE4BFFDCB3C /* libRNDatePicker.a */,
5CD7C0189FD94182AED36C93 /* libRNGestureHandler.a */,
2D4D9542CFEE42C4BBA1A4E3 /* libRNImagePicker.a */,
C3CA8CE00B9B42E8BBF11B98 /* libRNSound.a */,
A3D4AB90D45046B6BFE7C6D9 /* libRNGestureHandler-tvOS.a */,
9FE3EE95F749487AA78654B1 /* libSplashScreen.a */,
05622A2B3A2E4DBA93BA0D23 /* libRNCamera.a */,
9867E22025BED25B00C29E9D /* libRNFetchBlob.a */,
);
name = "Recovered References";
name = Products;
sourceTree = "<group>";
};
ECD74EBD2474DDFC005B4208 /* Products */ = {
98E9005D25BE9F0500591D89 /* Products */ = {
isa = PBXGroup;
children = (
ECD74EC72474DDFC005B4208 /* libRNDatePicker.a */,
98E9006225BE9F0500591D89 /* libRNFS.a */,
98E9006425BE9F0500591D89 /* libRNFS.a */,
);
name = Products;
sourceTree = "<group>";
};
ECD74EBF2474DDFC005B4208 /* Products */ = {
ADBDB9201DFEBF0600ED6528 /* Products */ = {
isa = PBXGroup;
children = (
ECD74ED02474DDFC005B4208 /* libRNImagePicker.a */,
ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */,
2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
};
ECD74E972474DDFA005B4208 /* Recovered References */ = {
isa = PBXGroup;
children = (
6CEB6D12D5F14497859B3218 /* libRNAudio.a */,
5CD7C0189FD94182AED36C93 /* libRNGestureHandler.a */,
C3CA8CE00B9B42E8BBF11B98 /* libRNSound.a */,
A3D4AB90D45046B6BFE7C6D9 /* libRNGestureHandler-tvOS.a */,
9FE3EE95F749487AA78654B1 /* libSplashScreen.a */,
C50A325303BF4E8BA7300672 /* libRNCamera.a */,
9AE4A33916D44320956925BE /* libRNImagePicker.a */,
658FFB1AFB224BDE811B5514 /* libRNDatePicker.a */,
6150E1F0F80C4DD8AC8EC136 /* libRNFS.a */,
99185D2E8C7346169CA04346 /* libRNFetchBlob.a */,
);
name = "Recovered References";
sourceTree = "<group>";
};
ECD74EC12474DDFC005B4208 /* Products */ = {
isa = PBXGroup;
children = (
......@@ -769,7 +817,6 @@
isa = PBXGroup;
children = (
ECD74ECB2474DDFC005B4208 /* libRNGestureHandler.a */,
ECD74ECD2474DDFC005B4208 /* libRNGestureHandler-tvOS.a */,
);
name = Products;
sourceTree = "<group>";
......@@ -811,6 +858,7 @@
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
980D25D725BE6F350025AA1D /* ShellScript */,
);
buildRules = (
);
......@@ -952,20 +1000,28 @@
ProjectRef = 32FB84FD02214626895950C9 /* RNAudio.xcodeproj */;
},
{
ProductGroup = 98D92D6824BD8FC400280FE9 /* Products */;
ProjectRef = AAAAD0EF95A340EBB8C14FF4 /* RNCamera.xcodeproj */;
ProductGroup = 98171215259EA42C005E4032 /* Products */;
ProjectRef = 46CA58B6810344E3B120B362 /* RNCamera.xcodeproj */;
},
{
ProductGroup = 9849954925A07FD70007010F /* Products */;
ProjectRef = 499CE5719E764FE3A7065349 /* RNDatePicker.xcodeproj */;
},
{
ProductGroup = ECD74EBD2474DDFC005B4208 /* Products */;
ProjectRef = 42A609E5FD924552A85B1554 /* RNDatePicker.xcodeproj */;
ProductGroup = 9867E21C25BED25B00C29E9D /* Products */;
ProjectRef = 006D5A1019E34FBEA024ABA7 /* RNFetchBlob.xcodeproj */;
},
{
ProductGroup = 98E9005D25BE9F0500591D89 /* Products */;
ProjectRef = C19B38C002EC47F7B99331E5 /* RNFS.xcodeproj */;
},
{
ProductGroup = ECD74EC32474DDFC005B4208 /* Products */;
ProjectRef = A45E12D6491A4DF4ADC867FE /* RNGestureHandler.xcodeproj */;
},
{
ProductGroup = ECD74EBF2474DDFC005B4208 /* Products */;
ProjectRef = 7FD26CBC2EA44A0AA04DCBDE /* RNImagePicker.xcodeproj */;
ProductGroup = 9849954725A07FD70007010F /* Products */;
ProjectRef = 20B6B7D1BF004469A4D666B6 /* RNImagePicker.xcodeproj */;
},
{
ProductGroup = ECD74EC12474DDFC005B4208 /* Products */;
......@@ -1211,6 +1267,13 @@
remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
98171219259EA42C005E4032 /* libRNCamera.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRNCamera.a;
remoteRef = 98171218259EA42C005E4032 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
98464320248115E6000A6140 /* libSplashScreen.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
......@@ -1218,11 +1281,39 @@
remoteRef = 9846431F248115E6000A6140 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
98D92D6C24BD8FC400280FE9 /* libRNCamera.a */ = {
9849954D25A07FD70007010F /* libRNDatePicker.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRNCamera.a;
remoteRef = 98D92D6B24BD8FC400280FE9 /* PBXContainerItemProxy */;
path = libRNDatePicker.a;
remoteRef = 9849954C25A07FD70007010F /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
9849955025A07FD70007010F /* libRNImagePicker.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRNImagePicker.a;
remoteRef = 9849954F25A07FD70007010F /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
9867E22025BED25B00C29E9D /* libRNFetchBlob.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRNFetchBlob.a;
remoteRef = 9867E21F25BED25B00C29E9D /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
98E9006225BE9F0500591D89 /* libRNFS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRNFS.a;
remoteRef = 98E9006125BE9F0500591D89 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
98E9006425BE9F0500591D89 /* libRNFS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRNFS.a;
remoteRef = 98E9006325BE9F0500591D89 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = {
......@@ -1260,13 +1351,6 @@
remoteRef = EC8BA240246E97C300E88F77 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
ECD74EC72474DDFC005B4208 /* libRNDatePicker.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRNDatePicker.a;
remoteRef = ECD74EC62474DDFC005B4208 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
ECD74ECB2474DDFC005B4208 /* libRNGestureHandler.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
......@@ -1274,20 +1358,6 @@
remoteRef = ECD74ECA2474DDFC005B4208 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
ECD74ECD2474DDFC005B4208 /* libRNGestureHandler-tvOS.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = "libRNGestureHandler-tvOS.a";
remoteRef = ECD74ECC2474DDFC005B4208 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
ECD74ED02474DDFC005B4208 /* libRNImagePicker.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libRNImagePicker.a;
remoteRef = ECD74ECF2474DDFC005B4208 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
ECD74ED32474DDFC005B4208 /* libRNSound.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
......@@ -1352,7 +1422,7 @@
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh\n";
};
2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = {
isa = PBXShellScriptBuildPhase;
......@@ -1368,6 +1438,23 @@
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh";
};
980D25D725BE6F350025AA1D /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Type a script or drag a script file from your workspace to insert its path.\nPACKAGE_VERSION=$(cat ../package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\\\",]//g' | tr -d '[[:space:]]')\n\n/usr/libexec/PlistBuddy -c \"Set :CFBundleShortVersionString $PACKAGE_VERSION\" \"${PROJECT_DIR}/${INFOPLIST_FILE}\"\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
......@@ -1384,6 +1471,7 @@
buildActionMask = 2147483647;
files = (
13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */,
98EFB98B25BE775600D1817E /* RNToolsManager.m in Sources */,
13B07FC11A68108700A75B9A /* main.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
......@@ -1446,12 +1534,14 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-audio/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-sound/RNSound",
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-fs/**",
"$(SRCROOT)/../node_modules/rn-fetch-blob/ios/**",
);
INFOPLIST_FILE = BoneHouse_Business_APPTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
......@@ -1461,11 +1551,6 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
......@@ -1486,12 +1571,14 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-audio/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-sound/RNSound",
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-fs/**",
"$(SRCROOT)/../node_modules/rn-fetch-blob/ios/**",
);
INFOPLIST_FILE = BoneHouse_Business_APPTests/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
......@@ -1501,11 +1588,6 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
......@@ -1522,23 +1604,25 @@
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "";
CURRENT_PROJECT_VERSION = 1.1.4;
CURRENT_PROJECT_VERSION = 1.2.7;
DEAD_CODE_STRIPPING = NO;
DEVELOPMENT_TEAM = 2BWXWUS2NV;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-audio/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-sound/RNSound",
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-fs/**",
"$(SRCROOT)/../node_modules/rn-fetch-blob/ios/**",
);
INFOPLIST_FILE = BoneHouse_Business_APP/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.1.4;
MARKETING_VERSION = 1.2.2;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
......@@ -1556,22 +1640,24 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "";
CODE_SIGN_IDENTITY = "Apple Development";
CURRENT_PROJECT_VERSION = 1.1.4;
CURRENT_PROJECT_VERSION = 1.2.7;
DEVELOPMENT_TEAM = 2BWXWUS2NV;
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-audio/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-sound/RNSound",
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-fs/**",
"$(SRCROOT)/../node_modules/rn-fetch-blob/ios/**",
);
INFOPLIST_FILE = BoneHouse_Business_APP/Info.plist;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 1.1.4;
MARKETING_VERSION = 1.2.2;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
......@@ -1598,12 +1684,14 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-audio/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-sound/RNSound",
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-fs/**",
"$(SRCROOT)/../node_modules/rn-fetch-blob/ios/**",
);
INFOPLIST_FILE = "BoneHouse_Business_APP-tvOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
......@@ -1612,11 +1700,6 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
......@@ -1645,12 +1728,14 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-audio/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-sound/RNSound",
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-fs/**",
"$(SRCROOT)/../node_modules/rn-fetch-blob/ios/**",
);
INFOPLIST_FILE = "BoneHouse_Business_APP-tvOS/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
......@@ -1659,11 +1744,6 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
......@@ -1691,12 +1771,14 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-audio/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-sound/RNSound",
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-fs/**",
"$(SRCROOT)/../node_modules/rn-fetch-blob/ios/**",
);
INFOPLIST_FILE = "BoneHouse_Business_APP-tvOSTests/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
......@@ -1705,11 +1787,6 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
......@@ -1737,12 +1814,14 @@
HEADER_SEARCH_PATHS = (
"$(inherited)",
"$(SRCROOT)/../node_modules/react-native-audio/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-gesture-handler/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-sound/RNSound",
"$(SRCROOT)/../node_modules/react-native-splash-screen/ios",
"$(SRCROOT)/../node_modules/react-native-camera/ios/**",
"$(SRCROOT)/../node_modules/react-native-image-picker/ios",
"$(SRCROOT)/../node_modules/react-native-date-picker/ios/RNDatePicker",
"$(SRCROOT)/../node_modules/react-native-fs/**",
"$(SRCROOT)/../node_modules/rn-fetch-blob/ios/**",
);
INFOPLIST_FILE = "BoneHouse_Business_APP-tvOSTests/Info.plist";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
......@@ -1751,11 +1830,6 @@
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
"\"$(SRCROOT)/$(TARGET_NAME)\"",
);
OTHER_LDFLAGS = (
"-ObjC",
......
......@@ -17,7 +17,7 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<string>1.2.3</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
//
// RNToolsManager.h
// BoneHouse_Business_APP
//
// Created by Hilary on 2021/1/25.
// Copyright © 2021 Facebook. All rights reserved.
//
#ifndef RNToolsManager_h
#define RNToolsManager_h
#endif /* RNToolsManager_h */
#import <Foundation/Foundation.h>
#import <React/RCTBridgeModule.h>
@interface RNToolsManager : NSObject <RCTBridgeModule>
@end
//
// RNToolsManager.m
// BoneHouse_Business_APP
//
// Created by Hilary on 2021/1/25.
// Copyright © 2021 Facebook. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "RNToolsManager.h"
@implementation RNToolsManager
@synthesize bridge = _bridge;
RCT_EXPORT_MODULE(RNToolsManager);
// 对外提供调用方法,Callback
RCT_EXPORT_METHOD(getAppVersion:(RCTResponseSenderBlock)callback)
{
NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];//获取项目版本号
callback(@[[NSString stringWithFormat:@"%@",version]]);
}
@end
{
"name": "BoneHouse_Business_APP",
"version": "0.0.1",
"version": "1.2.3",
"private": true,
"scripts": {
"postinstall": "npx jetify",
"start": "node node_modules/react-native/local-cli/cli.js start",
"test": "jest"
},
"dependencies": {
"moment": "2.29.1",
"react": "16.8.3",
"react-native": "0.59.9",
"react-native-audio": "4.3.0",
"react-native-camera": "^2.10.2",
"react-native-camera": "3.40.0",
"react-native-date-picker": "2.7.9",
"react-native-gesture-handler": "1.3.0",
"react-native-image-picker": "0.27.0",
"react-native-image-zoom-viewer": "^3.0.1",
"react-native-fs": "2.14.1",
"react-native-image-picker": "0.28.0",
"react-native-image-zoom-viewer": "3.0.1",
"react-native-root-toast": "3.1.1",
"react-native-scrollable-tab-view": "^0.9.0",
"react-native-scrollable-tab-view": "0.9.0",
"react-native-sound": "0.11.0",
"react-native-splash-screen": "^3.2.0",
"react-native-splash-screen": "3.2.0",
"react-navigation": "3.11.0",
"react-redux": "7.1.0",
"redux": "4.0.1",
"redux-persist": "5.10.0",
"redux-thunk": "2.3.0"
"redux-thunk": "2.3.0",
"rn-fetch-blob": "0.12.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
......@@ -32,6 +35,7 @@
"jest": "^24.8.0",
"jetifier": "^1.6.6",
"metro-react-native-babel-preset": "^0.54.1",
"react-native-gesture-handler": "1.0.5",
"react-test-renderer": "16.8.3"
},
"jest": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment