mirror of
https://github.com/timepill/timepill-app.git
synced 2025-04-30 09:59:31 +08:00
react-native-navigation iOS 编译通过
This commit is contained in:
parent
89487b4eaa
commit
a1acc0a37d
5 changed files with 8865 additions and 74 deletions
15
index.js
15
index.js
|
@ -5,5 +5,18 @@
|
||||||
import {AppRegistry} from 'react-native';
|
import {AppRegistry} from 'react-native';
|
||||||
import App from './App';
|
import App from './App';
|
||||||
import {name as appName} from './app.json';
|
import {name as appName} from './app.json';
|
||||||
|
import {Navigation} from "react-native-navigation";
|
||||||
|
|
||||||
AppRegistry.registerComponent(appName, () => App);
|
//AppRegistry.registerComponent(appName, () => App);
|
||||||
|
|
||||||
|
Navigation.registerComponent(`navigation.playground.WelcomeScreen`, () => App);
|
||||||
|
|
||||||
|
Navigation.events().registerAppLaunchedListener(() => {
|
||||||
|
Navigation.setRoot({
|
||||||
|
root: {
|
||||||
|
component: {
|
||||||
|
name: "navigation.playground.WelcomeScreen"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
});
|
|
@ -40,6 +40,7 @@
|
||||||
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
|
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; };
|
||||||
ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; };
|
ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; };
|
||||||
ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; };
|
ED2971652150620600B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED2971642150620600B7C4FE /* JavaScriptCore.framework */; };
|
||||||
|
FAF9B431228169B4004918C2 /* libReactNativeNavigation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = FAF9B42E2281697B004918C2 /* libReactNativeNavigation.a */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXContainerItemProxy section */
|
/* Begin PBXContainerItemProxy section */
|
||||||
|
@ -176,20 +177,6 @@
|
||||||
remoteGlobalIDString = 3D383D621EBD27B9005632C8;
|
remoteGlobalIDString = 3D383D621EBD27B9005632C8;
|
||||||
remoteInfo = "double-conversion-tvOS";
|
remoteInfo = "double-conversion-tvOS";
|
||||||
};
|
};
|
||||||
2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = 9936F3131F5F2E4B0010BF04;
|
|
||||||
remoteInfo = privatedata;
|
|
||||||
};
|
|
||||||
2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = 9936F32F1F5F2E5B0010BF04;
|
|
||||||
remoteInfo = "privatedata-tvOS";
|
|
||||||
};
|
|
||||||
3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
|
containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */;
|
||||||
|
@ -267,20 +254,6 @@
|
||||||
remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
|
remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4;
|
||||||
remoteInfo = "cxxreact-tvOS";
|
remoteInfo = "cxxreact-tvOS";
|
||||||
};
|
};
|
||||||
3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4;
|
|
||||||
remoteInfo = jschelpers;
|
|
||||||
};
|
|
||||||
3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */ = {
|
|
||||||
isa = PBXContainerItemProxy;
|
|
||||||
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
|
||||||
proxyType = 2;
|
|
||||||
remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4;
|
|
||||||
remoteInfo = "jschelpers-tvOS";
|
|
||||||
};
|
|
||||||
5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
|
5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = {
|
||||||
isa = PBXContainerItemProxy;
|
isa = PBXContainerItemProxy;
|
||||||
containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
|
containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */;
|
||||||
|
@ -316,6 +289,48 @@
|
||||||
remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
|
remoteGlobalIDString = 358F4ED71D1E81A9004DF814;
|
||||||
remoteInfo = RCTBlob;
|
remoteInfo = RCTBlob;
|
||||||
};
|
};
|
||||||
|
FAF9B4232281697B004918C2 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8;
|
||||||
|
remoteInfo = jsi;
|
||||||
|
};
|
||||||
|
FAF9B4252281697B004918C2 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = EDEBC73B214B45A300DD5AC8;
|
||||||
|
remoteInfo = jsiexecutor;
|
||||||
|
};
|
||||||
|
FAF9B4272281697B004918C2 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = ED296FB6214C9A0900B7C4FE;
|
||||||
|
remoteInfo = "jsi-tvOS";
|
||||||
|
};
|
||||||
|
FAF9B4292281697B004918C2 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = ED296FEE214C9CF800B7C4FE;
|
||||||
|
remoteInfo = "jsiexecutor-tvOS";
|
||||||
|
};
|
||||||
|
FAF9B42D2281697B004918C2 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = FAF9B3FB2281697A004918C2 /* ReactNativeNavigation.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = D8AFADBD1BEE6F3F00A4592D;
|
||||||
|
remoteInfo = ReactNativeNavigation;
|
||||||
|
};
|
||||||
|
FAF9B42F2281697B004918C2 /* PBXContainerItemProxy */ = {
|
||||||
|
isa = PBXContainerItemProxy;
|
||||||
|
containerPortal = FAF9B3FB2281697A004918C2 /* ReactNativeNavigation.xcodeproj */;
|
||||||
|
proxyType = 2;
|
||||||
|
remoteGlobalIDString = 7B49FEBB1E95090800DEB3EA;
|
||||||
|
remoteInfo = ReactNativeNavigationTests;
|
||||||
|
};
|
||||||
/* End PBXContainerItemProxy section */
|
/* End PBXContainerItemProxy section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
@ -347,6 +362,7 @@
|
||||||
ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.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>"; };
|
||||||
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
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; };
|
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; };
|
||||||
|
FAF9B3FB2281697A004918C2 /* ReactNativeNavigation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = ReactNativeNavigation.xcodeproj; path = "../node_modules/react-native-navigation/lib/ios/ReactNativeNavigation.xcodeproj"; sourceTree = "<group>"; };
|
||||||
/* End PBXFileReference section */
|
/* End PBXFileReference section */
|
||||||
|
|
||||||
/* Begin PBXFrameworksBuildPhase section */
|
/* Begin PBXFrameworksBuildPhase section */
|
||||||
|
@ -362,6 +378,7 @@
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
FAF9B431228169B4004918C2 /* libReactNativeNavigation.a in Frameworks */,
|
||||||
ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */,
|
ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */,
|
||||||
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
|
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
|
||||||
11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
|
11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
|
||||||
|
@ -507,16 +524,16 @@
|
||||||
3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
|
3DAD3EA71DF850E9000B6D8A /* libyoga.a */,
|
||||||
3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
|
3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */,
|
||||||
3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
|
3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */,
|
||||||
3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */,
|
|
||||||
3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */,
|
|
||||||
2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
|
2DF0FFDF2056DD460020B375 /* libjsinspector.a */,
|
||||||
2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
|
2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */,
|
||||||
2DF0FFE32056DD460020B375 /* libthird-party.a */,
|
2DF0FFE32056DD460020B375 /* libthird-party.a */,
|
||||||
2DF0FFE52056DD460020B375 /* libthird-party.a */,
|
2DF0FFE52056DD460020B375 /* libthird-party.a */,
|
||||||
2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
|
2DF0FFE72056DD460020B375 /* libdouble-conversion.a */,
|
||||||
2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
|
2DF0FFE92056DD460020B375 /* libdouble-conversion.a */,
|
||||||
2DF0FFEB2056DD460020B375 /* libprivatedata.a */,
|
FAF9B4242281697B004918C2 /* libjsi.a */,
|
||||||
2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */,
|
FAF9B4262281697B004918C2 /* libjsiexecutor.a */,
|
||||||
|
FAF9B4282281697B004918C2 /* libjsi-tvOS.a */,
|
||||||
|
FAF9B42A2281697B004918C2 /* libjsiexecutor-tvOS.a */,
|
||||||
);
|
);
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
|
@ -552,6 +569,7 @@
|
||||||
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
|
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
|
||||||
isa = PBXGroup;
|
isa = PBXGroup;
|
||||||
children = (
|
children = (
|
||||||
|
FAF9B3FB2281697A004918C2 /* ReactNativeNavigation.xcodeproj */,
|
||||||
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
|
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
|
||||||
146833FF1AC3E56700842450 /* React.xcodeproj */,
|
146833FF1AC3E56700842450 /* React.xcodeproj */,
|
||||||
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
|
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
|
||||||
|
@ -611,6 +629,15 @@
|
||||||
name = Products;
|
name = Products;
|
||||||
sourceTree = "<group>";
|
sourceTree = "<group>";
|
||||||
};
|
};
|
||||||
|
FAF9B3FC2281697A004918C2 /* Products */ = {
|
||||||
|
isa = PBXGroup;
|
||||||
|
children = (
|
||||||
|
FAF9B42E2281697B004918C2 /* libReactNativeNavigation.a */,
|
||||||
|
FAF9B4302281697B004918C2 /* ReactNativeNavigationTests.xctest */,
|
||||||
|
);
|
||||||
|
name = Products;
|
||||||
|
sourceTree = "<group>";
|
||||||
|
};
|
||||||
/* End PBXGroup section */
|
/* End PBXGroup section */
|
||||||
|
|
||||||
/* Begin PBXNativeTarget section */
|
/* Begin PBXNativeTarget section */
|
||||||
|
@ -770,6 +797,10 @@
|
||||||
ProductGroup = 146834001AC3E56700842450 /* Products */;
|
ProductGroup = 146834001AC3E56700842450 /* Products */;
|
||||||
ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */;
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
ProductGroup = FAF9B3FC2281697A004918C2 /* Products */;
|
||||||
|
ProjectRef = FAF9B3FB2281697A004918C2 /* ReactNativeNavigation.xcodeproj */;
|
||||||
|
},
|
||||||
);
|
);
|
||||||
projectRoot = "";
|
projectRoot = "";
|
||||||
targets = (
|
targets = (
|
||||||
|
@ -901,20 +932,6 @@
|
||||||
remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
|
remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
2DF0FFEB2056DD460020B375 /* libprivatedata.a */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = archive.ar;
|
|
||||||
path = libprivatedata.a;
|
|
||||||
remoteRef = 2DF0FFEA2056DD460020B375 /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
2DF0FFED2056DD460020B375 /* libprivatedata-tvOS.a */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = archive.ar;
|
|
||||||
path = "libprivatedata-tvOS.a";
|
|
||||||
remoteRef = 2DF0FFEC2056DD460020B375 /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
|
3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
|
@ -992,20 +1009,6 @@
|
||||||
remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = archive.ar;
|
|
||||||
path = libjschelpers.a;
|
|
||||||
remoteRef = 3DAD3EAC1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */ = {
|
|
||||||
isa = PBXReferenceProxy;
|
|
||||||
fileType = archive.ar;
|
|
||||||
path = libjschelpers.a;
|
|
||||||
remoteRef = 3DAD3EAE1DF850E9000B6D8A /* PBXContainerItemProxy */;
|
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
|
||||||
};
|
|
||||||
5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
|
5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = {
|
||||||
isa = PBXReferenceProxy;
|
isa = PBXReferenceProxy;
|
||||||
fileType = archive.ar;
|
fileType = archive.ar;
|
||||||
|
@ -1041,6 +1044,48 @@
|
||||||
remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
|
remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */;
|
||||||
sourceTree = BUILT_PRODUCTS_DIR;
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
};
|
};
|
||||||
|
FAF9B4242281697B004918C2 /* libjsi.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libjsi.a;
|
||||||
|
remoteRef = FAF9B4232281697B004918C2 /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
FAF9B4262281697B004918C2 /* libjsiexecutor.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libjsiexecutor.a;
|
||||||
|
remoteRef = FAF9B4252281697B004918C2 /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
FAF9B4282281697B004918C2 /* libjsi-tvOS.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = "libjsi-tvOS.a";
|
||||||
|
remoteRef = FAF9B4272281697B004918C2 /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
FAF9B42A2281697B004918C2 /* libjsiexecutor-tvOS.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = "libjsiexecutor-tvOS.a";
|
||||||
|
remoteRef = FAF9B4292281697B004918C2 /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
FAF9B42E2281697B004918C2 /* libReactNativeNavigation.a */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = archive.ar;
|
||||||
|
path = libReactNativeNavigation.a;
|
||||||
|
remoteRef = FAF9B42D2281697B004918C2 /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
|
FAF9B4302281697B004918C2 /* ReactNativeNavigationTests.xctest */ = {
|
||||||
|
isa = PBXReferenceProxy;
|
||||||
|
fileType = wrapper.cfbundle;
|
||||||
|
path = ReactNativeNavigationTests.xctest;
|
||||||
|
remoteRef = FAF9B42F2281697B004918C2 /* PBXContainerItemProxy */;
|
||||||
|
sourceTree = BUILT_PRODUCTS_DIR;
|
||||||
|
};
|
||||||
/* End PBXReferenceProxy section */
|
/* End PBXReferenceProxy section */
|
||||||
|
|
||||||
/* Begin PBXResourcesBuildPhase section */
|
/* Begin PBXResourcesBuildPhase section */
|
||||||
|
|
|
@ -10,23 +10,26 @@
|
||||||
#import <React/RCTBridge.h>
|
#import <React/RCTBridge.h>
|
||||||
#import <React/RCTBundleURLProvider.h>
|
#import <React/RCTBundleURLProvider.h>
|
||||||
#import <React/RCTRootView.h>
|
#import <React/RCTRootView.h>
|
||||||
|
#import <ReactNativeNavigation/ReactNativeNavigation.h>
|
||||||
|
|
||||||
@implementation AppDelegate
|
@implementation AppDelegate
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
|
||||||
{
|
{
|
||||||
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
|
||||||
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
|
// RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
|
||||||
moduleName:@"Timepill"
|
// moduleName:@"Timepill"
|
||||||
initialProperties:nil];
|
// initialProperties:nil];
|
||||||
|
//
|
||||||
rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
|
// rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1];
|
||||||
|
//
|
||||||
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
// self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
||||||
UIViewController *rootViewController = [UIViewController new];
|
// UIViewController *rootViewController = [UIViewController new];
|
||||||
rootViewController.view = rootView;
|
// rootViewController.view = rootView;
|
||||||
self.window.rootViewController = rootViewController;
|
// self.window.rootViewController = rootViewController;
|
||||||
[self.window makeKeyAndVisible];
|
// [self.window makeKeyAndVisible];
|
||||||
|
|
||||||
|
[ReactNativeNavigation bootstrap:[self sourceURLForBridge: bridge] launchOptions:launchOptions];
|
||||||
return YES;
|
return YES;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
8729
package-lock.json
generated
Normal file
8729
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "Timepill",
|
"name": "timepill",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
@ -8,7 +8,8 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"react": "16.8.3",
|
"react": "16.8.3",
|
||||||
"react-native": "0.59.4"
|
"react-native": "0.59.4",
|
||||||
|
"react-native-navigation": "^2.18.4"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@babel/core": "^7.4.3",
|
"@babel/core": "^7.4.3",
|
||||||
|
|
Loading…
Reference in a new issue