diff --git a/example/.flowconfig b/example/.flowconfig index c693a48..dcd5fd6 100644 --- a/example/.flowconfig +++ b/example/.flowconfig @@ -36,11 +36,12 @@ suppress_type=$FlowIssue suppress_type=$FlowFixMe suppress_type=$FixMe -suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-8]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) -suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-8]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ +suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) +suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy +suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError unsafe.enable_getters_and_setters=true [version] -^0.38.0 +^0.40.0 diff --git a/example/android/app/BUCK b/example/android/app/BUCK index 004923b..cc4a0ad 100644 --- a/example/android/app/BUCK +++ b/example/android/app/BUCK @@ -1,5 +1,3 @@ -import re - # To learn about Buck see [Docs](https://buckbuild.com/). # To run your application with Buck: # - install Buck @@ -11,8 +9,9 @@ import re # lib_deps = [] + for jarfile in glob(['libs/*.jar']): - name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile) + name = 'jars__' + jarfile[jarfile.rindex('/') + 1: jarfile.rindex('.jar')] lib_deps.append(':' + name) prebuilt_jar( name = name, @@ -20,7 +19,7 @@ for jarfile in glob(['libs/*.jar']): ) for aarfile in glob(['libs/*.aar']): - name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile) + name = 'aars__' + aarfile[aarfile.rindex('/') + 1: aarfile.rindex('.aar')] lib_deps.append(':' + name) android_prebuilt_aar( name = name, @@ -28,39 +27,39 @@ for aarfile in glob(['libs/*.aar']): ) android_library( - name = 'all-libs', - exported_deps = lib_deps + name = "all-libs", + exported_deps = lib_deps, ) android_library( - name = 'app-code', - srcs = glob([ - 'src/main/java/**/*.java', - ]), - deps = [ - ':all-libs', - ':build_config', - ':res', - ], + name = "app-code", + srcs = glob([ + "src/main/java/**/*.java", + ]), + deps = [ + ":all-libs", + ":build_config", + ":res", + ], ) android_build_config( - name = 'build_config', - package = 'com.rni18nexample', + name = "build_config", + package = "com.rni18nexample", ) android_resource( - name = 'res', - res = 'src/main/res', - package = 'com.rni18nexample', + name = "res", + package = "com.rni18nexample", + res = "src/main/res", ) android_binary( - name = 'app', - package_type = 'debug', - manifest = 'src/main/AndroidManifest.xml', - keystore = '//android/keystores:debug', - deps = [ - ':app-code', - ], + name = "app", + keystore = "//android/keystores:debug", + manifest = "src/main/AndroidManifest.xml", + package_type = "debug", + deps = [ + ":app-code", + ], ) diff --git a/example/android/keystores/BUCK b/example/android/keystores/BUCK index 15da20e..88e4c31 100644 --- a/example/android/keystores/BUCK +++ b/example/android/keystores/BUCK @@ -1,8 +1,8 @@ keystore( - name = 'debug', - store = 'debug.keystore', - properties = 'debug.keystore.properties', - visibility = [ - 'PUBLIC', - ], + name = "debug", + properties = "debug.keystore.properties", + store = "debug.keystore", + visibility = [ + "PUBLIC", + ], ) diff --git a/example/app.js b/example/app.js deleted file mode 100644 index 46e7f7c..0000000 --- a/example/app.js +++ /dev/null @@ -1 +0,0 @@ -// @flow diff --git a/example/index.windows.js b/example/index.windows.js deleted file mode 100644 index 45b98df..0000000 --- a/example/index.windows.js +++ /dev/null @@ -1,53 +0,0 @@ -/** - * Sample React Native App - * https://github.com/facebook/react-native - * @flow - */ - -import React, { Component } from 'react'; -import { - AppRegistry, - StyleSheet, - Text, - View -} from 'react-native'; - -export default class RNI18nExample extends Component { - render() { - return ( - - - Welcome to React Native! - - - To get started, edit index.windows.js - - - Press Ctrl+R to reload,{'\n'} - Shift+F10 or shake for dev menu - - - ); - } -} - -const styles = StyleSheet.create({ - container: { - flex: 1, - justifyContent: 'center', - alignItems: 'center', - backgroundColor: '#F5FCFF', - }, - welcome: { - fontSize: 20, - textAlign: 'center', - margin: 10, - }, - instructions: { - textAlign: 'center', - color: '#333333', - marginBottom: 5, - }, -}); - -AppRegistry.registerComponent('RNI18nExample', () => RNI18nExample); diff --git a/example/ios/RNI18nExample.xcodeproj/project.pbxproj b/example/ios/RNI18nExample.xcodeproj/project.pbxproj index a69a6cf..d2aa3f7 100644 --- a/example/ios/RNI18nExample.xcodeproj/project.pbxproj +++ b/example/ios/RNI18nExample.xcodeproj/project.pbxproj @@ -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 */; }; @@ -19,6 +20,8 @@ 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 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 */; }; 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 */; }; @@ -29,12 +32,9 @@ 2D02E4C61E0B4AEC006451C7 /* libRCTSettings-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */; }; 2D02E4C71E0B4AEC006451C7 /* libRCTText-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */; }; 2D02E4C81E0B4AEC006451C7 /* libRCTWebSocket-tvOS.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */; }; + 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3DAD3EA31DF850E9000B6D8A /* libReact.a */; }; 2DCD954D1E0B4F2C00145EB5 /* RNI18nExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* RNI18nExampleTests.m */; }; - 3DC32227096345F49AB70993 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = C74A97EDCCDE40CAAE6CE748 /* libReact.a */; }; 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; - 5F14471F92FD42BA9B8228DF /* libcxxreact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = AF53D1FC37FF4D8C9495D279 /* libcxxreact.a */; }; - 665F9A6DBB784D1CAFFC93F2 /* libjschelpers.a in Frameworks */ = {isa = PBXBuildFile; fileRef = A94C3B42D870463D9D87102C /* libjschelpers.a */; }; - 7E2A0560A21849E1BC4F814D /* libyoga.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D7C8A45C12344DDCB70822B9 /* libyoga.a */; }; 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; /* End PBXBuildFile section */ @@ -95,6 +95,13 @@ remoteGlobalIDString = 3C86DF461ADF2C930047B81A; remoteInfo = RCTWebSocket; }; + 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; + remoteInfo = React; + }; 2D02E4911E0B4A5D006451C7 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; @@ -144,6 +151,55 @@ remoteGlobalIDString = 2D2A28881D9B049200D4039D; remoteInfo = "RCTWebSocket-tvOS"; }; + 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 2D2A28131D9B038B00D4039D; + remoteInfo = "React-tvOS"; + }; + 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 3D3C059A1DE3340900C268FA; + remoteInfo = yoga; + }; + 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 3D3C06751DE3340C00C268FA; + remoteInfo = "yoga-tvOS"; + }; + 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; + remoteInfo = cxxreact; + }; + 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; + proxyType = 2; + remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; + 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 */ = { isa = PBXContainerItemProxy; containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; @@ -158,62 +214,6 @@ remoteGlobalIDString = 2D2A28201D9B03D100D4039D; remoteInfo = "RCTAnimation-tvOS"; }; - 66F3F1391E8C7AA6002E5D56 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; - remoteInfo = React; - }; - 66F3F13B1E8C7AA6002E5D56 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 2D2A28131D9B038B00D4039D; - remoteInfo = "React-tvOS"; - }; - 66F3F13D1E8C7AA6002E5D56 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3D3C059A1DE3340900C268FA; - remoteInfo = yoga; - }; - 66F3F13F1E8C7AA6002E5D56 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3D3C06751DE3340C00C268FA; - remoteInfo = "yoga-tvOS"; - }; - 66F3F1411E8C7AA6002E5D56 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; - remoteInfo = cxxreact; - }; - 66F3F1431E8C7AA6002E5D56 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; - remoteInfo = "cxxreact-tvOS"; - }; - 66F3F1451E8C7AA6002E5D56 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3D3CD90B1DE5FBD600167DC4; - remoteInfo = jschelpers; - }; - 66F3F1471E8C7AA6002E5D56 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; - proxyType = 2; - remoteGlobalIDString = 3D3CD9181DE5FBD800167DC4; - remoteInfo = "jschelpers-tvOS"; - }; 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; @@ -255,10 +255,6 @@ 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; - A94C3B42D870463D9D87102C /* libjschelpers.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libjschelpers.a; sourceTree = ""; }; - AF53D1FC37FF4D8C9495D279 /* libcxxreact.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libcxxreact.a; sourceTree = ""; }; - C74A97EDCCDE40CAAE6CE748 /* libReact.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libReact.a; sourceTree = ""; }; - D7C8A45C12344DDCB70822B9 /* libyoga.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libyoga.a; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -266,6 +262,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -273,6 +270,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 146834051AC3E58100842450 /* libReact.a in Frameworks */, 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, @@ -283,10 +281,6 @@ 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, - 3DC32227096345F49AB70993 /* libReact.a in Frameworks */, - 7E2A0560A21849E1BC4F814D /* libyoga.a in Frameworks */, - 5F14471F92FD42BA9B8228DF /* libcxxreact.a in Frameworks */, - 665F9A6DBB784D1CAFFC93F2 /* libjschelpers.a in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -294,6 +288,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 2D02E4C91E0B4AEC006451C7 /* libReact.a in Frameworks */, 2D02E4C21E0B4AEC006451C7 /* libRCTAnimation-tvOS.a in Frameworks */, 2D02E4C31E0B4AEC006451C7 /* libRCTImage-tvOS.a in Frameworks */, 2D02E4C41E0B4AEC006451C7 /* libRCTLinking-tvOS.a in Frameworks */, @@ -408,14 +403,14 @@ 146834001AC3E56700842450 /* Products */ = { isa = PBXGroup; children = ( - 66F3F13A1E8C7AA6002E5D56 /* libReact.a */, - 66F3F13C1E8C7AA6002E5D56 /* libReact.a */, - 66F3F13E1E8C7AA6002E5D56 /* libyoga.a */, - 66F3F1401E8C7AA6002E5D56 /* libyoga.a */, - 66F3F1421E8C7AA6002E5D56 /* libcxxreact.a */, - 66F3F1441E8C7AA6002E5D56 /* libcxxreact.a */, - 66F3F1461E8C7AA6002E5D56 /* libjschelpers.a */, - 66F3F1481E8C7AA6002E5D56 /* libjschelpers.a */, + 146834041AC3E56700842450 /* libReact.a */, + 3DAD3EA31DF850E9000B6D8A /* libReact.a */, + 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, + 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, + 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, + 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, + 3DAD3EAD1DF850E9000B6D8A /* libjschelpers.a */, + 3DAD3EAF1DF850E9000B6D8A /* libjschelpers.a */, ); name = Products; sourceTree = ""; @@ -569,7 +564,7 @@ 83CBB9F71A601CBA00E9B192 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 610; + LastUpgradeCheck = 0610; ORGANIZATIONNAME = Facebook; TargetAttributes = { 00E356ED1AD99517003FC87E = { @@ -704,6 +699,13 @@ remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; + 146834041AC3E56700842450 /* libReact.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libReact.a; + remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -746,6 +748,55 @@ remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; + 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libReact.a; + remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libyoga.a; + remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libyoga.a; + remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libcxxreact.a; + remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; + sourceTree = BUILT_PRODUCTS_DIR; + }; + 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { + isa = PBXReferenceProxy; + fileType = archive.ar; + path = libcxxreact.a; + remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; + 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 */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -760,62 +811,6 @@ remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; sourceTree = BUILT_PRODUCTS_DIR; }; - 66F3F13A1E8C7AA6002E5D56 /* libReact.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libReact.a; - remoteRef = 66F3F1391E8C7AA6002E5D56 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 66F3F13C1E8C7AA6002E5D56 /* libReact.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libReact.a; - remoteRef = 66F3F13B1E8C7AA6002E5D56 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 66F3F13E1E8C7AA6002E5D56 /* libyoga.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libyoga.a; - remoteRef = 66F3F13D1E8C7AA6002E5D56 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 66F3F1401E8C7AA6002E5D56 /* libyoga.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libyoga.a; - remoteRef = 66F3F13F1E8C7AA6002E5D56 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 66F3F1421E8C7AA6002E5D56 /* libcxxreact.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcxxreact.a; - remoteRef = 66F3F1411E8C7AA6002E5D56 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 66F3F1441E8C7AA6002E5D56 /* libcxxreact.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libcxxreact.a; - remoteRef = 66F3F1431E8C7AA6002E5D56 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 66F3F1461E8C7AA6002E5D56 /* libjschelpers.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libjschelpers.a; - remoteRef = 66F3F1451E8C7AA6002E5D56 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; - 66F3F1481E8C7AA6002E5D56 /* libjschelpers.a */ = { - isa = PBXReferenceProxy; - fileType = archive.ar; - path = libjschelpers.a; - remoteRef = 66F3F1471E8C7AA6002E5D56 /* PBXContainerItemProxy */; - sourceTree = BUILT_PRODUCTS_DIR; - }; 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { isa = PBXReferenceProxy; fileType = archive.ar; @@ -968,16 +963,9 @@ "DEBUG=1", "$(inherited)", ); - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../node_modules/react-native-i18n/RNI18n", - ); INFOPLIST_FILE = RNI18nExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); OTHER_LDFLAGS = ( "-ObjC", "-lc++", @@ -992,16 +980,9 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; COPY_PHASE_STRIP = NO; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../node_modules/react-native-i18n/RNI18n", - ); INFOPLIST_FILE = RNI18nExampleTests/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); OTHER_LDFLAGS = ( "-ObjC", "-lc++", @@ -1017,10 +998,6 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = 1; DEAD_CODE_STRIPPING = NO; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../node_modules/react-native-i18n/RNI18n", - ); INFOPLIST_FILE = RNI18nExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( @@ -1038,10 +1015,6 @@ buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CURRENT_PROJECT_VERSION = 1; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../node_modules/react-native-i18n/RNI18n", - ); INFOPLIST_FILE = RNI18nExample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; OTHER_LDFLAGS = ( @@ -1066,15 +1039,8 @@ DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_TESTABILITY = YES; GCC_NO_COMMON_BLOCKS = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../node_modules/react-native-i18n/RNI18n", - ); INFOPLIST_FILE = "RNI18nExample-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); OTHER_LDFLAGS = ( "-ObjC", "-lc++", @@ -1099,15 +1065,8 @@ COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; GCC_NO_COMMON_BLOCKS = YES; - HEADER_SEARCH_PATHS = ( - "$(inherited)", - "$(SRCROOT)/../node_modules/react-native-i18n/RNI18n", - ); INFOPLIST_FILE = "RNI18nExample-tvOS/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); OTHER_LDFLAGS = ( "-ObjC", "-lc++", @@ -1133,9 +1092,6 @@ GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "RNI18nExample-tvOSTests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNI18nExample-tvOSTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; @@ -1157,9 +1113,6 @@ GCC_NO_COMMON_BLOCKS = YES; INFOPLIST_FILE = "RNI18nExample-tvOSTests/Info.plist"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - LIBRARY_SEARCH_PATHS = ( - "$(inherited)", - ); PRODUCT_BUNDLE_IDENTIFIER = "com.facebook.REACT.RNI18nExample-tvOSTests"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = appletvos; diff --git a/example/package.json b/example/package.json index 641d8a3..cb199fa 100644 --- a/example/package.json +++ b/example/package.json @@ -6,13 +6,11 @@ "start": "node node_modules/react-native/local-cli/cli.js start" }, "dependencies": { - "react": "~15.4.1", - "react-native": "0.42.3", - "react-native-i18n": "file:../", - "react-native-windows": "^0.42.0" + "react": "16.0.0-alpha.6", + "react-native": "0.43.1", + "react-native-i18n": "file:../" }, "devDependencies": { - "babel-preset-react-native": "1.9.1", - "rnpm-plugin-windows": "^0.2.4" + "babel-preset-react-native": "1.9.1" } } diff --git a/example/windows/.gitignore b/example/windows/.gitignore deleted file mode 100644 index 3c25542..0000000 --- a/example/windows/.gitignore +++ /dev/null @@ -1,89 +0,0 @@ -*AppPackages* -*BundleArtifacts* -*ReactAssets* - -#OS junk files -[Tt]humbs.db -*.DS_Store - -#Visual Studio files -*.[Oo]bj -*.user -*.aps -*.pch -*.vspscc -*.vssscc -*_i.c -*_p.c -*.ncb -*.suo -*.tlb -*.tlh -*.bak -*.[Cc]ache -*.ilk -*.log -*.lib -*.sbr -*.sdf -*.opensdf -*.opendb -*.unsuccessfulbuild -ipch/ -[Oo]bj/ -[Bb]in -[Dd]ebug*/ -[Rr]elease*/ -Ankh.NoLoad - -# Visual C++ cache files -ipch/ -*.aps -*.ncb -*.opendb -*.opensdf -*.sdf -*.cachefile -*.VC.db -*.VC.VC.opendb - -#MonoDevelop -*.pidb -*.userprefs - -#Tooling -_ReSharper*/ -*.resharper -[Tt]est[Rr]esult* -*.sass-cache - -#Project files -[Bb]uild/ - -#Subversion files -.svn - -# Office Temp Files -~$* - -# vim Temp Files -*~ - -#NuGet -packages/ -*.nupkg - -#ncrunch -*ncrunch* -*crunch*.local.xml - -# visual studio database projects -*.dbmdl - -#Test files -*.testsettings - -#Other files -*.DotSettings -.vs/ -*project.lock.json diff --git a/example/windows/RNI18nExample.sln b/example/windows/RNI18nExample.sln deleted file mode 100644 index a13ac73..0000000 --- a/example/windows/RNI18nExample.sln +++ /dev/null @@ -1,123 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25123.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RNI18nExample", "RNI18nExample\RNI18nExample.csproj", "{1679adc4-4a79-4df0-9453-a92e31ec9e60}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactNative", "..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj", "{C7673AD5-E3AA-468C-A5FD-FA38154E205C}" -EndProject -Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "ReactNative.Shared", "..\node_modules\react-native-windows\ReactWindows\ReactNative.Shared\ReactNative.Shared.shproj", "{EEA8B852-4D07-48E1-8294-A21AB5909FE5}" -EndProject -Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ChakraBridge", "..\node_modules\react-native-windows\ReactWindows\ChakraBridge\ChakraBridge.vcxproj", "{4B72C796-16D5-4E3A-81C0-3E36F531E578}" -EndProject -Global -GlobalSection(SharedMSBuildProjectFiles) = preSolution - ReactNative.Shared\ReactNative.Shared.projitems*{98efa5d4-a185-4971-ae77-3845e31b84ce}*SharedItemsImports = 4 - ReactNative.Shared\ReactNative.Shared.projitems*{c7673ad5-e3aa-468c-a5fd-fa38154e205c}*SharedItemsImports = 4 - ReactNative.Shared\ReactNative.Shared.projitems*{eea8b852-4d07-48e1-8294-a21ab5909fe5}*SharedItemsImports = 13 -EndGlobalSection - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|ARM = Debug|ARM - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - DebugBundle|ARM = DebugBundle|ARM - DebugBundle|x64 = DebugBundle|x64 - DebugBundle|x86 = DebugBundle|x86 - Release|ARM = Release|ARM - Release|x64 = Release|x64 - Release|x86 = Release|x86 - ReleaseBundle|ARM = ReleaseBundle|ARM - ReleaseBundle|x64 = ReleaseBundle|x64 - ReleaseBundle|x86 = ReleaseBundle|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|ARM.ActiveCfg = Debug|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|ARM.Build.0 = Debug|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|ARM.Deploy.0 = Debug|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|x64.ActiveCfg = Debug|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|x64.Build.0 = Debug|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|x64.Deploy.0 = Debug|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|x86.ActiveCfg = Debug|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|x86.Build.0 = Debug|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Debug|x86.Deploy.0 = Debug|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|ARM.ActiveCfg = DebugBundle|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|ARM.Build.0 = DebugBundle|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|ARM.Deploy.0 = DebugBundle|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|x64.ActiveCfg = DebugBundle|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|x64.Build.0 = DebugBundle|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|x64.Deploy.0 = DebugBundle|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|x86.ActiveCfg = DebugBundle|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|x86.Build.0 = DebugBundle|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.DebugBundle|x86.Deploy.0 = DebugBundle|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|ARM.ActiveCfg = Release|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|ARM.Build.0 = Release|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|ARM.Deploy.0 = Release|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|x64.ActiveCfg = Release|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|x64.Build.0 = Release|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|x64.Deploy.0 = Release|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|x86.ActiveCfg = Release|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|x86.Build.0 = Release|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.Release|x86.Deploy.0 = Release|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|ARM.ActiveCfg = ReleaseBundle|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|ARM.Build.0 = ReleaseBundle|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|ARM.Deploy.0 = ReleaseBundle|ARM - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|x64.ActiveCfg = ReleaseBundle|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|x64.Build.0 = ReleaseBundle|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|x64.Deploy.0 = ReleaseBundle|x64 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|x86.ActiveCfg = ReleaseBundle|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|x86.Build.0 = ReleaseBundle|x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60}.ReleaseBundle|x86.Deploy.0 = ReleaseBundle|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|ARM.ActiveCfg = Debug|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|ARM.Build.0 = Debug|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x64.ActiveCfg = Debug|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x64.Build.0 = Debug|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x86.ActiveCfg = Debug|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x86.Build.0 = Debug|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.DebugBundle|ARM.ActiveCfg = Debug|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.DebugBundle|ARM.Build.0 = Debug|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.DebugBundle|x64.ActiveCfg = Debug|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.DebugBundle|x64.Build.0 = Debug|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.DebugBundle|x86.ActiveCfg = Debug|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.DebugBundle|x86.Build.0 = Debug|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|ARM.ActiveCfg = Release|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|ARM.Build.0 = Release|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x64.ActiveCfg = Release|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x64.Build.0 = Release|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x86.ActiveCfg = Release|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x86.Build.0 = Release|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.ReleaseBundle|ARM.ActiveCfg = Release|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.ReleaseBundle|ARM.Build.0 = Release|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.ReleaseBundle|x64.ActiveCfg = Release|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.ReleaseBundle|x64.Build.0 = Release|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.ReleaseBundle|x86.ActiveCfg = Release|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.ReleaseBundle|x86.Build.0 = Release|x86 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|ARM.ActiveCfg = Debug|ARM - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|ARM.Build.0 = Debug|ARM - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|x64.ActiveCfg = Debug|x64 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|x64.Build.0 = Debug|x64 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|x86.ActiveCfg = Debug|Win32 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Debug|x86.Build.0 = Debug|Win32 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.DebugBundle|ARM.ActiveCfg = Debug|ARM - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.DebugBundle|ARM.Build.0 = Debug|ARM - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.DebugBundle|x64.ActiveCfg = Debug|x64 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.DebugBundle|x64.Build.0 = Debug|x64 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.DebugBundle|x86.ActiveCfg = Debug|Win32 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.DebugBundle|x86.Build.0 = Debug|Win32 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|ARM.ActiveCfg = Release|ARM - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|ARM.Build.0 = Release|ARM - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|x64.ActiveCfg = Release|x64 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|x64.Build.0 = Release|x64 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|x86.ActiveCfg = Release|Win32 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.Release|x86.Build.0 = Release|Win32 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.ReleaseBundle|ARM.ActiveCfg = Release|ARM - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.ReleaseBundle|ARM.Build.0 = Release|ARM - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.ReleaseBundle|x64.ActiveCfg = Release|x64 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.ReleaseBundle|x64.Build.0 = Release|x64 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.ReleaseBundle|x86.ActiveCfg = Release|Win32 - {4B72C796-16D5-4E3A-81C0-3E36F531E578}.ReleaseBundle|x86.Build.0 = Release|Win32 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/example/windows/RNI18nExample/App.xaml b/example/windows/RNI18nExample/App.xaml deleted file mode 100644 index d2ef33e..0000000 --- a/example/windows/RNI18nExample/App.xaml +++ /dev/null @@ -1,8 +0,0 @@ - - - diff --git a/example/windows/RNI18nExample/App.xaml.cs b/example/windows/RNI18nExample/App.xaml.cs deleted file mode 100644 index 210bb8a..0000000 --- a/example/windows/RNI18nExample/App.xaml.cs +++ /dev/null @@ -1,147 +0,0 @@ -using ReactNative; -using ReactNative.Modules.Launch; -using System; -using Windows.ApplicationModel; -using Windows.ApplicationModel.Activation; -using Windows.UI.Core; -using Windows.UI.Xaml; -using Windows.UI.Xaml.Controls; -using Windows.UI.Xaml.Navigation; - -namespace RNI18nExample -{ - /// - /// Provides application-specific behavior to supplement the default Application class. - /// - sealed partial class App : Application - { - private readonly ReactPage _reactPage; - - /// - /// Initializes the singleton application object. This is the first line of authored code - /// executed, and as such is the logical equivalent of main() or WinMain(). - /// - public App() - { - this.InitializeComponent(); - this.Suspending += OnSuspending; - this.Resuming += OnResuming; - - _reactPage = new MainPage(); - } - - /// - /// Invoked when the application is launched normally by the end user. Other entry points - /// will be used such as when the application is launched to open a specific file. - /// - /// Details about the launch request and process. - protected override void OnLaunched(LaunchActivatedEventArgs e) - { - base.OnLaunched(e); - OnCreate(e.Arguments); - } - - /// - /// Invoked when the application is activated. - /// - /// The activated event arguments. - protected override void OnActivated(IActivatedEventArgs args) - { - base.OnActivated(args); - - switch (args.Kind) - { - case ActivationKind.Protocol: - case ActivationKind.ProtocolForResults: - var protocolArgs = (IProtocolActivatedEventArgs)args; - LauncherModule.SetActivatedUrl(protocolArgs.Uri.AbsoluteUri); - break; - } - - if (args.PreviousExecutionState != ApplicationExecutionState.Running && - args.PreviousExecutionState != ApplicationExecutionState.Suspended) - { - OnCreate(null); - } - } - - /// - /// Called whenever the app is opened to initia - /// - /// - private void OnCreate(string arguments) - { - _reactPage.OnResume(Exit); - -#if DEBUG - if (System.Diagnostics.Debugger.IsAttached) - { - this.DebugSettings.EnableFrameRateCounter = true; - } - - SystemNavigationManager.GetForCurrentView().AppViewBackButtonVisibility = - AppViewBackButtonVisibility.Visible; -#endif - - Frame rootFrame = Window.Current.Content as Frame; - - // Do not repeat app initialization when the Window already has content, - // just ensure that the window is active - if (rootFrame == null) - { - _reactPage.OnCreate(arguments); - - // Create a Frame to act as the navigation context and navigate to the first page - rootFrame = new Frame(); - - rootFrame.NavigationFailed += OnNavigationFailed; - - // Place the frame in the current Window - Window.Current.Content = rootFrame; - } - - if (rootFrame.Content == null) - { - // When the navigation stack isn't restored navigate to the first page, - // configuring the new page by passing required information as a navigation - // parameter - rootFrame.Content = _reactPage; - } - - // Ensure the current window is active - Window.Current.Activate(); - } - - /// - /// Invoked when Navigation to a certain page fails - /// - /// The Frame which failed navigation - /// Details about the navigation failure - private void OnNavigationFailed(object sender, NavigationFailedEventArgs e) - { - throw new Exception("Failed to load Page " + e.SourcePageType.FullName); - } - - /// - /// Invoked when application execution is being suspended. Application state is saved - /// without knowing whether the application will be terminated or resumed with the contents - /// of memory still intact. - /// - /// The source of the suspend request. - /// Details about the suspend request. - private void OnSuspending(object sender, SuspendingEventArgs e) - { - _reactPage.OnSuspend(); - } - - /// - /// Invoked when application execution is being resumed. - /// - /// The source of the resume request. - /// Details about the resume request. - private void OnResuming(object sender, object e) - { - _reactPage.OnResume(Exit); - } - } -} diff --git a/example/windows/RNI18nExample/Assets/LockScreenLogo.scale-200.png b/example/windows/RNI18nExample/Assets/LockScreenLogo.scale-200.png deleted file mode 100644 index 735f57a..0000000 Binary files a/example/windows/RNI18nExample/Assets/LockScreenLogo.scale-200.png and /dev/null differ diff --git a/example/windows/RNI18nExample/Assets/SplashScreen.scale-200.png b/example/windows/RNI18nExample/Assets/SplashScreen.scale-200.png deleted file mode 100644 index 023e7f1..0000000 Binary files a/example/windows/RNI18nExample/Assets/SplashScreen.scale-200.png and /dev/null differ diff --git a/example/windows/RNI18nExample/Assets/Square150x150Logo.scale-200.png b/example/windows/RNI18nExample/Assets/Square150x150Logo.scale-200.png deleted file mode 100644 index af49fec..0000000 Binary files a/example/windows/RNI18nExample/Assets/Square150x150Logo.scale-200.png and /dev/null differ diff --git a/example/windows/RNI18nExample/Assets/Square44x44Logo.scale-200.png b/example/windows/RNI18nExample/Assets/Square44x44Logo.scale-200.png deleted file mode 100644 index ce342a2..0000000 Binary files a/example/windows/RNI18nExample/Assets/Square44x44Logo.scale-200.png and /dev/null differ diff --git a/example/windows/RNI18nExample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png b/example/windows/RNI18nExample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png deleted file mode 100644 index f6c02ce..0000000 Binary files a/example/windows/RNI18nExample/Assets/Square44x44Logo.targetsize-24_altform-unplated.png and /dev/null differ diff --git a/example/windows/RNI18nExample/Assets/StoreLogo.png b/example/windows/RNI18nExample/Assets/StoreLogo.png deleted file mode 100644 index 7385b56..0000000 Binary files a/example/windows/RNI18nExample/Assets/StoreLogo.png and /dev/null differ diff --git a/example/windows/RNI18nExample/Assets/Wide310x150Logo.scale-200.png b/example/windows/RNI18nExample/Assets/Wide310x150Logo.scale-200.png deleted file mode 100644 index 288995b..0000000 Binary files a/example/windows/RNI18nExample/Assets/Wide310x150Logo.scale-200.png and /dev/null differ diff --git a/example/windows/RNI18nExample/MainPage.cs b/example/windows/RNI18nExample/MainPage.cs deleted file mode 100644 index 1ce32e5..0000000 --- a/example/windows/RNI18nExample/MainPage.cs +++ /dev/null @@ -1,52 +0,0 @@ -using ReactNative; -using ReactNative.Modules.Core; -using ReactNative.Shell; -using System.Collections.Generic; - -namespace RNI18nExample -{ - class MainPage : ReactPage - { - public override string MainComponentName - { - get - { - return "RNI18nExample"; - } - } - -#if BUNDLE - public override string JavaScriptBundleFile - { - get - { - return "ms-appx:///ReactAssets/index.windows.bundle"; - } - } -#endif - - public override List Packages - { - get - { - return new List - { - new MainReactPackage(), - }; - } - } - - public override bool UseDeveloperSupport - { - get - { -#if !BUNDLE || DEBUG - return true; -#else - return false; -#endif - } - } - } - -} diff --git a/example/windows/RNI18nExample/Package.appxmanifest b/example/windows/RNI18nExample/Package.appxmanifest deleted file mode 100644 index bca5deb..0000000 --- a/example/windows/RNI18nExample/Package.appxmanifest +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - - - - RNI18nExample - React Native for UWP - Assets\StoreLogo.png - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/example/windows/RNI18nExample/Properties/AssemblyInfo.cs b/example/windows/RNI18nExample/Properties/AssemblyInfo.cs deleted file mode 100644 index c3e45ba..0000000 --- a/example/windows/RNI18nExample/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("RNI18nExample")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("RNI18nExample")] -[assembly: AssemblyCopyright("Copyright © 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: ComVisible(false)] \ No newline at end of file diff --git a/example/windows/RNI18nExample/Properties/Default.rd.xml b/example/windows/RNI18nExample/Properties/Default.rd.xml deleted file mode 100644 index 7a69daa..0000000 --- a/example/windows/RNI18nExample/Properties/Default.rd.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - - - \ No newline at end of file diff --git a/example/windows/RNI18nExample/RNI18nExample.csproj b/example/windows/RNI18nExample/RNI18nExample.csproj deleted file mode 100644 index 3c39e9d..0000000 --- a/example/windows/RNI18nExample/RNI18nExample.csproj +++ /dev/null @@ -1,226 +0,0 @@ - - - - - Debug - x86 - {1679adc4-4a79-4df0-9453-a92e31ec9e60} - AppContainerExe - Properties - RNI18nExample - RNI18nExample - en-US - UAP - 10.0.10586.0 - 10.0.10240.0 - 14 - 512 - {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - RNI18nExample_TemporaryKey.pfx - - - true - bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - x86 - false - prompt - true - - - true - bin\x86\DebugBundle\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;BUNDLE - ;2008 - true - full - x86 - false - prompt - MinimumRecommendedRules.ruleset - true - - - bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - x86 - false - prompt - true - true - - - bin\x86\ReleaseBundle\ - TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;BUNDLE - true - ;2008 - true - pdbonly - x86 - false - prompt - MinimumRecommendedRules.ruleset - true - true - - - true - bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - ARM - false - prompt - true - - - true - bin\ARM\DebugBundle\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;BUNDLE - ;2008 - true - full - ARM - false - prompt - MinimumRecommendedRules.ruleset - true - - - bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - ARM - false - prompt - true - true - - - bin\ARM\ReleaseBundle\ - TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;BUNDLE - true - ;2008 - true - pdbonly - ARM - false - prompt - MinimumRecommendedRules.ruleset - true - true - - - true - bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - x64 - false - prompt - true - - - true - bin\x64\DebugBundle\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;BUNDLE - ;2008 - true - full - x64 - false - prompt - MinimumRecommendedRules.ruleset - true - - - bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - x64 - false - prompt - true - true - - - bin\x64\ReleaseBundle\ - TRACE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS;BUNDLE - true - ;2008 - true - pdbonly - x64 - false - prompt - MinimumRecommendedRules.ruleset - true - true - - - - - - - - App.xaml - - - - - - - Designer - - - - - - - - - - - - - - - - MSBuild:Compile - Designer - - - - - {c7673ad5-e3aa-468c-a5fd-fa38154e205c} - ReactNative - - - - - PreserveNewest - - - - 14.0 - - - - diff --git a/example/windows/RNI18nExample/RNI18nExample_TemporaryKey.pfx b/example/windows/RNI18nExample/RNI18nExample_TemporaryKey.pfx deleted file mode 100644 index 08328fc..0000000 Binary files a/example/windows/RNI18nExample/RNI18nExample_TemporaryKey.pfx and /dev/null differ diff --git a/example/windows/RNI18nExample/project.json b/example/windows/RNI18nExample/project.json deleted file mode 100644 index c5e8e3b..0000000 --- a/example/windows/RNI18nExample/project.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "dependencies": { - "Microsoft.NETCore.UniversalWindowsPlatform": "5.2.2" - }, - "frameworks": { - "uap10.0": {} - }, - "runtimes": { - "win10-arm": {}, - "win10-arm-aot": {}, - "win10-x86": {}, - "win10-x86-aot": {}, - "win10-x64": {}, - "win10-x64-aot": {} - } -} diff --git a/windows/.gitignore b/windows/.gitignore deleted file mode 100644 index cbf7e7f..0000000 --- a/windows/.gitignore +++ /dev/null @@ -1,78 +0,0 @@ -*AppPackages* -*BundleArtifacts* -*ReactAssets* - -#OS junk files -[Tt]humbs.db -*.DS_Store - -#Visual Studio files -*.[Oo]bj -*.user -*.aps -*.pch -*.vspscc -*.vssscc -*_i.c -*_p.c -*.ncb -*.suo -*.tlb -*.tlh -*.bak -*.[Cc]ache -*.ilk -*.log -*.lib -*.sbr -*.sdf -*.opensdf -*.opendb -*.unsuccessfulbuild -ipch/ -[Oo]bj/ -[Bb]in -[Dd]ebug*/ -[Rr]elease*/ -Ankh.NoLoad - -#MonoDevelop -*.pidb -*.userprefs - -#Tooling -_ReSharper*/ -*.resharper -[Tt]est[Rr]esult* -*.sass-cache - -#Project files -[Bb]uild/ - -#Subversion files -.svn - -# Office Temp Files -~$* - -# vim Temp Files -*~ - -#NuGet -packages/ -*.nupkg - -#ncrunch -*ncrunch* -*crunch*.local.xml - -# visual studio database projects -*.dbmdl - -#Test files -*.testsettings - -#Other files -*.DotSettings -.vs/ -*project.lock.json diff --git a/windows/RNI18n.sln b/windows/RNI18n.sln deleted file mode 100644 index d7ddfd7..0000000 --- a/windows/RNI18n.sln +++ /dev/null @@ -1,77 +0,0 @@ -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25123.0 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RNI18n", "RNI18n\RNI18n.csproj", "{82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ReactNative", "..\node_modules\react-native-windows\ReactWindows\ReactNative\ReactNative.csproj", "{C7673AD5-E3AA-468C-A5FD-FA38154E205C}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Debug|ARM = Debug|ARM - Debug|x64 = Debug|x64 - Debug|x86 = Debug|x86 - Development|Any CPU = Development|Any CPU - Development|ARM = Development|ARM - Development|x64 = Development|x64 - Development|x86 = Development|x86 - Release|Any CPU = Release|Any CPU - Release|ARM = Release|ARM - Release|x64 = Release|x64 - Release|x86 = Release|x86 - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Debug|Any CPU.Build.0 = Debug|Any CPU - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Debug|ARM.ActiveCfg = Debug|ARM - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Debug|ARM.Build.0 = Debug|ARM - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Debug|x64.ActiveCfg = Debug|x64 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Debug|x64.Build.0 = Debug|x64 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Debug|x86.ActiveCfg = Debug|x86 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Debug|x86.Build.0 = Debug|x86 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Development|Any CPU.ActiveCfg = Development|Any CPU - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Development|Any CPU.Build.0 = Development|Any CPU - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Development|ARM.ActiveCfg = Development|ARM - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Development|ARM.Build.0 = Development|ARM - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Development|x64.ActiveCfg = Development|x64 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Development|x64.Build.0 = Development|x64 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Development|x86.ActiveCfg = Development|x86 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Development|x86.Build.0 = Development|x86 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Release|Any CPU.ActiveCfg = Release|Any CPU - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Release|Any CPU.Build.0 = Release|Any CPU - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Release|ARM.ActiveCfg = Release|ARM - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Release|ARM.Build.0 = Release|ARM - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Release|x64.ActiveCfg = Release|x64 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Release|x64.Build.0 = Release|x64 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Release|x86.ActiveCfg = Release|x86 - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD}.Release|x86.Build.0 = Release|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|ARM.ActiveCfg = Debug|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|ARM.Build.0 = Debug|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x64.ActiveCfg = Debug|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x64.Build.0 = Debug|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x86.ActiveCfg = Debug|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Debug|x86.Build.0 = Debug|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|Any CPU.ActiveCfg = Debug|Any CPU - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|Any CPU.Build.0 = Debug|Any CPU - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|ARM.ActiveCfg = Debug|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|ARM.Build.0 = Debug|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|x64.ActiveCfg = Debug|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|x64.Build.0 = Debug|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|x86.ActiveCfg = Debug|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Development|x86.Build.0 = Debug|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|Any CPU.Build.0 = Release|Any CPU - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|ARM.ActiveCfg = Release|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|ARM.Build.0 = Release|ARM - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x64.ActiveCfg = Release|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x64.Build.0 = Release|x64 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x86.ActiveCfg = Release|x86 - {C7673AD5-E3AA-468C-A5FD-FA38154E205C}.Release|x86.Build.0 = Release|x86 - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/windows/RNI18n/Properties/AssemblyInfo.cs b/windows/RNI18n/Properties/AssemblyInfo.cs deleted file mode 100644 index 8e201f3..0000000 --- a/windows/RNI18n/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,29 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle("RNI18n")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Microsoft")] -[assembly: AssemblyProduct("RNI18n")] -[assembly: AssemblyCopyright("Copyright © Microsoft 2016")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("1.0.0.0")] -[assembly: AssemblyFileVersion("1.0.0.0")] -[assembly: ComVisible(false)] diff --git a/windows/RNI18n/Properties/RNI18n.rd.xml b/windows/RNI18n/Properties/RNI18n.rd.xml deleted file mode 100644 index b0b5a16..0000000 --- a/windows/RNI18n/Properties/RNI18n.rd.xml +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - - diff --git a/windows/RNI18n/RNI18n.csproj b/windows/RNI18n/RNI18n.csproj deleted file mode 100644 index 13b5c15..0000000 --- a/windows/RNI18n/RNI18n.csproj +++ /dev/null @@ -1,183 +0,0 @@ - - - - - Debug - AnyCPU - {82D8FB90-14D4-11E7-9EBB-3B494F4CAAAD} - Library - Properties - RNI18n - RNI18n - en-US - UAP - 10.0.10586.0 - 10.0.10240.0 - 14 - 512 - {A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - ..\..\node_modules - - - ..\.. - - - AnyCPU - true - full - false - bin\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - prompt - 4 - - - AnyCPU - pdbonly - true - bin\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - prompt - 4 - - - x86 - true - bin\x86\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - x86 - false - prompt - - - x86 - bin\x86\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - x86 - false - prompt - - - ARM - true - bin\ARM\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - ARM - false - prompt - - - ARM - bin\ARM\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - ARM - false - prompt - - - x64 - true - bin\x64\Debug\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - full - x64 - false - prompt - - - x64 - bin\x64\Release\ - TRACE;NETFX_CORE;WINDOWS_UWP - true - ;2008 - pdbonly - x64 - false - prompt - - - - - - - - - - - - - - {c7673ad5-e3aa-468c-a5fd-fa38154e205c} - ReactNative - - - - 14.0 - - - true - bin\Development\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - true - full - AnyCPU - false - prompt - MinimumRecommendedRules.ruleset - - - true - bin\x86\Development\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - true - full - x86 - false - prompt - MinimumRecommendedRules.ruleset - - - true - bin\ARM\Development\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - true - full - ARM - false - prompt - MinimumRecommendedRules.ruleset - - - true - bin\x64\Development\ - DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP - ;2008 - true - full - x64 - false - prompt - MinimumRecommendedRules.ruleset - - - - diff --git a/windows/RNI18n/RNI18nModule.cs b/windows/RNI18n/RNI18nModule.cs deleted file mode 100644 index c7311db..0000000 --- a/windows/RNI18n/RNI18nModule.cs +++ /dev/null @@ -1,30 +0,0 @@ -using ReactNative.Bridge; -using ReactNative.Collections; -using System; -using System.Collections.Generic; -using System.Globalization; - -namespace Com.AlexanderZaytsev.RNI18n { - - class RNI18nModule : ReactContextNativeModuleBase { - - public RNI18nModule(ReactContext reactContext) : base(reactContext) {} - - public override string Name { - get { - return "RNI18n"; - } - } - - public override IReadOnlyDictionary Constants { - get { - Dictionary constants = new Dictionary(); - - constants["language"] = Windows.System.UserProfile.GlobalizationPreferences.Languages[0]; - constants["languages"] = Windows.System.UserProfile.GlobalizationPreferences.Languages; - - return constants; - } - } - } -} diff --git a/windows/RNI18n/RNI18nPackage.cs b/windows/RNI18n/RNI18nPackage.cs deleted file mode 100644 index c0ffc12..0000000 --- a/windows/RNI18n/RNI18nPackage.cs +++ /dev/null @@ -1,29 +0,0 @@ -using ReactNative.Bridge; -using ReactNative.Modules.Core; -using ReactNative.UIManager; -using System; -using System.Collections.Generic; - -namespace Com.AlexanderZaytsev.RNI18n -{ - public class RNI18nPackage : IReactPackage - { - public IReadOnlyList CreateNativeModules(ReactContext reactContext) - { - return new List - { - new RNI18nModule(reactContext), - }; - } - - public IReadOnlyList CreateJavaScriptModulesConfig() - { - return new List(0); - } - - public IReadOnlyList CreateViewManagers(ReactContext reactContext) - { - return new List(0); - } - } -} diff --git a/windows/RNI18n/project.json b/windows/RNI18n/project.json deleted file mode 100644 index a45c8bd..0000000 --- a/windows/RNI18n/project.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "dependencies": { - "Microsoft.NETCore.UniversalWindowsPlatform": "5.0.0" - }, - "frameworks": { - "uap10.0": {} - }, - "runtimes": { - "win10-arm": {}, - "win10-arm-aot": {}, - "win10-x86": {}, - "win10-x86-aot": {}, - "win10-x64": {}, - "win10-x64-aot": {} - } -}