Authored by 于良

登录时密码aes加密 review by 草莓

... ... @@ -2,27 +2,27 @@ PODS:
- Crashlytics (3.7.1):
- Fabric (~> 1.6.3)
- Fabric (1.6.7)
- React (0.26.2):
- React/Core (= 0.26.2)
- React/Core (0.26.2)
- React/RCTActionSheet (0.26.2):
- React (0.26.3):
- React/Core (= 0.26.3)
- React/Core (0.26.3)
- React/RCTActionSheet (0.26.3):
- React/Core
- React/RCTImage (0.26.2):
- React/RCTImage (0.26.3):
- React/Core
- React/RCTNetwork
- React/RCTLinkingIOS (0.26.2):
- React/RCTLinkingIOS (0.26.3):
- React/Core
- React/RCTNetwork (0.26.2):
- React/RCTNetwork (0.26.3):
- React/Core
- React/RCTPushNotification (0.26.2):
- React/RCTPushNotification (0.26.3):
- React/Core
- React/RCTText (0.26.2):
- React/RCTText (0.26.3):
- React/Core
- React/RCTVibration (0.26.2):
- React/RCTVibration (0.26.3):
- React/Core
- React/RCTWebSocket (0.26.2):
- React/RCTWebSocket (0.26.3):
- React/Core
- RNDeviceInfo (0.9.2):
- RNDeviceInfo (0.9.3):
- React
- SSZipArchive (1.2)
... ... @@ -50,8 +50,10 @@ EXTERNAL SOURCES:
SPEC CHECKSUMS:
Crashlytics: 3cdd4c9655be68032a0cf0379e0fb5ef6af22cad
Fabric: caf7580c725e64db144f610ac65cd60956911dc7
React: a764d67f6cf360723120951301cba3ee5ee05ce2
RNDeviceInfo: e3fe8d8fe52f74eab22b7d4784a4fdd2e9bf4a26
React: 82b64b37b7ad5895b902b33bc7d5a49dbc22793e
RNDeviceInfo: dc3cbee96cd2392cf03d6ff6191dc15f1606a166
SSZipArchive: 251093c65f98d6ea282c50bc404bfa631d9fd721
COCOAPODS: 0.39.0
PODFILE CHECKSUM: 499427107ab3896fefd1f94b31ea3eac6762d8cb
COCOAPODS: 1.2.0
... ...
... ... @@ -12,9 +12,10 @@
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 */; };
17D50E20CC57FF1871BE51A1 /* libPods-YH_Vendor.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B150B712474C726DC8CBB2AF /* libPods-YH_Vendor.a */; };
2E572BF51D00089000B89A37 /* RNAutoUpdater.m in Sources */ = {isa = PBXBuildFile; fileRef = 2E572BF41D00089000B89A37 /* RNAutoUpdater.m */; };
2EDB1CE11CFED97B001CA832 /* RNNativeConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 2EDB1CE01CFED97B001CA832 /* RNNativeConfig.m */; };
5AC1B39F4940B0FAC56474FA /* libPods-YH_Vendor.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B562CE3CB8E496AF9768090D /* libPods-YH_Vendor.a */; };
463CAD1B0B5E3A13E0030FF2 /* libPods-YH_Vendor_Dev.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BD713DD75F3F9D49E9B5148 /* libPods-YH_Vendor_Dev.a */; };
8730DB7F1D07ED1900EC80BA /* RNAutoUpdater.m in Sources */ = {isa = PBXBuildFile; fileRef = 2E572BF41D00089000B89A37 /* RNAutoUpdater.m */; };
8730DB801D07ED1900EC80BA /* RNNativeConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = 2EDB1CE01CFED97B001CA832 /* RNNativeConfig.m */; };
8730DB811D07ED1900EC80BA /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
... ... @@ -22,7 +23,6 @@
8730DB841D07ED1900EC80BA /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 87AF81B01D01168400ACE834 /* libReact.a */; };
8730DB851D07ED1900EC80BA /* libSSZipArchive.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 87AF81B11D01168400ACE834 /* libSSZipArchive.a */; };
8730DB861D07ED1900EC80BA /* libRNDeviceInfo.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 87AF818A1CFD959D00ACE834 /* libRNDeviceInfo.a */; };
8730DB871D07ED1900EC80BA /* libPods-YH_Vendor.a in Frameworks */ = {isa = PBXBuildFile; fileRef = B562CE3CB8E496AF9768090D /* libPods-YH_Vendor.a */; };
8730DB891D07ED1900EC80BA /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
8730DB8A1D07ED1900EC80BA /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; };
87561E481D0D519600C6AEE8 /* highcharts.js in Resources */ = {isa = PBXBuildFile; fileRef = 87561E461D0D519600C6AEE8 /* highcharts.js */; };
... ... @@ -42,7 +42,6 @@
87AF81B31D01168400ACE834 /* libSSZipArchive.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 87AF81B11D01168400ACE834 /* libSSZipArchive.a */; };
B11BB0A31EF3BEFE00D9F068 /* QRNativeConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = B11BB0A21EF3BEFE00D9F068 /* QRNativeConfig.m */; };
B11BB0A41EF3BEFE00D9F068 /* QRNativeConfig.m in Sources */ = {isa = PBXBuildFile; fileRef = B11BB0A21EF3BEFE00D9F068 /* QRNativeConfig.m */; };
CC5F52AD6330EE6C3FDFA089 /* libPods-YH_Vendor_Dev.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 623331A6816CC96D1ED030EB /* libPods-YH_Vendor_Dev.a */; };
/* End PBXBuildFile section */
/* Begin PBXContainerItemProxy section */
... ... @@ -67,7 +66,6 @@
00E356EE1AD99517003FC87E /* YH_VendorTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = YH_VendorTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
00E356F21AD99517003FC87E /* YH_VendorTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = YH_VendorTests.m; sourceTree = "<group>"; };
0C4B92035A340B7E10400078 /* Pods-YH_Vendor.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YH_Vendor.release.xcconfig"; path = "Pods/Target Support Files/Pods-YH_Vendor/Pods-YH_Vendor.release.xcconfig"; sourceTree = "<group>"; };
13B07F961A680F5B00A75B9A /* YH_Vendor.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YH_Vendor.app; sourceTree = BUILT_PRODUCTS_DIR; };
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = YH_Vendor/AppDelegate.h; sourceTree = "<group>"; };
13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = YH_Vendor/AppDelegate.m; sourceTree = "<group>"; };
... ... @@ -79,8 +77,9 @@
2E572BF41D00089000B89A37 /* RNAutoUpdater.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNAutoUpdater.m; sourceTree = "<group>"; };
2EDB1CDF1CFED97B001CA832 /* RNNativeConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNNativeConfig.h; sourceTree = "<group>"; };
2EDB1CE01CFED97B001CA832 /* RNNativeConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNNativeConfig.m; sourceTree = "<group>"; };
5B51D3B6F0CB3E5047D881CA /* Pods-YH_Vendor.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YH_Vendor.debug.xcconfig"; path = "Pods/Target Support Files/Pods-YH_Vendor/Pods-YH_Vendor.debug.xcconfig"; sourceTree = "<group>"; };
623331A6816CC96D1ED030EB /* libPods-YH_Vendor_Dev.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-YH_Vendor_Dev.a"; sourceTree = BUILT_PRODUCTS_DIR; };
49A7DEB3446521C87F384BA9 /* Pods-YH_Vendor.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YH_Vendor.debug.xcconfig"; path = "Pods/Target Support Files/Pods-YH_Vendor/Pods-YH_Vendor.debug.xcconfig"; sourceTree = "<group>"; };
6BD713DD75F3F9D49E9B5148 /* libPods-YH_Vendor_Dev.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-YH_Vendor_Dev.a"; sourceTree = BUILT_PRODUCTS_DIR; };
86006C4CEB72A2FC433A2C54 /* Pods-YH_Vendor_Dev.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YH_Vendor_Dev.debug.xcconfig"; path = "Pods/Target Support Files/Pods-YH_Vendor_Dev/Pods-YH_Vendor_Dev.debug.xcconfig"; sourceTree = "<group>"; };
8730DB921D07ED1900EC80BA /* YH_Vendor_Dev.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = YH_Vendor_Dev.app; sourceTree = BUILT_PRODUCTS_DIR; };
8730DB931D07ED1900EC80BA /* YH_Vendor_Dev.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; name = YH_Vendor_Dev.plist; path = /Users/yl3016/Desktop/workspace/YH_Vendor/ios/YH_Vendor_Dev.plist; sourceTree = "<absolute>"; };
87561E461D0D519600C6AEE8 /* highcharts.js */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.javascript; path = highcharts.js; sourceTree = "<group>"; };
... ... @@ -95,11 +94,11 @@
87AF818A1CFD959D00ACE834 /* libRNDeviceInfo.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libRNDeviceInfo.a; path = "../../../../Library/Developer/Xcode/DerivedData/YH_Vendor-hikjhmoukakxyvegrfxjqofhevhj/Build/Products/Release-iphonesimulator/libRNDeviceInfo.a"; sourceTree = "<group>"; };
87AF81B01D01168400ACE834 /* libReact.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libReact.a; path = "Pods/../build/Debug-iphoneos/libReact.a"; sourceTree = "<group>"; };
87AF81B11D01168400ACE834 /* libSSZipArchive.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libSSZipArchive.a; path = "Pods/../build/Debug-iphoneos/libSSZipArchive.a"; sourceTree = "<group>"; };
88351CDF55FFDA73C7D3CE26 /* Pods-YH_Vendor_Dev.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YH_Vendor_Dev.release.xcconfig"; path = "Pods/Target Support Files/Pods-YH_Vendor_Dev/Pods-YH_Vendor_Dev.release.xcconfig"; sourceTree = "<group>"; };
AD63C8F41E1F0F03FEB888A5 /* Pods-YH_Vendor_Dev.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YH_Vendor_Dev.debug.xcconfig"; path = "Pods/Target Support Files/Pods-YH_Vendor_Dev/Pods-YH_Vendor_Dev.debug.xcconfig"; sourceTree = "<group>"; };
9ACD1E8871404093273A4BFC /* Pods-YH_Vendor.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YH_Vendor.release.xcconfig"; path = "Pods/Target Support Files/Pods-YH_Vendor/Pods-YH_Vendor.release.xcconfig"; sourceTree = "<group>"; };
B11BB0A11EF3BEFE00D9F068 /* QRNativeConfig.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = QRNativeConfig.h; sourceTree = "<group>"; };
B11BB0A21EF3BEFE00D9F068 /* QRNativeConfig.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = QRNativeConfig.m; sourceTree = "<group>"; };
B562CE3CB8E496AF9768090D /* libPods-YH_Vendor.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-YH_Vendor.a"; sourceTree = BUILT_PRODUCTS_DIR; };
B150B712474C726DC8CBB2AF /* libPods-YH_Vendor.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-YH_Vendor.a"; sourceTree = BUILT_PRODUCTS_DIR; };
F69FC2D3664B37C9197A2C6D /* Pods-YH_Vendor_Dev.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-YH_Vendor_Dev.release.xcconfig"; path = "Pods/Target Support Files/Pods-YH_Vendor_Dev/Pods-YH_Vendor_Dev.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */
/* Begin PBXFrameworksBuildPhase section */
... ... @@ -118,7 +117,7 @@
87AF81B21D01168400ACE834 /* libReact.a in Frameworks */,
87AF81B31D01168400ACE834 /* libSSZipArchive.a in Frameworks */,
87AF818B1CFD959D00ACE834 /* libRNDeviceInfo.a in Frameworks */,
5AC1B39F4940B0FAC56474FA /* libPods-YH_Vendor.a in Frameworks */,
17D50E20CC57FF1871BE51A1 /* libPods-YH_Vendor.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
... ... @@ -130,8 +129,7 @@
8730DB841D07ED1900EC80BA /* libReact.a in Frameworks */,
8730DB851D07ED1900EC80BA /* libSSZipArchive.a in Frameworks */,
8730DB861D07ED1900EC80BA /* libRNDeviceInfo.a in Frameworks */,
8730DB871D07ED1900EC80BA /* libPods-YH_Vendor.a in Frameworks */,
CC5F52AD6330EE6C3FDFA089 /* libPods-YH_Vendor_Dev.a in Frameworks */,
463CAD1B0B5E3A13E0030FF2 /* libPods-YH_Vendor_Dev.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
... ... @@ -175,17 +173,6 @@
name = YH_Vendor;
sourceTree = "<group>";
};
17B3462D53B1F92F8FA30512 /* Pods */ = {
isa = PBXGroup;
children = (
5B51D3B6F0CB3E5047D881CA /* Pods-YH_Vendor.debug.xcconfig */,
0C4B92035A340B7E10400078 /* Pods-YH_Vendor.release.xcconfig */,
AD63C8F41E1F0F03FEB888A5 /* Pods-YH_Vendor_Dev.debug.xcconfig */,
88351CDF55FFDA73C7D3CE26 /* Pods-YH_Vendor_Dev.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
2E572BF21D00089000B89A37 /* RNAutoUpdater */ = {
isa = PBXGroup;
children = (
... ... @@ -221,8 +208,8 @@
832341AE1AAA6A7D00B99B32 /* Libraries */,
00E356EF1AD99517003FC87E /* YH_VendorTests */,
83CBBA001A601CBA00E9B192 /* Products */,
17B3462D53B1F92F8FA30512 /* Pods */,
D5ECECDEB080EA5509812B91 /* Frameworks */,
DFE47203536F96EE070E0F5E /* Pods */,
);
indentWidth = 2;
sourceTree = "<group>";
... ... @@ -268,12 +255,23 @@
87AF81B01D01168400ACE834 /* libReact.a */,
87AF81B11D01168400ACE834 /* libSSZipArchive.a */,
87AF818A1CFD959D00ACE834 /* libRNDeviceInfo.a */,
B562CE3CB8E496AF9768090D /* libPods-YH_Vendor.a */,
623331A6816CC96D1ED030EB /* libPods-YH_Vendor_Dev.a */,
B150B712474C726DC8CBB2AF /* libPods-YH_Vendor.a */,
6BD713DD75F3F9D49E9B5148 /* libPods-YH_Vendor_Dev.a */,
);
name = Frameworks;
sourceTree = "<group>";
};
DFE47203536F96EE070E0F5E /* Pods */ = {
isa = PBXGroup;
children = (
49A7DEB3446521C87F384BA9 /* Pods-YH_Vendor.debug.xcconfig */,
9ACD1E8871404093273A4BFC /* Pods-YH_Vendor.release.xcconfig */,
86006C4CEB72A2FC433A2C54 /* Pods-YH_Vendor_Dev.debug.xcconfig */,
F69FC2D3664B37C9197A2C6D /* Pods-YH_Vendor_Dev.release.xcconfig */,
);
name = Pods;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXNativeTarget section */
... ... @@ -299,14 +297,14 @@
isa = PBXNativeTarget;
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "YH_Vendor" */;
buildPhases = (
44B2D97AB3972A3715B1C707 /* Check Pods Manifest.lock */,
A2314943FDBA6078F4B2E61D /* [CP] Check Pods Manifest.lock */,
13B07F871A680F5B00A75B9A /* Sources */,
13B07F8C1A680F5B00A75B9A /* Frameworks */,
13B07F8E1A680F5B00A75B9A /* Resources */,
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
BB9436B3EA79AB165412E5BB /* Embed Pods Frameworks */,
4BCD251C1D17F4E731D8DCEE /* Copy Pods Resources */,
87561E5B1D0FC3F100C6AEE8 /* ShellScript */,
110BF77373F68A93F628CD05 /* [CP] Embed Pods Frameworks */,
6664F63A2B63B47AD8FBB0AB /* [CP] Copy Pods Resources */,
);
buildRules = (
);
... ... @@ -321,14 +319,14 @@
isa = PBXNativeTarget;
buildConfigurationList = 8730DB8F1D07ED1900EC80BA /* Build configuration list for PBXNativeTarget "YH_Vendor_Dev" */;
buildPhases = (
8730DB7D1D07ED1900EC80BA /* Check Pods Manifest.lock */,
C92F66E19D3C3C4B8383E51E /* [CP] Check Pods Manifest.lock */,
8730DB7E1D07ED1900EC80BA /* Sources */,
8730DB831D07ED1900EC80BA /* Frameworks */,
8730DB881D07ED1900EC80BA /* Resources */,
8730DB8C1D07ED1900EC80BA /* Bundle React Native code and images */,
8730DB8D1D07ED1900EC80BA /* Embed Pods Frameworks */,
8730DB8E1D07ED1900EC80BA /* Copy Pods Resources */,
87561E5A1D0FB6B400C6AEE8 /* ShellScript */,
3661491C3014AEB7F80B76DC /* [CP] Embed Pods Frameworks */,
3603AEB35D8267E6F037925E /* [CP] Copy Pods Resources */,
);
buildRules = (
);
... ... @@ -441,98 +439,96 @@
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
};
44B2D97AB3972A3715B1C707 /* Check Pods Manifest.lock */ = {
110BF77373F68A93F628CD05 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YH_Vendor/Pods-YH_Vendor-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
4BCD251C1D17F4E731D8DCEE /* Copy Pods Resources */ = {
3603AEB35D8267E6F037925E /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YH_Vendor/Pods-YH_Vendor-resources.sh\"\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YH_Vendor_Dev/Pods-YH_Vendor_Dev-resources.sh\"\n";
showEnvVarsInLog = 0;
};
8730DB7D1D07ED1900EC80BA /* Check Pods Manifest.lock */ = {
3661491C3014AEB7F80B76DC /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Check Pods Manifest.lock";
name = "[CP] Embed Pods Frameworks";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YH_Vendor_Dev/Pods-YH_Vendor_Dev-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
8730DB8C1D07ED1900EC80BA /* Bundle React Native code and images */ = {
6664F63A2B63B47AD8FBB0AB /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Bundle React Native code and images";
name = "[CP] Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YH_Vendor/Pods-YH_Vendor-resources.sh\"\n";
showEnvVarsInLog = 0;
};
8730DB8D1D07ED1900EC80BA /* Embed Pods Frameworks */ = {
8730DB8C1D07ED1900EC80BA /* Bundle React Native code and images */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
name = "Bundle React Native code and images";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YH_Vendor_Dev/Pods-YH_Vendor_Dev-frameworks.sh\"\n";
showEnvVarsInLog = 0;
shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh";
};
8730DB8E1D07ED1900EC80BA /* Copy Pods Resources */ = {
87561E5A1D0FB6B400C6AEE8 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
buildActionMask = 12;
files = (
);
inputPaths = (
);
name = "Copy Pods Resources";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YH_Vendor_Dev/Pods-YH_Vendor_Dev-resources.sh\"\n";
showEnvVarsInLog = 0;
shellScript = "releaseConfig=\"Release\"\n\nif [ \"$releaseConfig\" = \"${CONFIGURATION}\" ]; then\necho \"Running Crashlytics\"\n\"${PODS_ROOT}/Fabric/run\" 00fd3f8eb2d9665e7b61964caaa7e90104328efd 59f6c182e8506f71f2efcaa842ffe63fd9207b89dbedfb399a47432997776883\nfi";
};
87561E5A1D0FB6B400C6AEE8 /* ShellScript */ = {
87561E5B1D0FC3F100C6AEE8 /* ShellScript */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 12;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
... ... @@ -543,32 +539,34 @@
shellPath = /bin/sh;
shellScript = "releaseConfig=\"Release\"\n\nif [ \"$releaseConfig\" = \"${CONFIGURATION}\" ]; then\necho \"Running Crashlytics\"\n\"${PODS_ROOT}/Fabric/run\" 00fd3f8eb2d9665e7b61964caaa7e90104328efd 59f6c182e8506f71f2efcaa842ffe63fd9207b89dbedfb399a47432997776883\nfi";
};
87561E5B1D0FC3F100C6AEE8 /* ShellScript */ = {
A2314943FDBA6078F4B2E61D /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "releaseConfig=\"Release\"\n\nif [ \"$releaseConfig\" = \"${CONFIGURATION}\" ]; then\necho \"Running Crashlytics\"\n\"${PODS_ROOT}/Fabric/run\" 00fd3f8eb2d9665e7b61964caaa7e90104328efd 59f6c182e8506f71f2efcaa842ffe63fd9207b89dbedfb399a47432997776883\nfi";
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
BB9436B3EA79AB165412E5BB /* Embed Pods Frameworks */ = {
C92F66E19D3C3C4B8383E51E /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputPaths = (
);
name = "Embed Pods Frameworks";
name = "[CP] Check Pods Manifest.lock";
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-YH_Vendor/Pods-YH_Vendor-frameworks.sh\"\n";
shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n";
showEnvVarsInLog = 0;
};
/* End PBXShellScriptBuildPhase section */
... ... @@ -675,7 +673,7 @@
};
13B07F941A680F5B00A75B9A /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 5B51D3B6F0CB3E5047D881CA /* Pods-YH_Vendor.debug.xcconfig */;
baseConfigurationReference = 49A7DEB3446521C87F384BA9 /* Pods-YH_Vendor.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
... ... @@ -705,7 +703,7 @@
};
13B07F951A680F5B00A75B9A /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 0C4B92035A340B7E10400078 /* Pods-YH_Vendor.release.xcconfig */;
baseConfigurationReference = 9ACD1E8871404093273A4BFC /* Pods-YH_Vendor.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
... ... @@ -822,7 +820,7 @@
};
8730DB901D07ED1900EC80BA /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = AD63C8F41E1F0F03FEB888A5 /* Pods-YH_Vendor_Dev.debug.xcconfig */;
baseConfigurationReference = 86006C4CEB72A2FC433A2C54 /* Pods-YH_Vendor_Dev.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
... ... @@ -855,7 +853,7 @@
};
8730DB911D07ED1900EC80BA /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 88351CDF55FFDA73C7D3CE26 /* Pods-YH_Vendor_Dev.release.xcconfig */;
baseConfigurationReference = F69FC2D3664B37C9197A2C6D /* Pods-YH_Vendor_Dev.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage;
... ...
... ... @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.3</string>
<string>2.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.3.2017050801</string>
<string>2.0.0.2017080801</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
... ... @@ -43,6 +43,8 @@
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
<key>NSCameraUsageDescription</key>
<string>使用相机</string>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>UIRequiredDeviceCapabilities</key>
... ... @@ -57,7 +59,5 @@
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>NSCameraUsageDescription</key>
<string>使用相机</string>
</dict>
</plist>
... ...
... ... @@ -17,11 +17,11 @@
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0.0</string>
<string>2.0.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1.0.0.2016060602</string>
<string>2.0.0.2017080801</string>
<key>Fabric</key>
<dict>
<key>APIKey</key>
... ...
... ... @@ -33,5 +33,8 @@ module.exports = {
date: 1,//天
week: 2,
month: 3,
},
flower: {
rose: 'yoho9646yoho9646',
}
}
... ...
... ... @@ -157,7 +157,7 @@ export default class Request {
}
_publicParams() {
let app_version = DeviceInfo.getBuildNumber();
let app_version = DeviceInfo.getVersion();
let os_version = DeviceInfo.getSystemVersion();
let client_type = Platform.OS === 'ios' ? 'iphone' : 'android';
let {height, width} = Dimensions.get('window');
... ...
... ... @@ -3,6 +3,7 @@
import Request from './Request';
import store from 'react-native-simple-store';
import CONFIG from '../constants/config';
import CryptoJS from 'crypto-js';
export default class UserService {
... ... @@ -11,12 +12,29 @@ export default class UserService {
this.USER_INFO_KEY = CONFIG.storeKey.USER_INFO_KEY;
}
encrypt(word, key) {
let encryptString = CryptoJS.AES.encrypt(
CryptoJS.enc.Utf8.parse(word),
CryptoJS.enc.Utf8.parse(key),
{
iv: CryptoJS.enc.Utf8.parse('0'),
mode: CryptoJS.mode.ECB,
padding: CryptoJS.pad.Pkcs7
}
).ciphertext.toString(CryptoJS.enc.Base64);
return encryptString;
}
async login(account, password) {
let encryptPass = this.encrypt(password, CONFIG.flower.rose);
console.log(encryptPass)
return this.api.get({
url: '',
body: {
account: account,
password: password,
password: encryptPass,
method:'app.shops.login',
}
... ... @@ -42,7 +60,6 @@ export default class UserService {
}
})
.then(data => {
console.log(data);
return data;
})
.catch(error => {
... ...
... ... @@ -7,6 +7,7 @@
},
"dependencies": {
"apsl-react-native-button": "^2.4.2",
"crypto-js": "^3.1.9-1",
"immutable": "^3.8.1",
"key-mirror": "^1.0.1",
"md5": "^2.1.0",
... ...