ios manual linking

This commit is contained in:
Feruz 2019-01-04 11:43:39 +02:00
parent dc6ba47de1
commit 79b695950f
4 changed files with 52 additions and 3 deletions

View File

@ -2,5 +2,10 @@ import 'core-js';
import { AppRegistry } from 'react-native';
import { name as appName } from './app.json';
import 'intl';
import codePush from "react-native-code-push";
AppRegistry.registerComponent(appName, () => require('./App').default);
//set check frequency options
const codePushOptions = { checkFrequency: codePush.CheckFrequency.ON_APP_START };
const eSteemApp = codePush(codePushOptions)(require('./App').default);
AppRegistry.registerComponent(appName, () => eSteemApp);

View File

@ -5,6 +5,7 @@
};
objectVersion = 46;
objects = {
/* Begin PBXBuildFile section */
00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; };
00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; };
@ -14,6 +15,7 @@
00E356F31AD99517003FC87E /* eSteemTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* eSteemTests.m */; };
0545E65831584C559F6E9D6E /* libAppCenterReactNative.a in Frameworks */ = {isa = PBXBuildFile; fileRef = F0500976E24B42A4A079A051 /* libAppCenterReactNative.a */; };
0805AB3BCD294E3681C7EAE4 /* Octicons.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 6D37F7E2845F42099DED229F /* Octicons.ttf */; };
0CDBDA2321DF620500B8E08F /* libCodePush.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 0CDBD9F421DF61A100B8E08F /* libCodePush.a */; };
11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; };
133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; };
139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; };
@ -193,6 +195,20 @@
remoteGlobalIDString = 3DF7F6AC203AA09B00D0EAB7;
remoteInfo = "ReactNativeConfig-tvOS";
};
0CDBD9F321DF61A100B8E08F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 0CDBD9E821DF61A000B8E08F /* CodePush.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = 134814201AA4EA6300B7C361;
remoteInfo = CodePush;
};
0CDBD9F521DF61A100B8E08F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 0CDBD9E821DF61A000B8E08F /* CodePush.xcodeproj */;
proxyType = 2;
remoteGlobalIDString = F886647B1F4ADB500036D01B;
remoteInfo = "CodePush-tvOS";
};
139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */;
@ -473,6 +489,7 @@
00E356F21AD99517003FC87E /* eSteemTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = eSteemTests.m; sourceTree = "<group>"; };
044930AF6BF7488DA7F02A8F /* RobotoMono-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = "RobotoMono-Regular.ttf"; path = "../src/assets/Fonts/RobotoMono-Regular.ttf"; sourceTree = "<group>"; };
08EFE8017CAE493492474D23 /* AppCenterReactNativeAnalytics.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = AppCenterReactNativeAnalytics.xcodeproj; path = "../node_modules/appcenter-analytics/ios/AppCenterReactNativeAnalytics.xcodeproj"; sourceTree = "<group>"; };
0CDBD9E821DF61A000B8E08F /* CodePush.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = CodePush.xcodeproj; path = "../node_modules/react-native-code-push/ios/CodePush.xcodeproj"; sourceTree = "<group>"; };
11DD9F9D560A49FAB7A23E9D /* BVLinearGradient.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = BVLinearGradient.xcodeproj; path = "../node_modules/react-native-linear-gradient/BVLinearGradient.xcodeproj"; 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>"; };
@ -564,6 +581,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
0CDBDA2321DF620500B8E08F /* libCodePush.a in Frameworks */,
ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */,
11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */,
146834051AC3E58100842450 /* libReact.a in Frameworks */,
@ -759,6 +777,15 @@
name = Products;
sourceTree = "<group>";
};
0CDBD9E921DF61A000B8E08F /* Products */ = {
isa = PBXGroup;
children = (
0CDBD9F421DF61A100B8E08F /* libCodePush.a */,
0CDBD9F621DF61A100B8E08F /* libCodePush.a */,
);
name = Products;
sourceTree = "<group>";
};
0CE2BA1E21A7301B0052071F /* Products */ = {
isa = PBXGroup;
children = (
@ -891,6 +918,7 @@
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
isa = PBXGroup;
children = (
0CDBD9E821DF61A000B8E08F /* CodePush.xcodeproj */,
5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */,
146833FF1AC3E56700842450 /* React.xcodeproj */,
00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */,
@ -1142,6 +1170,10 @@
ProductGroup = 0C09B6B821A3393900536C9D /* Products */;
ProjectRef = 11DD9F9D560A49FAB7A23E9D /* BVLinearGradient.xcodeproj */;
},
{
ProductGroup = 0CDBD9E921DF61A000B8E08F /* Products */;
ProjectRef = 0CDBD9E821DF61A000B8E08F /* CodePush.xcodeproj */;
},
{
ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */;
ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */;
@ -1327,6 +1359,20 @@
remoteRef = 0C61A6B521C0551400357CC4 /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
0CDBD9F421DF61A100B8E08F /* libCodePush.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libCodePush.a;
remoteRef = 0CDBD9F321DF61A100B8E08F /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
0CDBD9F621DF61A100B8E08F /* libCodePush.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;
path = libCodePush.a;
remoteRef = 0CDBD9F521DF61A100B8E08F /* PBXContainerItemProxy */;
sourceTree = BUILT_PRODUCTS_DIR;
};
139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = {
isa = PBXReferenceProxy;
fileType = archive.ar;

View File

@ -5,7 +5,6 @@ import EStyleSheet from 'react-native-extended-stylesheet';
import { ReduxNavigation } from '../../../navigation/reduxNavigation';
import { flattenMessages } from '../../../utils/flattenMessages';
import messages from '../../../config/locales';
import codePush from "react-native-code-push";
// Themes (Styles)
import darkTheme from '../../../themes/darkTheme';
@ -42,6 +41,5 @@ class ApplicationScreen extends Component {
);
}
}
ApplicationScreen = codePush(ApplicationScreen);
export default ApplicationScreen;