Showing
62 changed files
with
2116 additions
and
209 deletions
No preview for this file type
| ... | @@ -9,7 +9,6 @@ | ... | @@ -9,7 +9,6 @@ |
| 9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
| 10 | 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */; settings = {ASSET_TAGS = (); }; }; | 10 | 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */; settings = {ASSET_TAGS = (); }; }; |
| 11 | 844544B81EFA5EE7004BDC50 /* YouaiSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */; settings = {ASSET_TAGS = (); }; }; | 11 | 844544B81EFA5EE7004BDC50 /* YouaiSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */; settings = {ASSET_TAGS = (); }; }; |
| 12 | - 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 845D181B1C8D778400F27EB9 /* Images.xcassets */; settings = {ASSET_TAGS = (); }; }; | ||
| 13 | 846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; settings = {ASSET_TAGS = (); }; }; | 12 | 846BD2241EE9342700E89A1D /* pool_setting in Resources */ = {isa = PBXBuildFile; fileRef = 846BD21F1EE9342700E89A1D /* pool_setting */; settings = {ASSET_TAGS = (); }; }; |
| 14 | 846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; settings = {ASSET_TAGS = (); }; }; | 13 | 846BD2261EE9342700E89A1D /* SDKInterface.m in Sources */ = {isa = PBXBuildFile; fileRef = 846BD2231EE9342700E89A1D /* SDKInterface.m */; settings = {ASSET_TAGS = (); }; }; |
| 15 | 847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; settings = {ASSET_TAGS = (); }; }; | 14 | 847EE5E21EE9007E003A4B7B /* MainViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; settings = {ASSET_TAGS = (); }; }; |
| ... | @@ -29,7 +28,9 @@ | ... | @@ -29,7 +28,9 @@ |
| 29 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5111EE7E2B800B402D1 /* libz.1.dylib */; }; | 28 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5111EE7E2B800B402D1 /* libz.1.dylib */; }; |
| 30 | 8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5131EE7E2DE00B402D1 /* Foundation.framework */; }; | 29 | 8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5131EE7E2DE00B402D1 /* Foundation.framework */; }; |
| 31 | 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */; }; | 30 | 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */; }; |
| 32 | - 84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84A090AA1F160A69003D23FB /* TrackingIO.a */; settings = {ASSET_TAGS = (); }; }; | 31 | + 84EA2DDE1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84EA2DDB1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a */; settings = {ASSET_TAGS = (); }; }; |
| 32 | + 84EA2DDF1F7CCDDF0071F3F0 /* ReYunTrack.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 84EA2DDC1F7CCDDF0071F3F0 /* ReYunTrack.a */; settings = {ASSET_TAGS = (); }; }; | ||
| 33 | + 84EA2DE11F7CCE640071F3F0 /* CoreLocation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */; }; | ||
| 33 | BB5F3C8E1C1811BC00DA339D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3C8D1C1811BC00DA339D /* main.m */; }; | 34 | BB5F3C8E1C1811BC00DA339D /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = BB5F3C8D1C1811BC00DA339D /* main.m */; }; |
| 34 | BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C951C1811BC00DA339D /* Main.storyboard */; }; | 35 | BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C951C1811BC00DA339D /* Main.storyboard */; }; |
| 35 | BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */; }; | 36 | BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */; }; |
| ... | @@ -62,7 +63,6 @@ | ... | @@ -62,7 +63,6 @@ |
| 62 | /* Begin PBXFileReference section */ | 63 | /* Begin PBXFileReference section */ |
| 63 | 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; | 64 | 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; |
| 64 | 844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = YouaiSDK.framework; path = poolsdk_file/poolsdk/YouaiSDK.framework; sourceTree = "<group>"; }; | 65 | 844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = YouaiSDK.framework; path = poolsdk_file/poolsdk/YouaiSDK.framework; sourceTree = "<group>"; }; |
| 65 | - 845D181B1C8D778400F27EB9 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = poolsdk_file/poolsdk/Images.xcassets; sourceTree = "<group>"; }; | ||
| 66 | 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; | 66 | 845D181C1C8D778400F27EB9 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = poolsdk_file/poolsdk/Info.plist; sourceTree = "<group>"; }; |
| 67 | 846BD21F1EE9342700E89A1D /* pool_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pool_setting; path = poolsdk_file/poolsdk/pool_setting; sourceTree = "<group>"; }; | 67 | 846BD21F1EE9342700E89A1D /* pool_setting */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = pool_setting; path = poolsdk_file/poolsdk/pool_setting; sourceTree = "<group>"; }; |
| 68 | 846BD2221EE9342700E89A1D /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; }; | 68 | 846BD2221EE9342700E89A1D /* SDKInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk/SDKInterface.h; sourceTree = "<group>"; }; |
| ... | @@ -87,8 +87,11 @@ | ... | @@ -87,8 +87,11 @@ |
| 87 | 8484E5111EE7E2B800B402D1 /* libz.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.1.dylib; path = ../../../../../../../../usr/lib/libz.1.dylib; sourceTree = "<group>"; }; | 87 | 8484E5111EE7E2B800B402D1 /* libz.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libz.1.dylib; path = ../../../../../../../../usr/lib/libz.1.dylib; sourceTree = "<group>"; }; |
| 88 | 8484E5131EE7E2DE00B402D1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | 88 | 8484E5131EE7E2DE00B402D1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; |
| 89 | 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; | 89 | 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; |
| 90 | - 84A090AA1F160A69003D23FB /* TrackingIO.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = TrackingIO.a; path = poolsdk_file/poolsdk/TrackingIO.a; sourceTree = "<group>"; }; | 90 | + 84EA2DDA1F7CCDDF0071F3F0 /* DCTrackingAgent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = DCTrackingAgent.h; path = poolsdk_file/poolsdk/DCTrackingAgent.h; sourceTree = "<group>"; }; |
| 91 | - 84A090AC1F174E21003D23FB /* TrackingIO.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = TrackingIO.h; path = poolsdk_file/poolsdk/TrackingIO.h; sourceTree = "<group>"; }; | 91 | + 84EA2DDB1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libDataEyeTracking_v1.7.0.a; path = poolsdk_file/poolsdk/libDataEyeTracking_v1.7.0.a; sourceTree = "<group>"; }; |
| 92 | + 84EA2DDC1F7CCDDF0071F3F0 /* ReYunTrack.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = ReYunTrack.a; path = poolsdk_file/poolsdk/ReYunTrack.a; sourceTree = "<group>"; }; | ||
| 93 | + 84EA2DDD1F7CCDDF0071F3F0 /* ReYunTrack.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = ReYunTrack.h; path = poolsdk_file/poolsdk/ReYunTrack.h; sourceTree = "<group>"; }; | ||
| 94 | + 84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; }; | ||
| 92 | BB5F3C881C1811BC00DA339D /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | 95 | BB5F3C881C1811BC00DA339D /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; }; |
| 93 | BB5F3C8D1C1811BC00DA339D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | 96 | BB5F3C8D1C1811BC00DA339D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; |
| 94 | BB5F3C961C1811BC00DA339D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | 97 | BB5F3C961C1811BC00DA339D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; |
| ... | @@ -103,23 +106,25 @@ | ... | @@ -103,23 +106,25 @@ |
| 103 | isa = PBXFrameworksBuildPhase; | 106 | isa = PBXFrameworksBuildPhase; |
| 104 | buildActionMask = 2147483647; | 107 | buildActionMask = 2147483647; |
| 105 | files = ( | 108 | files = ( |
| 109 | + 84EA2DE11F7CCE640071F3F0 /* CoreLocation.framework in Frameworks */, | ||
| 106 | 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, | 110 | 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework in Frameworks */, |
| 107 | 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, | 111 | 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib in Frameworks */, |
| 108 | 844544B81EFA5EE7004BDC50 /* YouaiSDK.framework in Frameworks */, | 112 | 844544B81EFA5EE7004BDC50 /* YouaiSDK.framework in Frameworks */, |
| 109 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, | 113 | 8484E5121EE7E2B800B402D1 /* libz.1.dylib in Frameworks */, |
| 110 | 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, | 114 | 8484E5101EE7E29A00B402D1 /* libc++.1.dylib in Frameworks */, |
| 111 | 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, | 115 | 8484E5001EE7E20C00B402D1 /* CFNetwork.framework in Frameworks */, |
| 116 | + 84EA2DDE1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a in Frameworks */, | ||
| 112 | 8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */, | 117 | 8484E5061EE7E24A00B402D1 /* CoreMotion.framework in Frameworks */, |
| 113 | 8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */, | 118 | 8484E5021EE7E21F00B402D1 /* UIKit.framework in Frameworks */, |
| 114 | 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */, | 119 | 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework in Frameworks */, |
| 115 | 8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */, | 120 | 8484E5081EE7E25600B402D1 /* CoreText.framework in Frameworks */, |
| 116 | 8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */, | 121 | 8484E50E1EE7E28000B402D1 /* QuartzCore.framework in Frameworks */, |
| 117 | 8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */, | 122 | 8484E5141EE7E2DE00B402D1 /* Foundation.framework in Frameworks */, |
| 123 | + 84EA2DDF1F7CCDDF0071F3F0 /* ReYunTrack.a in Frameworks */, | ||
| 118 | 8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */, | 124 | 8484E50A1EE7E26200B402D1 /* Security.framework in Frameworks */, |
| 119 | 8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */, | 125 | 8484E5041EE7E24400B402D1 /* StoreKit.framework in Frameworks */, |
| 120 | 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */, | 126 | 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework in Frameworks */, |
| 121 | 8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */, | 127 | 8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework in Frameworks */, |
| 122 | - 84A090AB1F160A69003D23FB /* TrackingIO.a in Frameworks */, | ||
| 123 | ); | 128 | ); |
| 124 | runOnlyForDeploymentPostprocessing = 0; | 129 | runOnlyForDeploymentPostprocessing = 0; |
| 125 | }; | 130 | }; |
| ... | @@ -144,14 +149,15 @@ | ... | @@ -144,14 +149,15 @@ |
| 144 | 8476DF641C4DD71D00EC42BA /* poolsdk */ = { | 149 | 8476DF641C4DD71D00EC42BA /* poolsdk */ = { |
| 145 | isa = PBXGroup; | 150 | isa = PBXGroup; |
| 146 | children = ( | 151 | children = ( |
| 147 | - 84A090AC1F174E21003D23FB /* TrackingIO.h */, | ||
| 148 | - 84A090AA1F160A69003D23FB /* TrackingIO.a */, | ||
| 149 | 844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */, | 152 | 844544B71EFA5EE7004BDC50 /* YouaiSDK.framework */, |
| 150 | 846BD21F1EE9342700E89A1D /* pool_setting */, | 153 | 846BD21F1EE9342700E89A1D /* pool_setting */, |
| 151 | 846BD2221EE9342700E89A1D /* SDKInterface.h */, | 154 | 846BD2221EE9342700E89A1D /* SDKInterface.h */, |
| 152 | 846BD2231EE9342700E89A1D /* SDKInterface.m */, | 155 | 846BD2231EE9342700E89A1D /* SDKInterface.m */, |
| 153 | - 845D181B1C8D778400F27EB9 /* Images.xcassets */, | ||
| 154 | 845D181C1C8D778400F27EB9 /* Info.plist */, | 156 | 845D181C1C8D778400F27EB9 /* Info.plist */, |
| 157 | + 84EA2DDA1F7CCDDF0071F3F0 /* DCTrackingAgent.h */, | ||
| 158 | + 84EA2DDB1F7CCDDF0071F3F0 /* libDataEyeTracking_v1.7.0.a */, | ||
| 159 | + 84EA2DDC1F7CCDDF0071F3F0 /* ReYunTrack.a */, | ||
| 160 | + 84EA2DDD1F7CCDDF0071F3F0 /* ReYunTrack.h */, | ||
| 155 | ); | 161 | ); |
| 156 | name = poolsdk; | 162 | name = poolsdk; |
| 157 | sourceTree = "<group>"; | 163 | sourceTree = "<group>"; |
| ... | @@ -159,6 +165,7 @@ | ... | @@ -159,6 +165,7 @@ |
| 159 | BB5F3C7F1C1811BC00DA339D = { | 165 | BB5F3C7F1C1811BC00DA339D = { |
| 160 | isa = PBXGroup; | 166 | isa = PBXGroup; |
| 161 | children = ( | 167 | children = ( |
| 168 | + 84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */, | ||
| 162 | 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */, | 169 | 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */, |
| 163 | 8484E5131EE7E2DE00B402D1 /* Foundation.framework */, | 170 | 8484E5131EE7E2DE00B402D1 /* Foundation.framework */, |
| 164 | 8484E5111EE7E2B800B402D1 /* libz.1.dylib */, | 171 | 8484E5111EE7E2B800B402D1 /* libz.1.dylib */, |
| ... | @@ -312,7 +319,6 @@ | ... | @@ -312,7 +319,6 @@ |
| 312 | isa = PBXResourcesBuildPhase; | 319 | isa = PBXResourcesBuildPhase; |
| 313 | buildActionMask = 2147483647; | 320 | buildActionMask = 2147483647; |
| 314 | files = ( | 321 | files = ( |
| 315 | - 845D18221C8D778400F27EB9 /* Images.xcassets in Resources */, | ||
| 316 | BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */, | 322 | BB5F3C971C1811BC00DA339D /* Main.storyboard in Resources */, |
| 317 | BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib in Resources */, | 323 | BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib in Resources */, |
| 318 | 846BD2241EE9342700E89A1D /* pool_setting in Resources */, | 324 | 846BD2241EE9342700E89A1D /* pool_setting in Resources */, |
| ... | @@ -475,7 +481,7 @@ | ... | @@ -475,7 +481,7 @@ |
| 475 | "$(PROJECT_DIR)/poolsdk_file/poolsdk", | 481 | "$(PROJECT_DIR)/poolsdk_file/poolsdk", |
| 476 | ); | 482 | ); |
| 477 | INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist; | 483 | INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist; |
| 478 | - IPHONEOS_DEPLOYMENT_TARGET = 8.1; | 484 | + IPHONEOS_DEPLOYMENT_TARGET = 7.1; |
| 479 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 485 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 480 | LIBRARY_SEARCH_PATHS = ( | 486 | LIBRARY_SEARCH_PATHS = ( |
| 481 | "$(inherited)", | 487 | "$(inherited)", |
| ... | @@ -487,7 +493,7 @@ | ... | @@ -487,7 +493,7 @@ |
| 487 | PRODUCT_BUNDLE_IDENTIFIER = com.jian.wuji; | 493 | PRODUCT_BUNDLE_IDENTIFIER = com.jian.wuji; |
| 488 | PRODUCT_NAME = "$(TARGET_NAME)"; | 494 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 489 | PROVISIONING_PROFILE = "e6d180fd-5532-4218-bf56-0c1afa8ea0b4"; | 495 | PROVISIONING_PROFILE = "e6d180fd-5532-4218-bf56-0c1afa8ea0b4"; |
| 490 | - TARGETED_DEVICE_FAMILY = 2; | 496 | + TARGETED_DEVICE_FAMILY = "1,2"; |
| 491 | VALID_ARCHS = "arm64 armv7s"; | 497 | VALID_ARCHS = "arm64 armv7s"; |
| 492 | }; | 498 | }; |
| 493 | name = Debug; | 499 | name = Debug; |
| ... | @@ -505,7 +511,7 @@ | ... | @@ -505,7 +511,7 @@ |
| 505 | "$(PROJECT_DIR)/poolsdk_file/poolsdk", | 511 | "$(PROJECT_DIR)/poolsdk_file/poolsdk", |
| 506 | ); | 512 | ); |
| 507 | INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist; | 513 | INFOPLIST_FILE = poolsdk_file/poolsdk/Info.plist; |
| 508 | - IPHONEOS_DEPLOYMENT_TARGET = 8.1; | 514 | + IPHONEOS_DEPLOYMENT_TARGET = 7.1; |
| 509 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | 515 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; |
| 510 | LIBRARY_SEARCH_PATHS = ( | 516 | LIBRARY_SEARCH_PATHS = ( |
| 511 | "$(inherited)", | 517 | "$(inherited)", |
| ... | @@ -517,7 +523,7 @@ | ... | @@ -517,7 +523,7 @@ |
| 517 | PRODUCT_BUNDLE_IDENTIFIER = com.jian.wuji; | 523 | PRODUCT_BUNDLE_IDENTIFIER = com.jian.wuji; |
| 518 | PRODUCT_NAME = "$(TARGET_NAME)"; | 524 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| 519 | PROVISIONING_PROFILE = "e6d180fd-5532-4218-bf56-0c1afa8ea0b4"; | 525 | PROVISIONING_PROFILE = "e6d180fd-5532-4218-bf56-0c1afa8ea0b4"; |
| 520 | - TARGETED_DEVICE_FAMILY = 2; | 526 | + TARGETED_DEVICE_FAMILY = "1,2"; |
| 521 | VALID_ARCHS = "arm64 armv7s"; | 527 | VALID_ARCHS = "arm64 armv7s"; |
| 522 | }; | 528 | }; |
| 523 | name = Release; | 529 | name = Release; | ... | ... |
No preview for this file type
No preview for this file type
| ... | @@ -37,7 +37,11 @@ | ... | @@ -37,7 +37,11 @@ |
| 37 | [[PoolSdk shareSDK]applicationDidEnterBackground:application]; | 37 | [[PoolSdk shareSDK]applicationDidEnterBackground:application]; |
| 38 | } | 38 | } |
| 39 | 39 | ||
| 40 | - | 40 | +- (void)applicationWillEnterForeground:(UIApplication *)application { |
| 41 | + // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. | ||
| 42 | + NSLog(@"applicationWillEnterForeground1111111"); | ||
| 43 | + [[PoolSdk shareSDK] applicationWillEnterForeground:application]; | ||
| 44 | +} | ||
| 41 | 45 | ||
| 42 | - (void)applicationDidBecomeActive:(UIApplication *)application { | 46 | - (void)applicationDidBecomeActive:(UIApplication *)application { |
| 43 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. | 47 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. |
| ... | @@ -54,22 +58,10 @@ | ... | @@ -54,22 +58,10 @@ |
| 54 | return true; | 58 | return true; |
| 55 | } | 59 | } |
| 56 | 60 | ||
| 57 | --(BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options | ||
| 58 | -{ | ||
| 59 | - [[PoolSdk shareSDK]application:app openURL:url options:options]; | ||
| 60 | - return YES; | ||
| 61 | -} | ||
| 62 | - | ||
| 63 | -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation | 61 | -(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation |
| 64 | { | 62 | { |
| 65 | [[PoolSdk shareSDK] application:application openURL:url sourceApplication:sourceApplication annotation:annotation]; | 63 | [[PoolSdk shareSDK] application:application openURL:url sourceApplication:sourceApplication annotation:annotation]; |
| 66 | return YES; | 64 | return YES; |
| 67 | } | 65 | } |
| 68 | 66 | ||
| 69 | -- (void)applicationWillEnterForeground:(UIApplication *)application { | ||
| 70 | - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. | ||
| 71 | - [[PoolSdk shareSDK] applicationWillEnterForeground:application]; | ||
| 72 | -} | ||
| 73 | - | ||
| 74 | - | ||
| 75 | @end | 67 | @end | ... | ... |
| ... | @@ -154,36 +154,4 @@ | ... | @@ -154,36 +154,4 @@ |
| 154 | } | 154 | } |
| 155 | } | 155 | } |
| 156 | 156 | ||
| 157 | - | ||
| 158 | - | ||
| 159 | -#pragma mark - 截屏 | ||
| 160 | -- (void)screenShot:(UIView *)view{ | ||
| 161 | - UIImage* image = nil; | ||
| 162 | - UIGraphicsBeginImageContext(view.bounds.size); | ||
| 163 | - [view.layer renderInContext:UIGraphicsGetCurrentContext()]; | ||
| 164 | - image = UIGraphicsGetImageFromCurrentImageContext(); | ||
| 165 | - UIGraphicsEndImageContext(); | ||
| 166 | - UIGraphicsEndImageContext(); | ||
| 167 | - if (image != nil) { | ||
| 168 | - NSLog(@"截图成功!"); | ||
| 169 | - UIImageWriteToSavedPhotosAlbum(image,self,@selector(image:didFinishSavingWithError:contextInfo:),NULL); | ||
| 170 | - | ||
| 171 | - } | ||
| 172 | -} | ||
| 173 | - | ||
| 174 | - | ||
| 175 | -#pragma mark - 保存到相册 | ||
| 176 | --(void)image:(UIImage *)image didFinishSavingWithError:(NSError*)error contextInfo:(void*)contextInfo | ||
| 177 | -{ | ||
| 178 | - if(!error){ | ||
| 179 | - NSLog(@"存到相册"); | ||
| 180 | - }else{ | ||
| 181 | - NSLog(@"存储失败"); | ||
| 182 | - | ||
| 183 | - } | ||
| 184 | -} | ||
| 185 | - | ||
| 186 | - | ||
| 187 | - | ||
| 188 | - | ||
| 189 | @end | 157 | @end | ... | ... |
No preview for this file type
| 1 | +// !$*UTF8*$! | ||
| 2 | +{ | ||
| 3 | + archiveVersion = 1; | ||
| 4 | + classes = { | ||
| 5 | + }; | ||
| 6 | + objectVersion = 46; | ||
| 7 | + objects = { | ||
| 8 | + | ||
| 9 | +/* Begin PBXBuildFile section */ | ||
| 10 | + 15CD4B7E8DB1BE9297192B0A /* libDataEyeTracking_v1.7.0.a */ = {isa = PBXBuildFile; fileRef = EF034C3E85FFDBCCE1D104EE /* libDataEyeTracking_v1.7.0.a */; }; | ||
| 11 | + 1F8248338B57EDD8196949BB /* pool_setting */ = {isa = PBXBuildFile; fileRef = 9F4E498CA912A1B32C4264F5 /* pool_setting */; }; | ||
| 12 | + 20FA431BAAC493726F1BB0B0 /* pool_setting */ = {isa = PBXBuildFile; fileRef = 9F4E498CA912A1B32C4264F5 /* pool_setting */; }; | ||
| 13 | + 3FEE4BC3A8C83BB872F7AEEF /* YouaiSDK.framework */ = {isa = PBXBuildFile; fileRef = 175B4F0F953E95604775D2B4 /* YouaiSDK.framework */; }; | ||
| 14 | + 700C42E98502A3BED1DB1545 /* YouaiSDK.framework */ = {isa = PBXBuildFile; fileRef = 175B4F0F953E95604775D2B4 /* YouaiSDK.framework */; }; | ||
| 15 | + 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXBuildFile; fileRef = 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */; settings = {ASSET_TAGS = (); }; }; | ||
| 16 | + 847EE5E21EE9007E003A4B7B /* MainViewController.m */ = {isa = PBXBuildFile; fileRef = 847EE5E11EE9007E003A4B7B /* MainViewController.m */; settings = {ASSET_TAGS = (); }; }; | ||
| 17 | + 8484E4F51EE7E0DC00B402D1 /* AppDelegate.m */ = {isa = PBXBuildFile; fileRef = 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */; settings = {ASSET_TAGS = (); }; }; | ||
| 18 | + 8484E4F61EE7E0DC00B402D1 /* ViewController.m */ = {isa = PBXBuildFile; fileRef = 8484E4F41EE7E0DC00B402D1 /* ViewController.m */; settings = {ASSET_TAGS = (); }; }; | ||
| 19 | + 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib */ = {isa = PBXBuildFile; fileRef = 8484E4FB1EE7E1D800B402D1 /* libsqlite3.dylib */; }; | ||
| 20 | + 8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework */ = {isa = PBXBuildFile; fileRef = 8484E4FD1EE7E1F700B402D1 /* CoreTelephony.framework */; }; | ||
| 21 | + 8484E5001EE7E20C00B402D1 /* CFNetwork.framework */ = {isa = PBXBuildFile; fileRef = 8484E4FF1EE7E20C00B402D1 /* CFNetwork.framework */; }; | ||
| 22 | + 8484E5021EE7E21F00B402D1 /* UIKit.framework */ = {isa = PBXBuildFile; fileRef = 8484E5011EE7E21F00B402D1 /* UIKit.framework */; }; | ||
| 23 | + 8484E5041EE7E24400B402D1 /* StoreKit.framework */ = {isa = PBXBuildFile; fileRef = 8484E5031EE7E24400B402D1 /* StoreKit.framework */; }; | ||
| 24 | + 8484E5061EE7E24A00B402D1 /* CoreMotion.framework */ = {isa = PBXBuildFile; fileRef = 8484E5051EE7E24A00B402D1 /* CoreMotion.framework */; }; | ||
| 25 | + 8484E5081EE7E25600B402D1 /* CoreText.framework */ = {isa = PBXBuildFile; fileRef = 8484E5071EE7E25600B402D1 /* CoreText.framework */; }; | ||
| 26 | + 8484E50A1EE7E26200B402D1 /* Security.framework */ = {isa = PBXBuildFile; fileRef = 8484E5091EE7E26200B402D1 /* Security.framework */; }; | ||
| 27 | + 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework */ = {isa = PBXBuildFile; fileRef = 8484E50B1EE7E27100B402D1 /* CoreGraphics.framework */; }; | ||
| 28 | + 8484E50E1EE7E28000B402D1 /* QuartzCore.framework */ = {isa = PBXBuildFile; fileRef = 8484E50D1EE7E28000B402D1 /* QuartzCore.framework */; }; | ||
| 29 | + 8484E5101EE7E29A00B402D1 /* libc++.1.dylib */ = {isa = PBXBuildFile; fileRef = 8484E50F1EE7E29A00B402D1 /* libc++.1.dylib */; }; | ||
| 30 | + 8484E5121EE7E2B800B402D1 /* libz.1.dylib */ = {isa = PBXBuildFile; fileRef = 8484E5111EE7E2B800B402D1 /* libz.1.dylib */; }; | ||
| 31 | + 8484E5141EE7E2DE00B402D1 /* Foundation.framework */ = {isa = PBXBuildFile; fileRef = 8484E5131EE7E2DE00B402D1 /* Foundation.framework */; }; | ||
| 32 | + 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework */ = {isa = PBXBuildFile; fileRef = 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */; }; | ||
| 33 | + 84EA2DE11F7CCE640071F3F0 /* CoreLocation.framework */ = {isa = PBXBuildFile; fileRef = 84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */; }; | ||
| 34 | + 929E462F8266A68A6D0B33DC /* ReYunTrack.a */ = {isa = PBXBuildFile; fileRef = 44474C8EB0D3C99B11D5915E /* ReYunTrack.a */; }; | ||
| 35 | + 96CA459B8254FDCA2285F539 /* libDataEyeTracking_v1.7.0.a */ = {isa = PBXBuildFile; fileRef = EF034C3E85FFDBCCE1D104EE /* libDataEyeTracking_v1.7.0.a */; }; | ||
| 36 | + A2F54D89845EF5262A1484A3 /* ReYunTrack.a */ = {isa = PBXBuildFile; fileRef = 44474C8EB0D3C99B11D5915E /* ReYunTrack.a */; }; | ||
| 37 | + A7DE4E7A9360CBDB40D4603A /* SDKInterface.m */ = {isa = PBXBuildFile; fileRef = 8B3D4A67BCE87470AA0D18F5 /* SDKInterface.m */; }; | ||
| 38 | + B2F54938A185C01CDD116712 /* SDKInterface.m */ = {isa = PBXBuildFile; fileRef = 8B3D4A67BCE87470AA0D18F5 /* SDKInterface.m */; }; | ||
| 39 | + BB5F3C8E1C1811BC00DA339D /* main.m */ = {isa = PBXBuildFile; fileRef = BB5F3C8D1C1811BC00DA339D /* main.m */; }; | ||
| 40 | + BB5F3C971C1811BC00DA339D /* Main.storyboard */ = {isa = PBXBuildFile; fileRef = BB5F3C951C1811BC00DA339D /* Main.storyboard */; }; | ||
| 41 | + BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib */ = {isa = PBXBuildFile; fileRef = BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */; }; | ||
| 42 | + BB5F3CA81C1811BC00DA339D /* DemoTests.m */ = {isa = PBXBuildFile; fileRef = BB5F3CA71C1811BC00DA339D /* DemoTests.m */; }; | ||
| 43 | +/* End PBXBuildFile section */ | ||
| 44 | + | ||
| 45 | +/* Begin PBXCopyFilesBuildPhase section */ | ||
| 46 | + 84398BFB1C4C83EC0082D774 /* Embed Frameworks */ = { | ||
| 47 | + isa = PBXCopyFilesBuildPhase; | ||
| 48 | + buildActionMask = 2147483647; | ||
| 49 | + dstPath = ""; | ||
| 50 | + dstSubfolderSpec = 10; | ||
| 51 | + files = ( | ||
| 52 | + ); | ||
| 53 | + name = "Embed Frameworks"; | ||
| 54 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 55 | + }; | ||
| 56 | +/* End PBXCopyFilesBuildPhase section */ | ||
| 57 | + | ||
| 58 | +/* Begin PBXFileReference section */ | ||
| 59 | + 175B4F0F953E95604775D2B4 /* YouaiSDK.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = YouaiSDK.framework; path = poolsdk_file/poolsdk_xingwan_login/SDK/YouaiSDK.framework; sourceTree = SOURCE_ROOT; }; | ||
| 60 | + 44474C8EB0D3C99B11D5915E /* ReYunTrack.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = ReYunTrack.a; path = poolsdk_file/poolsdk_xingwan_login/SDK/ReYunTrack.a; sourceTree = SOURCE_ROOT; }; | ||
| 61 | + 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; path = PoolSdk.framework; sourceTree = "<group>"; }; | ||
| 62 | + 847EE5E01EE9007E003A4B7B /* MainViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MainViewController.h; sourceTree = "<group>"; }; | ||
| 63 | + 847EE5E11EE9007E003A4B7B /* MainViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MainViewController.m; sourceTree = "<group>"; }; | ||
| 64 | + 8484E4F11EE7E0DC00B402D1 /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = "<group>"; }; | ||
| 65 | + 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = "<group>"; }; | ||
| 66 | + 8484E4F31EE7E0DC00B402D1 /* ViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = "<group>"; }; | ||
| 67 | + 8484E4F41EE7E0DC00B402D1 /* ViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = "<group>"; }; | ||
| 68 | + 8484E4FB1EE7E1D800B402D1 /* libsqlite3.dylib */ = {isa = PBXFileReference; lastKnownFileType = compiled.mach-o.dylib; name = libsqlite3.dylib; path = ../../../../../../../../usr/lib/libsqlite3.dylib; sourceTree = "<group>"; }; | ||
| 69 | + 8484E4FD1EE7E1F700B402D1 /* CoreTelephony.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreTelephony.framework; path = System/Library/Frameworks/CoreTelephony.framework; sourceTree = SDKROOT; }; | ||
| 70 | + 8484E4FF1EE7E20C00B402D1 /* CFNetwork.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CFNetwork.framework; path = System/Library/Frameworks/CFNetwork.framework; sourceTree = SDKROOT; }; | ||
| 71 | + 8484E5011EE7E21F00B402D1 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; | ||
| 72 | + 8484E5031EE7E24400B402D1 /* StoreKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = StoreKit.framework; path = System/Library/Frameworks/StoreKit.framework; sourceTree = SDKROOT; }; | ||
| 73 | + 8484E5051EE7E24A00B402D1 /* CoreMotion.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreMotion.framework; path = System/Library/Frameworks/CoreMotion.framework; sourceTree = SDKROOT; }; | ||
| 74 | + 8484E5071EE7E25600B402D1 /* CoreText.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreText.framework; path = System/Library/Frameworks/CoreText.framework; sourceTree = SDKROOT; }; | ||
| 75 | + 8484E5091EE7E26200B402D1 /* Security.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Security.framework; path = System/Library/Frameworks/Security.framework; sourceTree = SDKROOT; }; | ||
| 76 | + 8484E50B1EE7E27100B402D1 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; | ||
| 77 | + 8484E50D1EE7E28000B402D1 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; | ||
| 78 | + 8484E50F1EE7E29A00B402D1 /* libc++.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = compiled.mach-o.dylib; name = "libc++.1.dylib"; path = "../../../../../../../../usr/lib/libc++.1.dylib"; sourceTree = "<group>"; }; | ||
| 79 | + 8484E5111EE7E2B800B402D1 /* libz.1.dylib */ = {isa = PBXFileReference; lastKnownFileType = compiled.mach-o.dylib; name = libz.1.dylib; path = ../../../../../../../../usr/lib/libz.1.dylib; sourceTree = "<group>"; }; | ||
| 80 | + 8484E5131EE7E2DE00B402D1 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; | ||
| 81 | + 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = SystemConfiguration.framework; path = System/Library/Frameworks/SystemConfiguration.framework; sourceTree = SDKROOT; }; | ||
| 82 | + 84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreLocation.framework; path = System/Library/Frameworks/CoreLocation.framework; sourceTree = SDKROOT; }; | ||
| 83 | + 8B3D4A67BCE87470AA0D18F5 /* SDKInterface.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; name = SDKInterface.m; path = poolsdk_file/poolsdk_xingwan_login/SDK/SDKInterface.m; sourceTree = SOURCE_ROOT; }; | ||
| 84 | + 9F4E498CA912A1B32C4264F5 /* pool_setting */ = {isa = PBXFileReference; lastKnownFileType = "?"; name = pool_setting; path = poolsdk_file/poolsdk_xingwan_login/SDK/pool_setting; sourceTree = SOURCE_ROOT; }; | ||
| 85 | + A3454FB7A08A04DF25CEC25B /* SDKInterface.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = SDKInterface.h; path = poolsdk_file/poolsdk_xingwan_login/SDK/SDKInterface.h; sourceTree = SOURCE_ROOT; }; | ||
| 86 | + BB5F3C881C1811BC00DA339D /* Demo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Demo.app; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 87 | + BB5F3C8D1C1811BC00DA339D /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = "<group>"; }; | ||
| 88 | + BB5F3C961C1811BC00DA339D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; }; | ||
| 89 | + BB5F3C9B1C1811BC00DA339D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; }; | ||
| 90 | + BB5F3CA11C1811BC00DA339D /* DemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; | ||
| 91 | + BB5F3CA61C1811BC00DA339D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; }; | ||
| 92 | + BB5F3CA71C1811BC00DA339D /* DemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DemoTests.m; sourceTree = "<group>"; }; | ||
| 93 | + E2ED48D580AE5949EDC3F8AC /* ReYunTrack.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = ReYunTrack.h; path = poolsdk_file/poolsdk_xingwan_login/SDK/ReYunTrack.h; sourceTree = SOURCE_ROOT; }; | ||
| 94 | + EF034C3E85FFDBCCE1D104EE /* libDataEyeTracking_v1.7.0.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libDataEyeTracking_v1.7.0.a; path = poolsdk_file/poolsdk_xingwan_login/SDK/libDataEyeTracking_v1.7.0.a; sourceTree = SOURCE_ROOT; }; | ||
| 95 | + F84E44D3B07513CF38514E74 /* DCTrackingAgent.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; name = DCTrackingAgent.h; path = poolsdk_file/poolsdk_xingwan_login/SDK/DCTrackingAgent.h; sourceTree = SOURCE_ROOT; }; | ||
| 96 | +/* End PBXFileReference section */ | ||
| 97 | + | ||
| 98 | +/* Begin PBXFrameworksBuildPhase section */ | ||
| 99 | + BB5F3C851C1811BC00DA339D /* Frameworks */ = { | ||
| 100 | + isa = PBXFrameworksBuildPhase; | ||
| 101 | + buildActionMask = 2147483647; | ||
| 102 | + files = ( | ||
| 103 | + 84EA2DE11F7CCE640071F3F0 /* CoreLocation.framework */, | ||
| 104 | + 8484E5161EE7E36800B402D1 /* SystemConfiguration.framework */, | ||
| 105 | + 8484E4FC1EE7E1D800B402D1 /* libsqlite3.dylib */, | ||
| 106 | + 844544B81EFA5EE7004BDC50, | ||
| 107 | + 8484E5121EE7E2B800B402D1 /* libz.1.dylib */, | ||
| 108 | + 8484E5101EE7E29A00B402D1 /* libc++.1.dylib */, | ||
| 109 | + 8484E5001EE7E20C00B402D1 /* CFNetwork.framework */, | ||
| 110 | + 84EA2DDE1F7CCDDF0071F3F0, | ||
| 111 | + 8484E5061EE7E24A00B402D1 /* CoreMotion.framework */, | ||
| 112 | + 8484E5021EE7E21F00B402D1 /* UIKit.framework */, | ||
| 113 | + 8484E50C1EE7E27100B402D1 /* CoreGraphics.framework */, | ||
| 114 | + 8484E5081EE7E25600B402D1 /* CoreText.framework */, | ||
| 115 | + 8484E50E1EE7E28000B402D1 /* QuartzCore.framework */, | ||
| 116 | + 8484E5141EE7E2DE00B402D1 /* Foundation.framework */, | ||
| 117 | + 84EA2DDF1F7CCDDF0071F3F0, | ||
| 118 | + 8484E50A1EE7E26200B402D1 /* Security.framework */, | ||
| 119 | + 8484E5041EE7E24400B402D1 /* StoreKit.framework */, | ||
| 120 | + 8425EC1A1F0E3CBD00B0D868 /* PoolSdk.framework */, | ||
| 121 | + 8484E4FE1EE7E1F700B402D1 /* CoreTelephony.framework */, | ||
| 122 | + 15CD4B7E8DB1BE9297192B0A /* libDataEyeTracking_v1.7.0.a */, | ||
| 123 | + A2F54D89845EF5262A1484A3 /* ReYunTrack.a */, | ||
| 124 | + 3FEE4BC3A8C83BB872F7AEEF /* YouaiSDK.framework */, | ||
| 125 | + ); | ||
| 126 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 127 | + }; | ||
| 128 | + BB5F3C9E1C1811BC00DA339D /* Frameworks */ = { | ||
| 129 | + isa = PBXFrameworksBuildPhase; | ||
| 130 | + buildActionMask = 2147483647; | ||
| 131 | + files = ( | ||
| 132 | + 96CA459B8254FDCA2285F539 /* libDataEyeTracking_v1.7.0.a */, | ||
| 133 | + 929E462F8266A68A6D0B33DC /* ReYunTrack.a */, | ||
| 134 | + 700C42E98502A3BED1DB1545 /* YouaiSDK.framework */, | ||
| 135 | + ); | ||
| 136 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 137 | + }; | ||
| 138 | +/* End PBXFrameworksBuildPhase section */ | ||
| 139 | + | ||
| 140 | +/* Begin PBXGroup section */ | ||
| 141 | + 07A544A1A762513F97803AA5 /* Frameworks */ = { | ||
| 142 | + isa = PBXGroup; | ||
| 143 | + children = ( | ||
| 144 | + ); | ||
| 145 | + name = Frameworks; | ||
| 146 | + sourceTree = "<group>"; | ||
| 147 | + }; | ||
| 148 | + 4A5C468ABF453FFAC271052F /* Libraries */ = { | ||
| 149 | + isa = PBXGroup; | ||
| 150 | + children = ( | ||
| 151 | + ); | ||
| 152 | + name = Libraries; | ||
| 153 | + sourceTree = "<group>"; | ||
| 154 | + }; | ||
| 155 | + 8476DF631C4DD70500EC42BA /* poolsdk_file */ = { | ||
| 156 | + isa = PBXGroup; | ||
| 157 | + children = ( | ||
| 158 | + 8476DF641C4DD71D00EC42BA, | ||
| 159 | + ); | ||
| 160 | + name = poolsdk_file; | ||
| 161 | + sourceTree = "<group>"; | ||
| 162 | + }; | ||
| 163 | + 8DFB4E66B5C345CDCAA49035 /* SDK */ = { | ||
| 164 | + isa = PBXGroup; | ||
| 165 | + children = ( | ||
| 166 | + E2ED48D580AE5949EDC3F8AC /* ReYunTrack.h */, | ||
| 167 | + EF034C3E85FFDBCCE1D104EE /* libDataEyeTracking_v1.7.0.a */, | ||
| 168 | + A3454FB7A08A04DF25CEC25B /* SDKInterface.h */, | ||
| 169 | + F84E44D3B07513CF38514E74 /* DCTrackingAgent.h */, | ||
| 170 | + 9F4E498CA912A1B32C4264F5 /* pool_setting */, | ||
| 171 | + 8B3D4A67BCE87470AA0D18F5 /* SDKInterface.m */, | ||
| 172 | + 44474C8EB0D3C99B11D5915E /* ReYunTrack.a */, | ||
| 173 | + 175B4F0F953E95604775D2B4 /* YouaiSDK.framework */, | ||
| 174 | + ); | ||
| 175 | + name = SDK; | ||
| 176 | + path = poolsdk_file/poolsdk_xingwan_login/SDK; | ||
| 177 | + sourceTree = SOURCE_ROOT; | ||
| 178 | + }; | ||
| 179 | + BB5F3C7F1C1811BC00DA339D /* */ = { | ||
| 180 | + isa = PBXGroup; | ||
| 181 | + children = ( | ||
| 182 | + 84EA2DE01F7CCE640071F3F0 /* CoreLocation.framework */, | ||
| 183 | + 8484E5151EE7E36800B402D1 /* SystemConfiguration.framework */, | ||
| 184 | + 8484E5131EE7E2DE00B402D1 /* Foundation.framework */, | ||
| 185 | + 8484E5111EE7E2B800B402D1 /* libz.1.dylib */, | ||
| 186 | + 8484E50F1EE7E29A00B402D1 /* libc++.1.dylib */, | ||
| 187 | + 8484E50D1EE7E28000B402D1 /* QuartzCore.framework */, | ||
| 188 | + 8484E50B1EE7E27100B402D1 /* CoreGraphics.framework */, | ||
| 189 | + 8484E5091EE7E26200B402D1 /* Security.framework */, | ||
| 190 | + 8484E5071EE7E25600B402D1 /* CoreText.framework */, | ||
| 191 | + 8484E5051EE7E24A00B402D1 /* CoreMotion.framework */, | ||
| 192 | + 8484E5031EE7E24400B402D1 /* StoreKit.framework */, | ||
| 193 | + 8484E5011EE7E21F00B402D1 /* UIKit.framework */, | ||
| 194 | + 8484E4FF1EE7E20C00B402D1 /* CFNetwork.framework */, | ||
| 195 | + 8484E4FD1EE7E1F700B402D1 /* CoreTelephony.framework */, | ||
| 196 | + 8484E4FB1EE7E1D800B402D1 /* libsqlite3.dylib */, | ||
| 197 | + 8476DF631C4DD70500EC42BA /* poolsdk_file */, | ||
| 198 | + BB5F3C8A1C1811BC00DA339D /* Demo */, | ||
| 199 | + BB5F3CA41C1811BC00DA339D /* DemoTests */, | ||
| 200 | + BB5F3C891C1811BC00DA339D /* Products */, | ||
| 201 | + 8DFB4E66B5C345CDCAA49035 /* SDK */, | ||
| 202 | + 07A544A1A762513F97803AA5 /* Frameworks */, | ||
| 203 | + 4A5C468ABF453FFAC271052F /* Libraries */, | ||
| 204 | + ); | ||
| 205 | + sourceTree = "<group>"; | ||
| 206 | + }; | ||
| 207 | + BB5F3C891C1811BC00DA339D /* Products */ = { | ||
| 208 | + isa = PBXGroup; | ||
| 209 | + children = ( | ||
| 210 | + BB5F3C881C1811BC00DA339D /* Demo.app */, | ||
| 211 | + BB5F3CA11C1811BC00DA339D /* DemoTests.xctest */, | ||
| 212 | + ); | ||
| 213 | + name = Products; | ||
| 214 | + sourceTree = "<group>"; | ||
| 215 | + }; | ||
| 216 | + BB5F3C8A1C1811BC00DA339D /* Demo */ = { | ||
| 217 | + isa = PBXGroup; | ||
| 218 | + children = ( | ||
| 219 | + 8425EC191F0E3CBD00B0D868 /* PoolSdk.framework */, | ||
| 220 | + 8484E4F11EE7E0DC00B402D1 /* AppDelegate.h */, | ||
| 221 | + 8484E4F21EE7E0DC00B402D1 /* AppDelegate.m */, | ||
| 222 | + 8484E4F31EE7E0DC00B402D1 /* ViewController.h */, | ||
| 223 | + 8484E4F41EE7E0DC00B402D1 /* ViewController.m */, | ||
| 224 | + 847EE5E01EE9007E003A4B7B /* MainViewController.h */, | ||
| 225 | + 847EE5E11EE9007E003A4B7B /* MainViewController.m */, | ||
| 226 | + BB5F3C951C1811BC00DA339D /* Main.storyboard */, | ||
| 227 | + BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */, | ||
| 228 | + BB5F3C8B1C1811BC00DA339D /* Supporting Files */, | ||
| 229 | + ); | ||
| 230 | + path = Demo; | ||
| 231 | + sourceTree = "<group>"; | ||
| 232 | + }; | ||
| 233 | + BB5F3C8B1C1811BC00DA339D /* Supporting Files */ = { | ||
| 234 | + isa = PBXGroup; | ||
| 235 | + children = ( | ||
| 236 | + BB5F3C8D1C1811BC00DA339D /* main.m */, | ||
| 237 | + ); | ||
| 238 | + name = "Supporting Files"; | ||
| 239 | + sourceTree = "<group>"; | ||
| 240 | + }; | ||
| 241 | + BB5F3CA41C1811BC00DA339D /* DemoTests */ = { | ||
| 242 | + isa = PBXGroup; | ||
| 243 | + children = ( | ||
| 244 | + BB5F3CA71C1811BC00DA339D /* DemoTests.m */, | ||
| 245 | + BB5F3CA51C1811BC00DA339D /* Supporting Files */, | ||
| 246 | + ); | ||
| 247 | + path = DemoTests; | ||
| 248 | + sourceTree = "<group>"; | ||
| 249 | + }; | ||
| 250 | + BB5F3CA51C1811BC00DA339D /* Supporting Files */ = { | ||
| 251 | + isa = PBXGroup; | ||
| 252 | + children = ( | ||
| 253 | + BB5F3CA61C1811BC00DA339D /* Info.plist */, | ||
| 254 | + ); | ||
| 255 | + name = "Supporting Files"; | ||
| 256 | + sourceTree = "<group>"; | ||
| 257 | + }; | ||
| 258 | +/* End PBXGroup section */ | ||
| 259 | + | ||
| 260 | +/* Begin PBXNativeTarget section */ | ||
| 261 | + BB5F3C871C1811BC00DA339D /* Demo */ = { | ||
| 262 | + isa = PBXNativeTarget; | ||
| 263 | + buildConfigurationList = BB5F3CAB1C1811BC00DA339D /* Build configuration list for PBXNativeTarget "Demo" */; | ||
| 264 | + buildPhases = ( | ||
| 265 | + BB5F3C841C1811BC00DA339D /* Sources */, | ||
| 266 | + BB5F3C851C1811BC00DA339D /* Frameworks */, | ||
| 267 | + BB5F3C861C1811BC00DA339D /* Resources */, | ||
| 268 | + 84398BFB1C4C83EC0082D774 /* Embed Frameworks */, | ||
| 269 | + ); | ||
| 270 | + buildRules = ( | ||
| 271 | + ); | ||
| 272 | + dependencies = ( | ||
| 273 | + ); | ||
| 274 | + name = Demo; | ||
| 275 | + productName = Demo; | ||
| 276 | + productReference = BB5F3C881C1811BC00DA339D /* Demo.app */; | ||
| 277 | + productType = com.apple.product-type.application; | ||
| 278 | + }; | ||
| 279 | + BB5F3CA01C1811BC00DA339D /* DemoTests */ = { | ||
| 280 | + isa = PBXNativeTarget; | ||
| 281 | + buildConfigurationList = BB5F3CAE1C1811BC00DA339D /* Build configuration list for PBXNativeTarget "DemoTests" */; | ||
| 282 | + buildPhases = ( | ||
| 283 | + BB5F3C9D1C1811BC00DA339D /* Sources */, | ||
| 284 | + BB5F3C9E1C1811BC00DA339D /* Frameworks */, | ||
| 285 | + BB5F3C9F1C1811BC00DA339D /* Resources */, | ||
| 286 | + ); | ||
| 287 | + buildRules = ( | ||
| 288 | + ); | ||
| 289 | + dependencies = ( | ||
| 290 | + BB5F3CA31C1811BC00DA339D /* Target */, | ||
| 291 | + ); | ||
| 292 | + name = DemoTests; | ||
| 293 | + productName = DemoTests; | ||
| 294 | + productReference = BB5F3CA11C1811BC00DA339D /* DemoTests.xctest */; | ||
| 295 | + productType = com.apple.product-type.bundle.unit-test; | ||
| 296 | + }; | ||
| 297 | +/* End PBXNativeTarget section */ | ||
| 298 | + | ||
| 299 | +/* Begin PBXProject section */ | ||
| 300 | + BB5F3C801C1811BC00DA339D /* Project object */ = { | ||
| 301 | + isa = PBXProject; | ||
| 302 | + attributes = { | ||
| 303 | + LastUpgradeCheck = 0640; | ||
| 304 | + ORGANIZATIONNAME = winFan; | ||
| 305 | + TargetAttributes = { | ||
| 306 | + BB5F3C871C1811BC00DA339D = { | ||
| 307 | + CreatedOnToolsVersion = 6.4; | ||
| 308 | + }; | ||
| 309 | + BB5F3CA01C1811BC00DA339D = { | ||
| 310 | + CreatedOnToolsVersion = 6.4; | ||
| 311 | + TestTargetID = BB5F3C871C1811BC00DA339D /* Demo */; | ||
| 312 | + }; | ||
| 313 | + }; | ||
| 314 | + }; | ||
| 315 | + buildConfigurationList = BB5F3C831C1811BC00DA339D /* Build configuration list for PBXNativeTarget "TARGET_NAME" */; | ||
| 316 | + compatibilityVersion = "Xcode 3.2"; | ||
| 317 | + developmentRegion = English; | ||
| 318 | + hasScannedForEncodings = 0; | ||
| 319 | + knownRegions = ( | ||
| 320 | + en, | ||
| 321 | + Base, | ||
| 322 | + ); | ||
| 323 | + mainGroup = BB5F3C7F1C1811BC00DA339D /* */; | ||
| 324 | + productRefGroup = BB5F3C891C1811BC00DA339D /* Products */; | ||
| 325 | + projectDirPath = ""; | ||
| 326 | + projectRoot = ""; | ||
| 327 | + targets = ( | ||
| 328 | + BB5F3C871C1811BC00DA339D /* Demo */, | ||
| 329 | + BB5F3CA01C1811BC00DA339D /* DemoTests */, | ||
| 330 | + ); | ||
| 331 | + }; | ||
| 332 | +/* End PBXProject section */ | ||
| 333 | + | ||
| 334 | +/* Begin PBXResourcesBuildPhase section */ | ||
| 335 | + BB5F3C861C1811BC00DA339D /* Resources */ = { | ||
| 336 | + isa = PBXResourcesBuildPhase; | ||
| 337 | + buildActionMask = 2147483647; | ||
| 338 | + files = ( | ||
| 339 | + BB5F3C971C1811BC00DA339D /* Main.storyboard */, | ||
| 340 | + BB5F3C9C1C1811BC00DA339D /* LaunchScreen.xib */, | ||
| 341 | + 20FA431BAAC493726F1BB0B0 /* pool_setting */, | ||
| 342 | + ); | ||
| 343 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 344 | + }; | ||
| 345 | + BB5F3C9F1C1811BC00DA339D /* Resources */ = { | ||
| 346 | + isa = PBXResourcesBuildPhase; | ||
| 347 | + buildActionMask = 2147483647; | ||
| 348 | + files = ( | ||
| 349 | + 1F8248338B57EDD8196949BB /* pool_setting */, | ||
| 350 | + ); | ||
| 351 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 352 | + }; | ||
| 353 | +/* End PBXResourcesBuildPhase section */ | ||
| 354 | + | ||
| 355 | +/* Begin PBXSourcesBuildPhase section */ | ||
| 356 | + BB5F3C841C1811BC00DA339D /* Sources */ = { | ||
| 357 | + isa = PBXSourcesBuildPhase; | ||
| 358 | + buildActionMask = 2147483647; | ||
| 359 | + files = ( | ||
| 360 | + 8484E4F51EE7E0DC00B402D1 /* AppDelegate.m */, | ||
| 361 | + 847EE5E21EE9007E003A4B7B /* MainViewController.m */, | ||
| 362 | + BB5F3C8E1C1811BC00DA339D /* main.m */, | ||
| 363 | + 8484E4F61EE7E0DC00B402D1 /* ViewController.m */, | ||
| 364 | + B2F54938A185C01CDD116712 /* SDKInterface.m */, | ||
| 365 | + ); | ||
| 366 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 367 | + }; | ||
| 368 | + BB5F3C9D1C1811BC00DA339D /* Sources */ = { | ||
| 369 | + isa = PBXSourcesBuildPhase; | ||
| 370 | + buildActionMask = 2147483647; | ||
| 371 | + files = ( | ||
| 372 | + BB5F3CA81C1811BC00DA339D /* DemoTests.m */, | ||
| 373 | + A7DE4E7A9360CBDB40D4603A /* SDKInterface.m */, | ||
| 374 | + ); | ||
| 375 | + runOnlyForDeploymentPostprocessing = 0; | ||
| 376 | + }; | ||
| 377 | +/* End PBXSourcesBuildPhase section */ | ||
| 378 | + | ||
| 379 | +/* Begin XCBuildConfiguration section */ | ||
| 380 | + BB5F3CA91C1811BC00DA339D /* Debug */ = { | ||
| 381 | + isa = XCBuildConfiguration; | ||
| 382 | + buildSettings = { | ||
| 383 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 384 | + ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = ""; | ||
| 385 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
| 386 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 387 | + CLANG_ENABLE_MODULES = YES; | ||
| 388 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 389 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 390 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 391 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 392 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 393 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 394 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 395 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 396 | + CLANG_WARN_UNREACHABLE_CODE = YES; | ||
| 397 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
| 398 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
| 399 | + COPY_PHASE_STRIP = NO; | ||
| 400 | + DEBUG_INFORMATION_FORMAT = dwarf-with-dsym; | ||
| 401 | + ENABLE_BITCODE = NO; | ||
| 402 | + ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
| 403 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 404 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 405 | + ); | ||
| 406 | + GCC_C_LANGUAGE_STANDARD = gnu99; | ||
| 407 | + GCC_DYNAMIC_NO_PIC = NO; | ||
| 408 | + GCC_NO_COMMON_BLOCKS = YES; | ||
| 409 | + GCC_OPTIMIZATION_LEVEL = 0; | ||
| 410 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 411 | + "DEBUG=1", | ||
| 412 | + "$(inherited)", | ||
| 413 | + ); | ||
| 414 | + GCC_SYMBOLS_PRIVATE_EXTERN = NO; | ||
| 415 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 416 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 417 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
| 418 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 419 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 420 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 421 | + HEADER_SEARCH_PATHS = ( | ||
| 422 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 423 | + ); | ||
| 424 | + INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist; | ||
| 425 | + IPHONEOS_DEPLOYMENT_TARGET = 8.4; | ||
| 426 | + LIBRARY_SEARCH_PATHS = ( | ||
| 427 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 428 | + ); | ||
| 429 | + MTL_ENABLE_DEBUG_INFO = YES; | ||
| 430 | + ONLY_ACTIVE_ARCH = YES; | ||
| 431 | + OTHER_LDFLAGS = ( | ||
| 432 | + -ObjC, | ||
| 433 | + ); | ||
| 434 | + PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw; | ||
| 435 | + SDKROOT = iphoneos; | ||
| 436 | + }; | ||
| 437 | + name = Debug; | ||
| 438 | + }; | ||
| 439 | + BB5F3CAA1C1811BC00DA339D /* Release */ = { | ||
| 440 | + isa = XCBuildConfiguration; | ||
| 441 | + buildSettings = { | ||
| 442 | + ALWAYS_SEARCH_USER_PATHS = NO; | ||
| 443 | + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; | ||
| 444 | + CLANG_CXX_LIBRARY = "libc++"; | ||
| 445 | + CLANG_ENABLE_MODULES = YES; | ||
| 446 | + CLANG_ENABLE_OBJC_ARC = YES; | ||
| 447 | + CLANG_WARN_BOOL_CONVERSION = YES; | ||
| 448 | + CLANG_WARN_CONSTANT_CONVERSION = YES; | ||
| 449 | + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; | ||
| 450 | + CLANG_WARN_EMPTY_BODY = YES; | ||
| 451 | + CLANG_WARN_ENUM_CONVERSION = YES; | ||
| 452 | + CLANG_WARN_INT_CONVERSION = YES; | ||
| 453 | + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; | ||
| 454 | + CLANG_WARN_UNREACHABLE_CODE = YES; | ||
| 455 | + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; | ||
| 456 | + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; | ||
| 457 | + COPY_PHASE_STRIP = NO; | ||
| 458 | + DEBUG_INFORMATION_FORMAT = dwarf-with-dsym; | ||
| 459 | + ENABLE_BITCODE = NO; | ||
| 460 | + ENABLE_NS_ASSERTIONS = NO; | ||
| 461 | + ENABLE_STRICT_OBJC_MSGSEND = YES; | ||
| 462 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 463 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 464 | + ); | ||
| 465 | + GCC_C_LANGUAGE_STANDARD = gnu99; | ||
| 466 | + GCC_NO_COMMON_BLOCKS = YES; | ||
| 467 | + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; | ||
| 468 | + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; | ||
| 469 | + GCC_WARN_UNDECLARED_SELECTOR = YES; | ||
| 470 | + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; | ||
| 471 | + GCC_WARN_UNUSED_FUNCTION = YES; | ||
| 472 | + GCC_WARN_UNUSED_VARIABLE = YES; | ||
| 473 | + HEADER_SEARCH_PATHS = ( | ||
| 474 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 475 | + ); | ||
| 476 | + INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist; | ||
| 477 | + IPHONEOS_DEPLOYMENT_TARGET = 8.4; | ||
| 478 | + LIBRARY_SEARCH_PATHS = ( | ||
| 479 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 480 | + ); | ||
| 481 | + MTL_ENABLE_DEBUG_INFO = NO; | ||
| 482 | + OTHER_LDFLAGS = ( | ||
| 483 | + -ObjC, | ||
| 484 | + ); | ||
| 485 | + PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw; | ||
| 486 | + SDKROOT = iphoneos; | ||
| 487 | + VALIDATE_PRODUCT = YES; | ||
| 488 | + }; | ||
| 489 | + name = Release; | ||
| 490 | + }; | ||
| 491 | + BB5F3CAC1C1811BC00DA339D /* Debug */ = { | ||
| 492 | + isa = XCBuildConfiguration; | ||
| 493 | + buildSettings = { | ||
| 494 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 495 | + CODE_SIGN_IDENTITY = "iPhone Developer: Yufeng Wang (N5VLW9NRUG)"; | ||
| 496 | + DEAD_CODE_STRIPPING = NO; | ||
| 497 | + ENABLE_BITCODE = NO; | ||
| 498 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 499 | + "$(inherited)", | ||
| 500 | + "$(PROJECT_DIR)/Demo", | ||
| 501 | + "$(PROJECT_DIR)/poolsdk_file/poolsdk", | ||
| 502 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 503 | + ); | ||
| 504 | + HEADER_SEARCH_PATHS = ( | ||
| 505 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 506 | + ); | ||
| 507 | + INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist; | ||
| 508 | + IPHONEOS_DEPLOYMENT_TARGET = 7.1; | ||
| 509 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | ||
| 510 | + LIBRARY_SEARCH_PATHS = ( | ||
| 511 | + "$(inherited)", | ||
| 512 | + "$(PROJECT_DIR)/Demo", | ||
| 513 | + "$(PROJECT_DIR)/poolsdk_file/poolsdk", | ||
| 514 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 515 | + ); | ||
| 516 | + ONLY_ACTIVE_ARCH = NO; | ||
| 517 | + OTHER_LDFLAGS = ( | ||
| 518 | + -ObjC, | ||
| 519 | + ); | ||
| 520 | + PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw; | ||
| 521 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 522 | + PROVISIONING_PROFILE = e6d180fd-5532-4218-bf56-0c1afa8ea0b4; | ||
| 523 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 524 | + VALID_ARCHS = "arm64 armv7s"; | ||
| 525 | + }; | ||
| 526 | + name = Debug; | ||
| 527 | + }; | ||
| 528 | + BB5F3CAD1C1811BC00DA339D /* Release */ = { | ||
| 529 | + isa = XCBuildConfiguration; | ||
| 530 | + buildSettings = { | ||
| 531 | + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; | ||
| 532 | + CODE_SIGN_IDENTITY = "iPhone Developer: Yufeng Wang (N5VLW9NRUG)"; | ||
| 533 | + DEAD_CODE_STRIPPING = NO; | ||
| 534 | + ENABLE_BITCODE = NO; | ||
| 535 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 536 | + "$(inherited)", | ||
| 537 | + "$(PROJECT_DIR)/Demo", | ||
| 538 | + "$(PROJECT_DIR)/poolsdk_file/poolsdk", | ||
| 539 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 540 | + ); | ||
| 541 | + HEADER_SEARCH_PATHS = ( | ||
| 542 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 543 | + ); | ||
| 544 | + INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist; | ||
| 545 | + IPHONEOS_DEPLOYMENT_TARGET = 7.1; | ||
| 546 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; | ||
| 547 | + LIBRARY_SEARCH_PATHS = ( | ||
| 548 | + "$(inherited)", | ||
| 549 | + "$(PROJECT_DIR)/Demo", | ||
| 550 | + "$(PROJECT_DIR)/poolsdk_file/poolsdk", | ||
| 551 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 552 | + ); | ||
| 553 | + ONLY_ACTIVE_ARCH = NO; | ||
| 554 | + OTHER_LDFLAGS = ( | ||
| 555 | + -ObjC, | ||
| 556 | + ); | ||
| 557 | + PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw; | ||
| 558 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 559 | + PROVISIONING_PROFILE = e6d180fd-5532-4218-bf56-0c1afa8ea0b4; | ||
| 560 | + TARGETED_DEVICE_FAMILY = "1,2"; | ||
| 561 | + VALID_ARCHS = "arm64 armv7s"; | ||
| 562 | + }; | ||
| 563 | + name = Release; | ||
| 564 | + }; | ||
| 565 | + BB5F3CAF1C1811BC00DA339D /* Debug */ = { | ||
| 566 | + isa = XCBuildConfiguration; | ||
| 567 | + buildSettings = { | ||
| 568 | + BUNDLE_LOADER = "$(TEST_HOST)"; | ||
| 569 | + ENABLE_BITCODE = NO; | ||
| 570 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 571 | + "$(SDKROOT)/Developer/Library/Frameworks", | ||
| 572 | + "$(inherited)", | ||
| 573 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 574 | + ); | ||
| 575 | + GCC_PREPROCESSOR_DEFINITIONS = ( | ||
| 576 | + "DEBUG=1", | ||
| 577 | + "$(inherited)", | ||
| 578 | + ); | ||
| 579 | + HEADER_SEARCH_PATHS = ( | ||
| 580 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 581 | + ); | ||
| 582 | + INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist; | ||
| 583 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
| 584 | + LIBRARY_SEARCH_PATHS = ( | ||
| 585 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 586 | + ); | ||
| 587 | + OTHER_LDFLAGS = ( | ||
| 588 | + -ObjC, | ||
| 589 | + ); | ||
| 590 | + PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw; | ||
| 591 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 592 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo"; | ||
| 593 | + }; | ||
| 594 | + name = Debug; | ||
| 595 | + }; | ||
| 596 | + BB5F3CB01C1811BC00DA339D /* Release */ = { | ||
| 597 | + isa = XCBuildConfiguration; | ||
| 598 | + buildSettings = { | ||
| 599 | + BUNDLE_LOADER = "$(TEST_HOST)"; | ||
| 600 | + ENABLE_BITCODE = NO; | ||
| 601 | + FRAMEWORK_SEARCH_PATHS = ( | ||
| 602 | + "$(SDKROOT)/Developer/Library/Frameworks", | ||
| 603 | + "$(inherited)", | ||
| 604 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 605 | + ); | ||
| 606 | + HEADER_SEARCH_PATHS = ( | ||
| 607 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 608 | + ); | ||
| 609 | + INFOPLIST_FILE = poolsdk_file/poolsdk_xingwan_login/Info.plist; | ||
| 610 | + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; | ||
| 611 | + LIBRARY_SEARCH_PATHS = ( | ||
| 612 | + "\"$(PROJECT_DIR)/poolsdk_file/poolsdk_xingwan_login/SDK\"", | ||
| 613 | + ); | ||
| 614 | + OTHER_LDFLAGS = ( | ||
| 615 | + -ObjC, | ||
| 616 | + ); | ||
| 617 | + PRODUCT_BUNDLE_IDENTIFIER = com.ssmyj.ios.xw; | ||
| 618 | + PRODUCT_NAME = "$(TARGET_NAME)"; | ||
| 619 | + TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Demo.app/Demo"; | ||
| 620 | + }; | ||
| 621 | + name = Release; | ||
| 622 | + }; | ||
| 623 | +/* End XCBuildConfiguration section */ | ||
| 624 | + | ||
| 625 | +/* Begin XCConfigurationList section */ | ||
| 626 | + BB5F3C831C1811BC00DA339D /* Build configuration list for PBXNativeTarget "TARGET_NAME" */ = { | ||
| 627 | + isa = XCConfigurationList; | ||
| 628 | + buildConfigurations = ( | ||
| 629 | + BB5F3CA91C1811BC00DA339D /* Debug */, | ||
| 630 | + BB5F3CAA1C1811BC00DA339D /* Release */, | ||
| 631 | + ); | ||
| 632 | + defaultConfigurationIsVisible = 0; | ||
| 633 | + defaultConfigurationName = Release; | ||
| 634 | + }; | ||
| 635 | + BB5F3CAB1C1811BC00DA339D /* Build configuration list for PBXNativeTarget "Demo" */ = { | ||
| 636 | + isa = XCConfigurationList; | ||
| 637 | + buildConfigurations = ( | ||
| 638 | + BB5F3CAC1C1811BC00DA339D /* Debug */, | ||
| 639 | + BB5F3CAD1C1811BC00DA339D /* Release */, | ||
| 640 | + ); | ||
| 641 | + defaultConfigurationIsVisible = 0; | ||
| 642 | + defaultConfigurationName = Release; | ||
| 643 | + }; | ||
| 644 | + BB5F3CAE1C1811BC00DA339D /* Build configuration list for PBXNativeTarget "DemoTests" */ = { | ||
| 645 | + isa = XCConfigurationList; | ||
| 646 | + buildConfigurations = ( | ||
| 647 | + BB5F3CAF1C1811BC00DA339D /* Debug */, | ||
| 648 | + BB5F3CB01C1811BC00DA339D /* Release */, | ||
| 649 | + ); | ||
| 650 | + defaultConfigurationIsVisible = 0; | ||
| 651 | + defaultConfigurationName = Release; | ||
| 652 | + }; | ||
| 653 | +/* End XCConfigurationList section */ | ||
| 654 | + | ||
| 655 | +/* Begin PBXTargetDependency section */ | ||
| 656 | + BB5F3CA31C1811BC00DA339D /* Target */ = { | ||
| 657 | + isa = PBXTargetDependency; | ||
| 658 | + target = BB5F3C871C1811BC00DA339D /* Demo */; | ||
| 659 | + targetProxy = BB5F3CA21C1811BC00DA339D /* Containe */; | ||
| 660 | + }; | ||
| 661 | +/* End PBXTargetDependency section */ | ||
| 662 | + | ||
| 663 | +/* Begin PBXVariantGroup section */ | ||
| 664 | + BB5F3C951C1811BC00DA339D /* Main.storyboard */ = { | ||
| 665 | + isa = PBXVariantGroup; | ||
| 666 | + children = ( | ||
| 667 | + BB5F3C961C1811BC00DA339D /* Base */, | ||
| 668 | + ); | ||
| 669 | + name = Main.storyboard; | ||
| 670 | + sourceTree = "<group>"; | ||
| 671 | + }; | ||
| 672 | + BB5F3C9A1C1811BC00DA339D /* LaunchScreen.xib */ = { | ||
| 673 | + isa = PBXVariantGroup; | ||
| 674 | + children = ( | ||
| 675 | + BB5F3C9B1C1811BC00DA339D /* Base */, | ||
| 676 | + ); | ||
| 677 | + name = LaunchScreen.xib; | ||
| 678 | + sourceTree = "<group>"; | ||
| 679 | + }; | ||
| 680 | +/* End PBXVariantGroup section */ | ||
| 681 | + | ||
| 682 | +/* Begin PBXContainerItemProxy section */ | ||
| 683 | + BB5F3CA21C1811BC00DA339D /* Containe */ = { | ||
| 684 | + isa = PBXContainerItemProxy; | ||
| 685 | + containerPortal = BB5F3C801C1811BC00DA339D /* Project object */; | ||
| 686 | + proxyType = 1; | ||
| 687 | + remoteGlobalIDString = BB5F3C871C1811BC00DA339D /* Demo */; | ||
| 688 | + remoteInfo = Demo; | ||
| 689 | + }; | ||
| 690 | +/* End PBXContainerItemProxy section */ | ||
| 691 | + }; | ||
| 692 | + rootObject = BB5F3C801C1811BC00DA339D /* Project object */; | ||
| 693 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
PoolSdk_Demo/Demo_xingwan_login.xcodeproj/project.xcworkspace/xcshareddata/Demo.xcscmblueprint
0 → 100644
| 1 | +{ | ||
| 2 | + "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "D1584AEF25B5C21395F515B62C90B71E0ACB26B2", | ||
| 3 | + "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { | ||
| 4 | + "5b13317c-0110-4367-8746-06bc6aadd3cd++2397" : { | ||
| 5 | + | ||
| 6 | + } | ||
| 7 | + }, | ||
| 8 | + "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { | ||
| 9 | + "D1584AEF25B5C21395F515B62C90B71E0ACB26B2" : 0, | ||
| 10 | + "5b13317c-0110-4367-8746-06bc6aadd3cd++2397" : 0 | ||
| 11 | + }, | ||
| 12 | + "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "8119CC7B-EDC1-4646-9378-8ECAC2EEB94B", | ||
| 13 | + "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { | ||
| 14 | + "D1584AEF25B5C21395F515B62C90B71E0ACB26B2" : "public_sdk_ios\/", | ||
| 15 | + "5b13317c-0110-4367-8746-06bc6aadd3cd++2397" : "youai_foolsdk_ios\/" | ||
| 16 | + }, | ||
| 17 | + "DVTSourceControlWorkspaceBlueprintNameKey" : "Demo", | ||
| 18 | + "DVTSourceControlWorkspaceBlueprintVersion" : 204, | ||
| 19 | + "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "PoolSdk_Demo\/Demo.xcodeproj", | ||
| 20 | + "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ | ||
| 21 | + { | ||
| 22 | + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "svn:\/\/10.21.210.99", | ||
| 23 | + "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Subversion", | ||
| 24 | + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "5b13317c-0110-4367-8746-06bc6aadd3cd++2397" | ||
| 25 | + }, | ||
| 26 | + { | ||
| 27 | + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "ssh:\/\/106.75.192.252:10022\/public_service\/public_sdk_ios.git", | ||
| 28 | + "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", | ||
| 29 | + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "D1584AEF25B5C21395F515B62C90B71E0ACB26B2" | ||
| 30 | + } | ||
| 31 | + ] | ||
| 32 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
No preview for this file type
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<Bucket | ||
| 3 | + type = "1" | ||
| 4 | + version = "2.0"> | ||
| 5 | + <Breakpoints> | ||
| 6 | + <BreakpointProxy | ||
| 7 | + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
| 8 | + <BreakpointContent | ||
| 9 | + shouldBeEnabled = "Yes" | ||
| 10 | + ignoreCount = "0" | ||
| 11 | + continueAfterRunningActions = "No" | ||
| 12 | + filePath = "../PoolSdk/PoolSdk/SDKInterface.m" | ||
| 13 | + timestampString = "471440051.171901" | ||
| 14 | + startingColumnNumber = "9223372036854775807" | ||
| 15 | + endingColumnNumber = "9223372036854775807" | ||
| 16 | + startingLineNumber = "77" | ||
| 17 | + endingLineNumber = "77" | ||
| 18 | + landmarkName = "-receiveLoginMessage:" | ||
| 19 | + landmarkType = "5"> | ||
| 20 | + </BreakpointContent> | ||
| 21 | + </BreakpointProxy> | ||
| 22 | + <BreakpointProxy | ||
| 23 | + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
| 24 | + <BreakpointContent | ||
| 25 | + shouldBeEnabled = "Yes" | ||
| 26 | + ignoreCount = "0" | ||
| 27 | + continueAfterRunningActions = "No" | ||
| 28 | + filePath = "../PoolSdk/PoolSdk/SDKInterface.m" | ||
| 29 | + timestampString = "471440051.171901" | ||
| 30 | + startingColumnNumber = "9223372036854775807" | ||
| 31 | + endingColumnNumber = "9223372036854775807" | ||
| 32 | + startingLineNumber = "43" | ||
| 33 | + endingLineNumber = "43" | ||
| 34 | + landmarkName = "-SDKloginSDK" | ||
| 35 | + landmarkType = "5"> | ||
| 36 | + </BreakpointContent> | ||
| 37 | + </BreakpointProxy> | ||
| 38 | + </Breakpoints> | ||
| 39 | +</Bucket> |
PoolSdk_Demo/Demo_xingwan_login.xcodeproj/xcuserdata/winfan.xcuserdatad/xcschemes/Demo.xcscheme
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<Scheme | ||
| 3 | + LastUpgradeVersion = "0640" | ||
| 4 | + version = "1.3"> | ||
| 5 | + <BuildAction | ||
| 6 | + parallelizeBuildables = "YES" | ||
| 7 | + buildImplicitDependencies = "YES"> | ||
| 8 | + <BuildActionEntries> | ||
| 9 | + <BuildActionEntry | ||
| 10 | + buildForTesting = "YES" | ||
| 11 | + buildForRunning = "YES" | ||
| 12 | + buildForProfiling = "YES" | ||
| 13 | + buildForArchiving = "YES" | ||
| 14 | + buildForAnalyzing = "YES"> | ||
| 15 | + <BuildableReference | ||
| 16 | + BuildableIdentifier = "primary" | ||
| 17 | + BlueprintIdentifier = "BB5F3C871C1811BC00DA339D" | ||
| 18 | + BuildableName = "Demo.app" | ||
| 19 | + BlueprintName = "Demo" | ||
| 20 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 21 | + </BuildableReference> | ||
| 22 | + </BuildActionEntry> | ||
| 23 | + <BuildActionEntry | ||
| 24 | + buildForTesting = "YES" | ||
| 25 | + buildForRunning = "YES" | ||
| 26 | + buildForProfiling = "NO" | ||
| 27 | + buildForArchiving = "NO" | ||
| 28 | + buildForAnalyzing = "YES"> | ||
| 29 | + <BuildableReference | ||
| 30 | + BuildableIdentifier = "primary" | ||
| 31 | + BlueprintIdentifier = "BB5F3CA01C1811BC00DA339D" | ||
| 32 | + BuildableName = "DemoTests.xctest" | ||
| 33 | + BlueprintName = "DemoTests" | ||
| 34 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 35 | + </BuildableReference> | ||
| 36 | + </BuildActionEntry> | ||
| 37 | + </BuildActionEntries> | ||
| 38 | + </BuildAction> | ||
| 39 | + <TestAction | ||
| 40 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 41 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 42 | + shouldUseLaunchSchemeArgsEnv = "YES" | ||
| 43 | + buildConfiguration = "Debug"> | ||
| 44 | + <Testables> | ||
| 45 | + <TestableReference | ||
| 46 | + skipped = "NO"> | ||
| 47 | + <BuildableReference | ||
| 48 | + BuildableIdentifier = "primary" | ||
| 49 | + BlueprintIdentifier = "BB5F3CA01C1811BC00DA339D" | ||
| 50 | + BuildableName = "DemoTests.xctest" | ||
| 51 | + BlueprintName = "DemoTests" | ||
| 52 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 53 | + </BuildableReference> | ||
| 54 | + </TestableReference> | ||
| 55 | + </Testables> | ||
| 56 | + <MacroExpansion> | ||
| 57 | + <BuildableReference | ||
| 58 | + BuildableIdentifier = "primary" | ||
| 59 | + BlueprintIdentifier = "BB5F3C871C1811BC00DA339D" | ||
| 60 | + BuildableName = "Demo.app" | ||
| 61 | + BlueprintName = "Demo" | ||
| 62 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 63 | + </BuildableReference> | ||
| 64 | + </MacroExpansion> | ||
| 65 | + </TestAction> | ||
| 66 | + <LaunchAction | ||
| 67 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 68 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 69 | + launchStyle = "0" | ||
| 70 | + useCustomWorkingDirectory = "NO" | ||
| 71 | + buildConfiguration = "Debug" | ||
| 72 | + ignoresPersistentStateOnLaunch = "NO" | ||
| 73 | + debugDocumentVersioning = "YES" | ||
| 74 | + allowLocationSimulation = "YES"> | ||
| 75 | + <BuildableProductRunnable | ||
| 76 | + runnableDebuggingMode = "0"> | ||
| 77 | + <BuildableReference | ||
| 78 | + BuildableIdentifier = "primary" | ||
| 79 | + BlueprintIdentifier = "BB5F3C871C1811BC00DA339D" | ||
| 80 | + BuildableName = "Demo.app" | ||
| 81 | + BlueprintName = "Demo" | ||
| 82 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 83 | + </BuildableReference> | ||
| 84 | + </BuildableProductRunnable> | ||
| 85 | + <AdditionalOptions> | ||
| 86 | + </AdditionalOptions> | ||
| 87 | + </LaunchAction> | ||
| 88 | + <ProfileAction | ||
| 89 | + shouldUseLaunchSchemeArgsEnv = "YES" | ||
| 90 | + savedToolIdentifier = "" | ||
| 91 | + useCustomWorkingDirectory = "NO" | ||
| 92 | + buildConfiguration = "Release" | ||
| 93 | + debugDocumentVersioning = "YES"> | ||
| 94 | + <BuildableProductRunnable | ||
| 95 | + runnableDebuggingMode = "0"> | ||
| 96 | + <BuildableReference | ||
| 97 | + BuildableIdentifier = "primary" | ||
| 98 | + BlueprintIdentifier = "BB5F3C871C1811BC00DA339D" | ||
| 99 | + BuildableName = "Demo.app" | ||
| 100 | + BlueprintName = "Demo" | ||
| 101 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 102 | + </BuildableReference> | ||
| 103 | + </BuildableProductRunnable> | ||
| 104 | + </ProfileAction> | ||
| 105 | + <AnalyzeAction | ||
| 106 | + buildConfiguration = "Debug"> | ||
| 107 | + </AnalyzeAction> | ||
| 108 | + <ArchiveAction | ||
| 109 | + buildConfiguration = "Release" | ||
| 110 | + revealArchiveInOrganizer = "YES"> | ||
| 111 | + </ArchiveAction> | ||
| 112 | +</Scheme> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>SchemeUserState</key> | ||
| 6 | + <dict> | ||
| 7 | + <key>Demo.xcscheme</key> | ||
| 8 | + <dict> | ||
| 9 | + <key>orderHint</key> | ||
| 10 | + <integer>0</integer> | ||
| 11 | + </dict> | ||
| 12 | + </dict> | ||
| 13 | + <key>SuppressBuildableAutocreation</key> | ||
| 14 | + <dict> | ||
| 15 | + <key>BB5F3C871C1811BC00DA339D</key> | ||
| 16 | + <dict> | ||
| 17 | + <key>primary</key> | ||
| 18 | + <true/> | ||
| 19 | + </dict> | ||
| 20 | + <key>BB5F3CA01C1811BC00DA339D</key> | ||
| 21 | + <dict> | ||
| 22 | + <key>primary</key> | ||
| 23 | + <true/> | ||
| 24 | + </dict> | ||
| 25 | + </dict> | ||
| 26 | +</dict> | ||
| 27 | +</plist> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<Bucket | ||
| 3 | + type = "1" | ||
| 4 | + version = "2.0"> | ||
| 5 | + <Breakpoints> | ||
| 6 | + <BreakpointProxy | ||
| 7 | + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint"> | ||
| 8 | + <BreakpointContent | ||
| 9 | + shouldBeEnabled = "No" | ||
| 10 | + ignoreCount = "0" | ||
| 11 | + continueAfterRunningActions = "No" | ||
| 12 | + filePath = "Demo/SDKInterface.h" | ||
| 13 | + timestampString = "474775745.083759" | ||
| 14 | + startingColumnNumber = "9223372036854775807" | ||
| 15 | + endingColumnNumber = "9223372036854775807" | ||
| 16 | + startingLineNumber = "9" | ||
| 17 | + endingLineNumber = "9" | ||
| 18 | + landmarkName = "@interface SDKInterface" | ||
| 19 | + landmarkType = "2"> | ||
| 20 | + </BreakpointContent> | ||
| 21 | + </BreakpointProxy> | ||
| 22 | + </Breakpoints> | ||
| 23 | +</Bucket> |
PoolSdk_Demo/Demo_xingwan_login.xcodeproj/xcuserdata/xuguohong.xcuserdatad/xcschemes/Demo.xcscheme
0 → 100644
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<Scheme | ||
| 3 | + LastUpgradeVersion = "0700" | ||
| 4 | + version = "1.3"> | ||
| 5 | + <BuildAction | ||
| 6 | + parallelizeBuildables = "YES" | ||
| 7 | + buildImplicitDependencies = "YES"> | ||
| 8 | + <BuildActionEntries> | ||
| 9 | + <BuildActionEntry | ||
| 10 | + buildForTesting = "YES" | ||
| 11 | + buildForRunning = "YES" | ||
| 12 | + buildForProfiling = "YES" | ||
| 13 | + buildForArchiving = "YES" | ||
| 14 | + buildForAnalyzing = "YES"> | ||
| 15 | + <BuildableReference | ||
| 16 | + BuildableIdentifier = "primary" | ||
| 17 | + BlueprintIdentifier = "BB5F3C871C1811BC00DA339D" | ||
| 18 | + BuildableName = "Demo.app" | ||
| 19 | + BlueprintName = "Demo" | ||
| 20 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 21 | + </BuildableReference> | ||
| 22 | + </BuildActionEntry> | ||
| 23 | + </BuildActionEntries> | ||
| 24 | + </BuildAction> | ||
| 25 | + <TestAction | ||
| 26 | + buildConfiguration = "Debug" | ||
| 27 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 28 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 29 | + shouldUseLaunchSchemeArgsEnv = "YES"> | ||
| 30 | + <Testables> | ||
| 31 | + <TestableReference | ||
| 32 | + skipped = "NO"> | ||
| 33 | + <BuildableReference | ||
| 34 | + BuildableIdentifier = "primary" | ||
| 35 | + BlueprintIdentifier = "BB5F3CA01C1811BC00DA339D" | ||
| 36 | + BuildableName = "DemoTests.xctest" | ||
| 37 | + BlueprintName = "DemoTests" | ||
| 38 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 39 | + </BuildableReference> | ||
| 40 | + </TestableReference> | ||
| 41 | + </Testables> | ||
| 42 | + <MacroExpansion> | ||
| 43 | + <BuildableReference | ||
| 44 | + BuildableIdentifier = "primary" | ||
| 45 | + BlueprintIdentifier = "BB5F3C871C1811BC00DA339D" | ||
| 46 | + BuildableName = "Demo.app" | ||
| 47 | + BlueprintName = "Demo" | ||
| 48 | + ReferencedContainer = "container:Demo_xingwan_login.xcodeproj"> | ||
| 49 | + </BuildableReference> | ||
| 50 | + </MacroExpansion> | ||
| 51 | + <AdditionalOptions> | ||
| 52 | + </AdditionalOptions> | ||
| 53 | + </TestAction> | ||
| 54 | + <LaunchAction | ||
| 55 | + buildConfiguration = "Debug" | ||
| 56 | + selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" | ||
| 57 | + selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" | ||
| 58 | + launchStyle = "0" | ||
| 59 | + useCustomWorkingDirectory = "NO" | ||
| 60 | + ignoresPersistentStateOnLaunch = "NO" | ||
| 61 | + debugDocumentVersioning = "YES" | ||
| 62 | + debugServiceExtension = "internal" | ||
| 63 | + allowLocationSimulation = "YES"> | ||
| 64 | + <BuildableProductRunnable | ||
| 65 | + runnableDebuggingMode = "0"> | ||
| 66 | + <BuildableReference | ||
| 67 | + BuildableIdentifier = "primary" | ||
| 68 | + BlueprintIdentifier = "BB5F3C871C1811BC00DA339D" | ||
| 69 | + BuildableName = "Demo.app" | ||
| 70 | + BlueprintName = "Demo" | ||
| 71 | + ReferencedContainer = "container:Demo_xingwan_login.xcodeproj"> | ||
| 72 | + </BuildableReference> | ||
| 73 | + </BuildableProductRunnable> | ||
| 74 | + <AdditionalOptions> | ||
| 75 | + </AdditionalOptions> | ||
| 76 | + </LaunchAction> | ||
| 77 | + <ProfileAction | ||
| 78 | + buildConfiguration = "Release" | ||
| 79 | + shouldUseLaunchSchemeArgsEnv = "YES" | ||
| 80 | + savedToolIdentifier = "" | ||
| 81 | + useCustomWorkingDirectory = "NO" | ||
| 82 | + debugDocumentVersioning = "YES"> | ||
| 83 | + <BuildableProductRunnable | ||
| 84 | + runnableDebuggingMode = "0"> | ||
| 85 | + <BuildableReference | ||
| 86 | + BuildableIdentifier = "primary" | ||
| 87 | + BlueprintIdentifier = "BB5F3C871C1811BC00DA339D" | ||
| 88 | + BuildableName = "Demo.app" | ||
| 89 | + BlueprintName = "Demo" | ||
| 90 | + ReferencedContainer = "container:Demo.xcodeproj"> | ||
| 91 | + </BuildableReference> | ||
| 92 | + </BuildableProductRunnable> | ||
| 93 | + </ProfileAction> | ||
| 94 | + <AnalyzeAction | ||
| 95 | + buildConfiguration = "Debug"> | ||
| 96 | + </AnalyzeAction> | ||
| 97 | + <ArchiveAction | ||
| 98 | + buildConfiguration = "Release" | ||
| 99 | + revealArchiveInOrganizer = "YES"> | ||
| 100 | + </ArchiveAction> | ||
| 101 | +</Scheme> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>SchemeUserState</key> | ||
| 6 | + <dict> | ||
| 7 | + <key>Demo.xcscheme</key> | ||
| 8 | + <dict> | ||
| 9 | + <key>orderHint</key> | ||
| 10 | + <integer>0</integer> | ||
| 11 | + </dict> | ||
| 12 | + </dict> | ||
| 13 | + <key>SuppressBuildableAutocreation</key> | ||
| 14 | + <dict> | ||
| 15 | + <key>BB5F3C871C1811BC00DA339D</key> | ||
| 16 | + <dict> | ||
| 17 | + <key>primary</key> | ||
| 18 | + <true/> | ||
| 19 | + </dict> | ||
| 20 | + <key>BB5F3CA01C1811BC00DA339D</key> | ||
| 21 | + <dict> | ||
| 22 | + <key>primary</key> | ||
| 23 | + <true/> | ||
| 24 | + </dict> | ||
| 25 | + </dict> | ||
| 26 | +</dict> | ||
| 27 | +</plist> |
No preview for this file type
PoolSdk_Demo/config.pyc
0 → 100644
No preview for this file type
PoolSdk_Demo/mod_pbxproj.pyc
0 → 100644
No preview for this file type
PoolSdk_Demo/packageProj.pyc
0 → 100644
No preview for this file type
No preview for this file type
| 1 | +// | ||
| 2 | +// DCSdk.h | ||
| 3 | +// DCSdk | ||
| 4 | +// | ||
| 5 | +// Created by xqwang on 13-7-8. | ||
| 6 | +// Copyright (c) 2013年 digitcube. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +//这里提供静态方法 | ||
| 12 | +@interface DCTrackingAgent : NSObject | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * @brief 初始化接口,程序启动时调用 | ||
| 16 | + * | ||
| 17 | + * 一般在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions内调用一次即可 | ||
| 18 | + * !!!一定要调用,否则后面无法上报,只能调用一次 | ||
| 19 | + * @param appId 在我们网站上创建游戏时分配的appId,用于标识这款游戏. 注意保密! | ||
| 20 | + * @param channelId 渠道id , 方便统计分析你在各渠道的推广效果 | ||
| 21 | + */ | ||
| 22 | ++ (void)initWithAppId:(NSString *)appId andChannelId:(NSString*)channelId; | ||
| 23 | + | ||
| 24 | + | ||
| 25 | +/** | ||
| 26 | + * @brief 设置数据上报间隔时间,该接口需要在onStart接口之前调用,否则无效。如果不调用该接口,SDK默认以1分钟的间隔上报数据 | ||
| 27 | + * | ||
| 28 | + **/ | ||
| 29 | ++(void)setUploadInterval:(unsigned int)time; | ||
| 30 | + | ||
| 31 | + | ||
| 32 | +/** | ||
| 33 | + * @brief 设置应用版本号,不调用该接口时SDK默认从配置文件中读取应用版本号 | ||
| 34 | + * | ||
| 35 | + * @param version:应用版本号 | ||
| 36 | + */ | ||
| 37 | ++(void)setVersion:(NSString*)version; | ||
| 38 | + | ||
| 39 | +/** | ||
| 40 | + * @brief 立即上报数据 | ||
| 41 | + **/ | ||
| 42 | ++(void)uploadNow; | ||
| 43 | + | ||
| 44 | +/** | ||
| 45 | + * @brief 获取设备ID | ||
| 46 | + **/ | ||
| 47 | ++(NSString*)getUID; | ||
| 48 | + | ||
| 49 | +@end | ||
| 50 | + | ||
| 51 | + | ||
| 52 | +@interface DCTrackingPoint : NSObject | ||
| 53 | + | ||
| 54 | +/** | ||
| 55 | + @brief 广告效果追踪设置有效的效果点 | ||
| 56 | + @param pointId 广告效果点 | ||
| 57 | + @param propDictionary 触发时希望传入的属性字典 | ||
| 58 | + **/ | ||
| 59 | ++(void)setEffectPoint:(NSString*)pointId propDictionary:(NSDictionary*)dictionary; | ||
| 60 | + | ||
| 61 | +/** | ||
| 62 | + @brief 玩家登陆事件 | ||
| 63 | + @param accountId 玩家账户ID | ||
| 64 | + **/ | ||
| 65 | ++(void)login:(NSString*)accountId; | ||
| 66 | + | ||
| 67 | + | ||
| 68 | +/** | ||
| 69 | + @brief 玩家注册事件 | ||
| 70 | + @param accountId 玩家账户ID | ||
| 71 | + **/ | ||
| 72 | ++(void)createAccount:(NSString*)accountId; | ||
| 73 | + | ||
| 74 | +/** | ||
| 75 | + @brief 玩家付费事件 | ||
| 76 | + @param orderId 订单ID | ||
| 77 | + @param currencyAmount 付费总额 | ||
| 78 | + @param currencyType 货币类型 | ||
| 79 | + @param paymentType 支付途径 | ||
| 80 | + **/ | ||
| 81 | ++(void)paymentSuccess:(NSString*)orderId currencyAmount:(double)currencyAmount currencyType:(NSString*)currencyType paymentType:(NSString*)paymentType; | ||
| 82 | + | ||
| 83 | +@end |
No preview for this file type
PoolSdk_Demo/poolsdk_file/poolsdk/Images.xcassets/AppIcon.appiconset/Contents.json
deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "images" : [ | ||
| 3 | - { | ||
| 4 | - "idiom" : "iphone", | ||
| 5 | - "size" : "29x29", | ||
| 6 | - "scale" : "2x" | ||
| 7 | - }, | ||
| 8 | - { | ||
| 9 | - "idiom" : "iphone", | ||
| 10 | - "size" : "29x29", | ||
| 11 | - "scale" : "3x" | ||
| 12 | - }, | ||
| 13 | - { | ||
| 14 | - "idiom" : "iphone", | ||
| 15 | - "size" : "40x40", | ||
| 16 | - "scale" : "2x" | ||
| 17 | - }, | ||
| 18 | - { | ||
| 19 | - "idiom" : "iphone", | ||
| 20 | - "size" : "40x40", | ||
| 21 | - "scale" : "3x" | ||
| 22 | - }, | ||
| 23 | - { | ||
| 24 | - "idiom" : "iphone", | ||
| 25 | - "size" : "60x60", | ||
| 26 | - "scale" : "2x" | ||
| 27 | - }, | ||
| 28 | - { | ||
| 29 | - "idiom" : "iphone", | ||
| 30 | - "size" : "60x60", | ||
| 31 | - "scale" : "3x" | ||
| 32 | - } | ||
| 33 | - ], | ||
| 34 | - "info" : { | ||
| 35 | - "version" : 1, | ||
| 36 | - "author" : "xcode" | ||
| 37 | - } | ||
| 38 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
PoolSdk_Demo/poolsdk_file/poolsdk/Images.xcassets/BrandAsset.launchimage/Contents.json
deleted
100644 → 0
| 1 | -{ | ||
| 2 | - "images" : [ | ||
| 3 | - { | ||
| 4 | - "orientation" : "portrait", | ||
| 5 | - "idiom" : "iphone", | ||
| 6 | - "minimum-system-version" : "7.0", | ||
| 7 | - "scale" : "2x" | ||
| 8 | - }, | ||
| 9 | - { | ||
| 10 | - "orientation" : "portrait", | ||
| 11 | - "idiom" : "iphone", | ||
| 12 | - "minimum-system-version" : "7.0", | ||
| 13 | - "subtype" : "retina4", | ||
| 14 | - "scale" : "2x" | ||
| 15 | - } | ||
| 16 | - ], | ||
| 17 | - "info" : { | ||
| 18 | - "version" : 1, | ||
| 19 | - "author" : "xcode" | ||
| 20 | - } | ||
| 21 | -} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -33,11 +33,6 @@ | ... | @@ -33,11 +33,6 @@ |
| 33 | <string>1</string> | 33 | <string>1</string> |
| 34 | <key>LSRequiresIPhoneOS</key> | 34 | <key>LSRequiresIPhoneOS</key> |
| 35 | <true/> | 35 | <true/> |
| 36 | - <key>NSAppTransportSecurity</key> | ||
| 37 | - <dict> | ||
| 38 | - <key>NSAllowsArbitraryLoads</key> | ||
| 39 | - <true/> | ||
| 40 | - </dict> | ||
| 41 | <key>UILaunchStoryboardName</key> | 36 | <key>UILaunchStoryboardName</key> |
| 42 | <string>LaunchScreen</string> | 37 | <string>LaunchScreen</string> |
| 43 | <key>UIMainStoryboardFile</key> | 38 | <key>UIMainStoryboardFile</key> | ... | ... |
No preview for this file type
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | // Created by yun on 16/1/11. | 5 | // Created by yun on 16/1/11. |
| 6 | // Copyright © 2016年 yun. All rights reserved. | 6 | // Copyright © 2016年 yun. All rights reserved. |
| 7 | // | 7 | // |
| 8 | -#define TRACK_VERSION @"1.0.1" | 8 | +#define TRACK_VERSION @"3.0.1" |
| 9 | 9 | ||
| 10 | #import <Foundation/Foundation.h> | 10 | #import <Foundation/Foundation.h> |
| 11 | #import <UIKit/UIKit.h> | 11 | #import <UIKit/UIKit.h> |
| ... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
| 15 | 热云移动广告效果监测 平台 api 请选择对应的api进行使用 | 15 | 热云移动广告效果监测 平台 api 请选择对应的api进行使用 |
| 16 | */ | 16 | */ |
| 17 | NS_ASSUME_NONNULL_BEGIN | 17 | NS_ASSUME_NONNULL_BEGIN |
| 18 | -@interface TrackingIO : NSObject | 18 | +@interface ReYunChannel : NSObject |
| 19 | //开启打印日志 正式上线包请关掉 | 19 | //开启打印日志 正式上线包请关掉 |
| 20 | +(void) setPrintLog :(BOOL)print; | 20 | +(void) setPrintLog :(BOOL)print; |
| 21 | // 开启数据统计 | 21 | // 开启数据统计 |
| ... | @@ -29,10 +29,10 @@ NS_ASSUME_NONNULL_BEGIN | ... | @@ -29,10 +29,10 @@ NS_ASSUME_NONNULL_BEGIN |
| 29 | // 支付完成,付费分析,记录玩家充值的金额(人民币单位是元) | 29 | // 支付完成,付费分析,记录玩家充值的金额(人民币单位是元) |
| 30 | +(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount; | 30 | +(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount; |
| 31 | //自定义事件 | 31 | //自定义事件 |
| 32 | -+(void)setEvent:(NSString *)eventName andExtra:(nullable NSDictionary *)extra; | 32 | ++(void)setEvent:(NSString *)eventName; |
| 33 | -//标准接口 | ||
| 34 | -+(void)setProfile:(NSDictionary *)dataDic; | ||
| 35 | //获取设备信息 | 33 | //获取设备信息 |
| 36 | +(NSString*)getDeviceId; | 34 | +(NSString*)getDeviceId; |
| 35 | + | ||
| 36 | ++(BOOL)RYApplication:(UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<NSString *,id> *)options; | ||
| 37 | @end | 37 | @end |
| 38 | -NS_ASSUME_NONNULL_END | 38 | +NS_ASSUME_NONNULL_END |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -11,7 +11,8 @@ | ... | @@ -11,7 +11,8 @@ |
| 11 | #import "YouaiSDK/YouaiSDKMgr.h" | 11 | #import "YouaiSDK/YouaiSDKMgr.h" |
| 12 | #import "YouaiSDK/YouaiNotifications.h" | 12 | #import "YouaiSDK/YouaiNotifications.h" |
| 13 | #import "YouaiSDK/YouaiLoginInfo.h" | 13 | #import "YouaiSDK/YouaiLoginInfo.h" |
| 14 | -#import "TrackingIO.h" | 14 | +#import "ReYunTrack.h" |
| 15 | +#import "DCTrackingAgent.h" | ||
| 15 | 16 | ||
| 16 | //SDK | 17 | //SDK |
| 17 | 18 | ||
| ... | @@ -31,18 +32,23 @@ int mExchange; | ... | @@ -31,18 +32,23 @@ int mExchange; |
| 31 | [super SDKinit:control]; | 32 | [super SDKinit:control]; |
| 32 | 33 | ||
| 33 | [PoolConfig getInstance]; | 34 | [PoolConfig getInstance]; |
| 35 | + | ||
| 34 | [[YouaiSDKMgr getInstance]initSDK]; | 36 | [[YouaiSDKMgr getInstance]initSDK]; |
| 35 | [[YouaiSDKMgr getInstance]setStyleName:@"sdk"]; | 37 | [[YouaiSDKMgr getInstance]setStyleName:@"sdk"]; |
| 38 | + [[YouaiSDKMgr getInstance]setServerUrl:@"https://sdk.shxingwan.com"]; | ||
| 39 | + | ||
| 36 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:youaiLoginNotification object:nil]; | 40 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:youaiLoginNotification object:nil]; |
| 37 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applePayCallBack:) name:@"applePayCallBack" object:nil]; | 41 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applePayCallBack:) name:@"applePayCallBack" object:nil]; |
| 38 | 42 | ||
| 39 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; | 43 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; |
| 40 | 44 | ||
| 41 | - NSString* channelId = [[PoolConfig getInstance] getValueByKey:@"gamechannelid"]; | 45 | + |
| 42 | - if(channelId == nil || [channelId length] <= 0){ | 46 | + NSString* channelId = [[PoolConfig getInstance] getValueByKey:@"sdkSimpleName"]; |
| 43 | - channelId = @"unknown"; | 47 | + [ReYunChannel initWithappKey:[[PoolConfig getInstance] getValueByKey:@"renyunAppKey"] withChannelId:channelId]; |
| 44 | - } | 48 | + |
| 45 | - [TrackingIO initWithappKey:[[PoolConfig getInstance] getValueByKey:@"renyunAppKey"] withChannelId:channelId]; | 49 | + NSString* dateEyeAppId = [[PoolConfig getInstance] getValueByKey:@"dateEyeAppId"]; |
| 50 | + | ||
| 51 | + [DCTrackingAgent initWithAppId:dateEyeAppId andChannelId:channelId]; | ||
| 46 | } | 52 | } |
| 47 | 53 | ||
| 48 | /** | 54 | /** |
| ... | @@ -50,11 +56,16 @@ int mExchange; | ... | @@ -50,11 +56,16 @@ int mExchange; |
| 50 | */ | 56 | */ |
| 51 | - (void)SDKloginSDK | 57 | - (void)SDKloginSDK |
| 52 | { | 58 | { |
| 59 | + NSLog(@"no parames login"); | ||
| 60 | + [self SDKloginSDK:self.controller]; | ||
| 61 | +} | ||
| 62 | + | ||
| 63 | +- (void)SDKloginSDK:(UIViewController *)control | ||
| 64 | +{ | ||
| 53 | NSLog(@"调用了LoginSDK"); | 65 | NSLog(@"调用了LoginSDK"); |
| 54 | NSString *appId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | 66 | NSString *appId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; |
| 55 | NSString *appKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | 67 | NSString *appKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; |
| 56 | - [[YouaiSDKMgr getInstance]openLogin:appId :appKey :self.controller]; | 68 | + [[YouaiSDKMgr getInstance]openLogin:appId :appKey :control]; |
| 57 | - | ||
| 58 | } | 69 | } |
| 59 | 70 | ||
| 60 | /** | 71 | /** |
| ... | @@ -67,11 +78,7 @@ int mExchange; | ... | @@ -67,11 +78,7 @@ int mExchange; |
| 67 | loginInfo.openId = [[YouaiLoginInfo getInstance]openId]; | 78 | loginInfo.openId = [[YouaiLoginInfo getInstance]openId]; |
| 68 | loginInfo.sign = [[YouaiLoginInfo getInstance] token]; | 79 | loginInfo.sign = [[YouaiLoginInfo getInstance] token]; |
| 69 | loginInfo.timestamp = [YouaiLoginInfo getInstance].timestamp; | 80 | loginInfo.timestamp = [YouaiLoginInfo getInstance].timestamp; |
| 70 | - | 81 | + [[PoolChecker getInstance] startCheck:loginInfo]; |
| 71 | - dispatch_async(dispatch_get_global_queue(0, 0), ^{ | ||
| 72 | - [[PoolChecker getInstance] startCheck:loginInfo]; | ||
| 73 | - }); | ||
| 74 | - | ||
| 75 | } | 82 | } |
| 76 | 83 | ||
| 77 | 84 | ||
| ... | @@ -146,13 +153,15 @@ int mExchange; | ... | @@ -146,13 +153,15 @@ int mExchange; |
| 146 | NSString* reportType = [reportInfo reportType]; | 153 | NSString* reportType = [reportInfo reportType]; |
| 147 | if (reportInfo) { | 154 | if (reportInfo) { |
| 148 | if ([reportType isEqualToString:REPORT_ENTER]) { | 155 | if ([reportType isEqualToString:REPORT_ENTER]) { |
| 149 | - [TrackingIO setLoginWithAccountID:[reportInfo playerId]]; | 156 | + [ReYunChannel setLoginWithAccountID:[reportInfo playerId]];//reyun login |
| 157 | + [DCTrackingPoint login:[reportInfo playerId]];//dateeye login | ||
| 150 | 158 | ||
| 151 | - dispatch_async(dispatch_get_global_queue(0, 0), ^{ | 159 | + dispatch_async(dispatch_get_global_queue(0, 0), ^{ |
| 152 | [self handlerLeakOrder]; | 160 | [self handlerLeakOrder]; |
| 153 | }); | 161 | }); |
| 154 | - }else if ([reportType isEqualToString:REPORT_CREATEROLE]){ | 162 | + }else if([reportType isEqualToString:REPORT_CREATEROLE]){ |
| 155 | - [TrackingIO setRegisterWithAccountID:[reportInfo playerId]]; | 163 | + [ReYunChannel setRegisterWithAccountID:[reportInfo playerId]];//reyun reg |
| 164 | + [DCTrackingPoint createAccount:[reportInfo playerId]];//reyun reg | ||
| 156 | } | 165 | } |
| 157 | } | 166 | } |
| 158 | } | 167 | } |
| ... | @@ -220,33 +229,28 @@ int mExchange; | ... | @@ -220,33 +229,28 @@ int mExchange; |
| 220 | NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange); | 229 | NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange); |
| 221 | NSString *serverId = [payInfo serverId]; | 230 | NSString *serverId = [payInfo serverId]; |
| 222 | NSString *roleName = [payInfo playerName]; | 231 | NSString *roleName = [payInfo playerName]; |
| 223 | - NSString *queryId = [payInfo queryId]; | ||
| 224 | 232 | ||
| 225 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ | 233 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ |
| 226 | [self handlerLeakOrder]; | 234 | [self handlerLeakOrder]; |
| 227 | }); | 235 | }); |
| 228 | 236 | ||
| 229 | - NSString *isOpenThirdPay = [payInfo isOpenThirdPay]; | 237 | + //NSString *isOpenThirdPay = [payInfo isOpenThirdPay]; |
| 230 | - NSLog(@"custom%@",[payInfo custom]); | 238 | + |
| 231 | - if([isOpenThirdPay isEqualToString:@"false"]){ | 239 | + NSString *other = [payInfo other]; |
| 232 | - NSString* products = [payInfo products]; | 240 | + |
| 233 | - //NSLog(@"products:%@",products); | 241 | + if (other && [other length] > 0) { |
| 234 | - [[YouaiSDKMgr getInstance] openApplePay:self.controller products:products amount:[payInfo postAmount] queryId:queryId]; | ||
| 235 | - }else{ | ||
| 236 | [[YouaiSDKMgr getInstance] openPay:serverId :roleName :amount :[payInfo queryId] :self.controller]; | 242 | [[YouaiSDKMgr getInstance] openPay:serverId :roleName :amount :[payInfo queryId] :self.controller]; |
| 243 | + }else{ | ||
| 244 | + NSString* products = [payInfo products]; | ||
| 245 | + [[YouaiSDKMgr getInstance] openApplePay:self.controller products:products amount:[payInfo postAmount] productName:[payInfo productName] queryId:[payInfo queryId]]; | ||
| 237 | } | 246 | } |
| 238 | - | ||
| 239 | - int64_t delayInSeconds = 5.0; // 延迟的时间 | ||
| 240 | - dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC); | ||
| 241 | - dispatch_after(popTime, dispatch_get_main_queue(), ^(void){ | ||
| 242 | - NSLog(@"chage state"); | ||
| 243 | - [[PoolChecker getInstance] setOnlyOneTimePay:false]; | ||
| 244 | - }); | ||
| 245 | } | 247 | } |
| 246 | 248 | ||
| 249 | + | ||
| 247 | -(void)paymentSuccess:(NSString *)accountId orderId:(NSString *)orderId currencyAmount:(double)amount currencyType:(NSString *)currencyType payType:(NSString *)payType custom:(NSArray *)customArray | 250 | -(void)paymentSuccess:(NSString *)accountId orderId:(NSString *)orderId currencyAmount:(double)amount currencyType:(NSString *)currencyType payType:(NSString *)payType custom:(NSArray *)customArray |
| 248 | { | 251 | { |
| 249 | - [TrackingIO setPayment:orderId paymentType:payType currentType:currencyType currencyAmount:amount]; | 252 | + [DCTrackingPoint paymentSuccess:orderId currencyAmount:amount currencyType:currencyType paymentType:payType]; |
| 253 | + [ReYunChannel setPayment:orderId paymentType:payType currentType:currencyType currencyAmount:amount]; | ||
| 250 | } | 254 | } |
| 251 | 255 | ||
| 252 | @end | 256 | @end |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
No preview for this file type
No preview for this file type
| 1 | -{"renyunAppKey": "1", "payorderurl": "https://public.sdk.gzyouai.com/paycheck/create", "usertype": 150, "sdkSimpleName": "apple_youyu", "gamechannelid": "", "APP_KEY": "b06b86b79c25774ec758657a7203bae6", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "https://public.sdk.gzyouai.com/logincheck/check", "appScheme": "com.qyj.ios.xw", "c2": "", "c1": "", "APP_ID": "58fd78a9834e7246b8dc0eac", "paycheckurl": "https://public.sdk.gzyouai.com/paycheck/confirm", "gameSimpleName": "fytx_test"} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +{"renyunAppKey": "d4f6d8e337472e5277634bcdb1ef6cf6", "dateEyeAppId": "", "payorderurl": "https://public.sdk.gzyouai.com/paycheck/create", "usertype": 139, "sdkSimpleName": "apple_xingwan", "gamechannelid": "", "APP_KEY": "f0455d5b7f2e982144b2ac8bc642e453", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "https://public.sdk.gzyouai.com/logincheck/check", "appScheme": "com.ssmyj.ios.xw", "c2": "", "c1": "", "APP_ID": "5936756454c21d629d0c2755", "paycheckurl": "https://public.sdk.gzyouai.com/paycheck/confirm", "gameSimpleName": "qyj4"} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
No preview for this file type
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleDevelopmentRegion</key> | ||
| 6 | + <string>en</string> | ||
| 7 | + <key>CFBundleExecutable</key> | ||
| 8 | + <string>$(EXECUTABLE_NAME)</string> | ||
| 9 | + <key>CFBundleIdentifier</key> | ||
| 10 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| 11 | + <key>CFBundleInfoDictionaryVersion</key> | ||
| 12 | + <string>6.0</string> | ||
| 13 | + <key>CFBundleName</key> | ||
| 14 | + <string>$(PRODUCT_NAME)</string> | ||
| 15 | + <key>CFBundlePackageType</key> | ||
| 16 | + <string>APPL</string> | ||
| 17 | + <key>CFBundleShortVersionString</key> | ||
| 18 | + <string>1.0</string> | ||
| 19 | + <key>CFBundleSignature</key> | ||
| 20 | + <string>????</string> | ||
| 21 | + <key>CFBundleURLTypes</key> | ||
| 22 | + <array> | ||
| 23 | + <dict> | ||
| 24 | + <key>CFBundleTypeRole</key> | ||
| 25 | + <string>Editor</string> | ||
| 26 | + <key>CFBundleURLSchemes</key> | ||
| 27 | + <array> | ||
| 28 | + <string>i9133public</string> | ||
| 29 | + </array> | ||
| 30 | + </dict> | ||
| 31 | + <dict> | ||
| 32 | + <key>CFBundleTypeRole</key> | ||
| 33 | + <string>Editor</string> | ||
| 34 | + <key>CFBundleURLSchemes</key> | ||
| 35 | + <array> | ||
| 36 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| 37 | + </array> | ||
| 38 | + </dict> | ||
| 39 | + </array> | ||
| 40 | + <key>CFBundleVersion</key> | ||
| 41 | + <string>1</string> | ||
| 42 | + <key>LSRequiresIPhoneOS</key> | ||
| 43 | + <true/> | ||
| 44 | + <key>NSAppTransportSecurity</key> | ||
| 45 | + <dict> | ||
| 46 | + <key>NSAllowsArbitraryLoads</key> | ||
| 47 | + <true/> | ||
| 48 | + <key>public.sdk.gzyouai.com</key> | ||
| 49 | + <dict> | ||
| 50 | + <key>NSExceptionMinimumTLSVersion</key> | ||
| 51 | + <string>TLSv1.0</string> | ||
| 52 | + </dict> | ||
| 53 | + <key>sdk.shxingwan.com</key> | ||
| 54 | + <dict> | ||
| 55 | + <key>NSExceptionMinimumTLSVersion</key> | ||
| 56 | + <string>TLSv1.0</string> | ||
| 57 | + </dict> | ||
| 58 | + <key>statistic.public.sdk.gzyouai.com</key> | ||
| 59 | + <dict> | ||
| 60 | + <key>NSExceptionMinimumTLSVersion</key> | ||
| 61 | + <string>TLSv1.0</string> | ||
| 62 | + </dict> | ||
| 63 | + </dict> | ||
| 64 | + <key>UILaunchStoryboardName</key> | ||
| 65 | + <string>LaunchScreen</string> | ||
| 66 | + <key>UIMainStoryboardFile</key> | ||
| 67 | + <string>Main</string> | ||
| 68 | + <key>UIRequiredDeviceCapabilities</key> | ||
| 69 | + <array> | ||
| 70 | + <string>armv7</string> | ||
| 71 | + </array> | ||
| 72 | + <key>UISupportedInterfaceOrientations</key> | ||
| 73 | + <array> | ||
| 74 | + <string>UIInterfaceOrientationLandscapeLeft</string> | ||
| 75 | + <string>UIInterfaceOrientationLandscapeRight</string> | ||
| 76 | + </array> | ||
| 77 | +</dict> | ||
| 78 | +</plist> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | ||
| 3 | +<plist version="1.0"> | ||
| 4 | +<dict> | ||
| 5 | + <key>CFBundleURLTypes</key> | ||
| 6 | + <array> | ||
| 7 | + <dict> | ||
| 8 | + <key>CFBundleTypeRole</key> | ||
| 9 | + <string>Editor</string> | ||
| 10 | + <key>CFBundleURLSchemes</key> | ||
| 11 | + <array> | ||
| 12 | + <string>i9133public</string> | ||
| 13 | + </array> | ||
| 14 | + </dict> | ||
| 15 | + <dict> | ||
| 16 | + <key>CFBundleTypeRole</key> | ||
| 17 | + <string>Editor</string> | ||
| 18 | + <key>CFBundleURLSchemes</key> | ||
| 19 | + <array> | ||
| 20 | + <string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> | ||
| 21 | + </array> | ||
| 22 | + </dict> | ||
| 23 | + </array> | ||
| 24 | + <key>NSAppTransportSecurity</key> | ||
| 25 | + <dict> | ||
| 26 | + <key>NSAllowsArbitraryLoads</key> | ||
| 27 | + <true/> | ||
| 28 | + <key>public.sdk.gzyouai.com</key> | ||
| 29 | + <dict> | ||
| 30 | + <key>NSExceptionMinimumTLSVersion</key> | ||
| 31 | + <string>TLSv1.0</string> | ||
| 32 | + </dict> | ||
| 33 | + <key>sdk.shxingwan.com</key> | ||
| 34 | + <dict> | ||
| 35 | + <key>NSExceptionMinimumTLSVersion</key> | ||
| 36 | + <string>TLSv1.0</string> | ||
| 37 | + </dict> | ||
| 38 | + <key>statistic.public.sdk.gzyouai.com</key> | ||
| 39 | + <dict> | ||
| 40 | + <key>NSExceptionMinimumTLSVersion</key> | ||
| 41 | + <string>TLSv1.0</string> | ||
| 42 | + </dict> | ||
| 43 | + </dict> | ||
| 44 | +</dict> | ||
| 45 | +</plist> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
No preview for this file type
| 1 | +// | ||
| 2 | +// DCSdk.h | ||
| 3 | +// DCSdk | ||
| 4 | +// | ||
| 5 | +// Created by xqwang on 13-7-8. | ||
| 6 | +// Copyright (c) 2013年 digitcube. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +//这里提供静态方法 | ||
| 12 | +@interface DCTrackingAgent : NSObject | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * @brief 初始化接口,程序启动时调用 | ||
| 16 | + * | ||
| 17 | + * 一般在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions内调用一次即可 | ||
| 18 | + * !!!一定要调用,否则后面无法上报,只能调用一次 | ||
| 19 | + * @param appId 在我们网站上创建游戏时分配的appId,用于标识这款游戏. 注意保密! | ||
| 20 | + * @param channelId 渠道id , 方便统计分析你在各渠道的推广效果 | ||
| 21 | + */ | ||
| 22 | ++ (void)initWithAppId:(NSString *)appId andChannelId:(NSString*)channelId; | ||
| 23 | + | ||
| 24 | + | ||
| 25 | +/** | ||
| 26 | + * @brief 设置数据上报间隔时间,该接口需要在onStart接口之前调用,否则无效。如果不调用该接口,SDK默认以1分钟的间隔上报数据 | ||
| 27 | + * | ||
| 28 | + **/ | ||
| 29 | ++(void)setUploadInterval:(unsigned int)time; | ||
| 30 | + | ||
| 31 | + | ||
| 32 | +/** | ||
| 33 | + * @brief 设置应用版本号,不调用该接口时SDK默认从配置文件中读取应用版本号 | ||
| 34 | + * | ||
| 35 | + * @param version:应用版本号 | ||
| 36 | + */ | ||
| 37 | ++(void)setVersion:(NSString*)version; | ||
| 38 | + | ||
| 39 | +/** | ||
| 40 | + * @brief 立即上报数据 | ||
| 41 | + **/ | ||
| 42 | ++(void)uploadNow; | ||
| 43 | + | ||
| 44 | +/** | ||
| 45 | + * @brief 获取设备ID | ||
| 46 | + **/ | ||
| 47 | ++(NSString*)getUID; | ||
| 48 | + | ||
| 49 | +@end | ||
| 50 | + | ||
| 51 | + | ||
| 52 | +@interface DCTrackingPoint : NSObject | ||
| 53 | + | ||
| 54 | +/** | ||
| 55 | + @brief 广告效果追踪设置有效的效果点 | ||
| 56 | + @param pointId 广告效果点 | ||
| 57 | + @param propDictionary 触发时希望传入的属性字典 | ||
| 58 | + **/ | ||
| 59 | ++(void)setEffectPoint:(NSString*)pointId propDictionary:(NSDictionary*)dictionary; | ||
| 60 | + | ||
| 61 | +/** | ||
| 62 | + @brief 玩家登陆事件 | ||
| 63 | + @param accountId 玩家账户ID | ||
| 64 | + **/ | ||
| 65 | ++(void)login:(NSString*)accountId; | ||
| 66 | + | ||
| 67 | + | ||
| 68 | +/** | ||
| 69 | + @brief 玩家注册事件 | ||
| 70 | + @param accountId 玩家账户ID | ||
| 71 | + **/ | ||
| 72 | ++(void)createAccount:(NSString*)accountId; | ||
| 73 | + | ||
| 74 | +/** | ||
| 75 | + @brief 玩家付费事件 | ||
| 76 | + @param orderId 订单ID | ||
| 77 | + @param currencyAmount 付费总额 | ||
| 78 | + @param currencyType 货币类型 | ||
| 79 | + @param paymentType 支付途径 | ||
| 80 | + **/ | ||
| 81 | ++(void)paymentSuccess:(NSString*)orderId currencyAmount:(double)currencyAmount currencyType:(NSString*)currencyType paymentType:(NSString*)paymentType; | ||
| 82 | + | ||
| 83 | +@end |
No preview for this file type
poolsdk_file/poolsdk/TrackingIO.h
→
PoolSdk_Demo/poolsdk_file/poolsdk_xingwan_login/SDK/ReYunTrack.h
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | // Created by yun on 16/1/11. | 5 | // Created by yun on 16/1/11. |
| 6 | // Copyright © 2016年 yun. All rights reserved. | 6 | // Copyright © 2016年 yun. All rights reserved. |
| 7 | // | 7 | // |
| 8 | -#define TRACK_VERSION @"1.0.1" | 8 | +#define TRACK_VERSION @"3.0.1" |
| 9 | 9 | ||
| 10 | #import <Foundation/Foundation.h> | 10 | #import <Foundation/Foundation.h> |
| 11 | #import <UIKit/UIKit.h> | 11 | #import <UIKit/UIKit.h> |
| ... | @@ -15,7 +15,7 @@ | ... | @@ -15,7 +15,7 @@ |
| 15 | 热云移动广告效果监测 平台 api 请选择对应的api进行使用 | 15 | 热云移动广告效果监测 平台 api 请选择对应的api进行使用 |
| 16 | */ | 16 | */ |
| 17 | NS_ASSUME_NONNULL_BEGIN | 17 | NS_ASSUME_NONNULL_BEGIN |
| 18 | -@interface TrackingIO : NSObject | 18 | +@interface ReYunChannel : NSObject |
| 19 | //开启打印日志 正式上线包请关掉 | 19 | //开启打印日志 正式上线包请关掉 |
| 20 | +(void) setPrintLog :(BOOL)print; | 20 | +(void) setPrintLog :(BOOL)print; |
| 21 | // 开启数据统计 | 21 | // 开启数据统计 |
| ... | @@ -29,10 +29,10 @@ NS_ASSUME_NONNULL_BEGIN | ... | @@ -29,10 +29,10 @@ NS_ASSUME_NONNULL_BEGIN |
| 29 | // 支付完成,付费分析,记录玩家充值的金额(人民币单位是元) | 29 | // 支付完成,付费分析,记录玩家充值的金额(人民币单位是元) |
| 30 | +(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount; | 30 | +(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount; |
| 31 | //自定义事件 | 31 | //自定义事件 |
| 32 | -+(void)setEvent:(NSString *)eventName andExtra:(nullable NSDictionary *)extra; | 32 | ++(void)setEvent:(NSString *)eventName; |
| 33 | -//标准接口 | ||
| 34 | -+(void)setProfile:(NSDictionary *)dataDic; | ||
| 35 | //获取设备信息 | 33 | //获取设备信息 |
| 36 | +(NSString*)getDeviceId; | 34 | +(NSString*)getDeviceId; |
| 35 | + | ||
| 36 | ++(BOOL)RYApplication:(UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<NSString *,id> *)options; | ||
| 37 | @end | 37 | @end |
| 38 | -NS_ASSUME_NONNULL_END | 38 | +NS_ASSUME_NONNULL_END |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | +// | ||
| 2 | +// UnionInterface.m | ||
| 3 | +// PoolSdk | ||
| 4 | +// | ||
| 5 | +// Created by winFan on 11/23/15. | ||
| 6 | +// Copyright (c) 2015 winFan. All rights reserved. | ||
| 7 | +// | ||
| 8 | +#include "SDKInterface.h" | ||
| 9 | +#import <UIKit/UIKit.h> | ||
| 10 | + | ||
| 11 | +#import "YouaiSDK/YouaiSDKMgr.h" | ||
| 12 | +#import "YouaiSDK/YouaiNotifications.h" | ||
| 13 | +#import "YouaiSDK/YouaiLoginInfo.h" | ||
| 14 | + | ||
| 15 | +//SDK | ||
| 16 | + | ||
| 17 | + | ||
| 18 | +@implementation SDKInterface : Interface | ||
| 19 | + | ||
| 20 | + | ||
| 21 | +int mExchange; | ||
| 22 | + | ||
| 23 | + | ||
| 24 | +/** | ||
| 25 | + 初始化SDK | ||
| 26 | +*/ | ||
| 27 | +- (void)SDKinit:(UIViewController *) control | ||
| 28 | +{ | ||
| 29 | + //必须继承 | ||
| 30 | + [super SDKinit:control]; | ||
| 31 | + | ||
| 32 | + [PoolConfig getInstance]; | ||
| 33 | + [[YouaiSDKMgr getInstance]initSDK]; | ||
| 34 | + [[YouaiSDKMgr getInstance]setStyleName:@"sdk"]; | ||
| 35 | + [[YouaiSDKMgr getInstance]setServerUrl:@"https://sdk.shxingwan.com"]; | ||
| 36 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:youaiLoginNotification object:nil]; | ||
| 37 | + [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applePayCallBack:) name:@"applePayCallBack" object:nil]; | ||
| 38 | + | ||
| 39 | + [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; | ||
| 40 | +} | ||
| 41 | + | ||
| 42 | +/** | ||
| 43 | + 登录SDK | ||
| 44 | + */ | ||
| 45 | +- (void)SDKloginSDK | ||
| 46 | +{ | ||
| 47 | + NSLog(@"no parames login"); | ||
| 48 | + [self SDKloginSDK:self.controller]; | ||
| 49 | +} | ||
| 50 | + | ||
| 51 | +- (void)SDKloginSDK:(UIViewController *)control | ||
| 52 | +{ | ||
| 53 | + NSLog(@"调用了LoginSDK"); | ||
| 54 | + NSString *appId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | ||
| 55 | + NSString *appKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | ||
| 56 | + [[YouaiSDKMgr getInstance]openLogin:appId :appKey :control]; | ||
| 57 | +} | ||
| 58 | + | ||
| 59 | + | ||
| 60 | + | ||
| 61 | +/** | ||
| 62 | + loginCheck | ||
| 63 | + */ | ||
| 64 | +- (void)receiveLoginMessage:(NSNotification *)notification | ||
| 65 | +{ | ||
| 66 | + NSLog(@"loginchek"); | ||
| 67 | + PoolLoginInfo *loginInfo = [PoolLoginInfo alloc]; | ||
| 68 | + loginInfo.openId = [[YouaiLoginInfo getInstance]openId]; | ||
| 69 | + loginInfo.sign = [[YouaiLoginInfo getInstance] token]; | ||
| 70 | + loginInfo.timestamp = [YouaiLoginInfo getInstance].timestamp; | ||
| 71 | + dispatch_async(dispatch_get_global_queue(0, 0), ^{ | ||
| 72 | + [[PoolChecker getInstance] startCheck:loginInfo]; | ||
| 73 | + }); | ||
| 74 | +} | ||
| 75 | + | ||
| 76 | + | ||
| 77 | +-(NSString*)DataTojsonString:(id)object | ||
| 78 | +{ | ||
| 79 | + NSString *jsonString = nil; | ||
| 80 | + NSError *error; | ||
| 81 | + NSData *jsonData = [NSJSONSerialization dataWithJSONObject:object | ||
| 82 | + options:NSJSONWritingPrettyPrinted // Pass 0 if you don't care about the readability of the generated string | ||
| 83 | + error:&error]; | ||
| 84 | + jsonString = [jsonData base64EncodedStringWithOptions:NSDataBase64Encoding64CharacterLineLength]; | ||
| 85 | + return jsonString; | ||
| 86 | +} | ||
| 87 | + | ||
| 88 | +/** | ||
| 89 | + 苹果支付结果回调 | ||
| 90 | + */ | ||
| 91 | + | ||
| 92 | +- (void)applePayCallBack:(NSNotification *)notification | ||
| 93 | +{ | ||
| 94 | + NSDictionary* payResultDic = notification.object; | ||
| 95 | + | ||
| 96 | + NSString* receiptStr = [payResultDic objectForKey:@"payResult"]; | ||
| 97 | + NSString* queryId = [payResultDic objectForKey:@"query_id"]; | ||
| 98 | + | ||
| 99 | + NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; | ||
| 100 | + NSString* result = [[NetCenter getInstance] httpPostSyn:[PoolUtils createPayUrl] :receiptDic]; | ||
| 101 | + | ||
| 102 | + | ||
| 103 | + if([@"success" isEqualToString:result]){//确认订单成功 | ||
| 104 | + }else{//失败 | ||
| 105 | + NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults]; | ||
| 106 | + NSMutableArray* queryIdArray = [userDefaults objectForKey:@"queryIds"]; | ||
| 107 | + | ||
| 108 | + NSMutableArray* tempQueryIdArray = [[NSMutableArray alloc] initWithCapacity:10]; | ||
| 109 | + | ||
| 110 | + if (queryIdArray) { | ||
| 111 | + }else{ | ||
| 112 | + queryIdArray = [[NSMutableArray alloc]initWithCapacity:10]; | ||
| 113 | + } | ||
| 114 | + | ||
| 115 | + for (NSString* arrayQueryId in queryIdArray) { | ||
| 116 | + [tempQueryIdArray addObject:arrayQueryId]; | ||
| 117 | + } | ||
| 118 | + | ||
| 119 | + [tempQueryIdArray addObject:queryId]; | ||
| 120 | + [userDefaults setObject:tempQueryIdArray forKey:@"queryIds"]; | ||
| 121 | + [userDefaults setObject:receiptStr forKey:queryId]; | ||
| 122 | + [userDefaults synchronize]; | ||
| 123 | + } | ||
| 124 | +} | ||
| 125 | + | ||
| 126 | +/** | ||
| 127 | + 支付 创建订单 | ||
| 128 | + */ | ||
| 129 | +- (void)SDKpayWithPaymentInfo:(PoolCreateOrderInfo *)payInfo | ||
| 130 | +{ | ||
| 131 | + mExchange = [payInfo exchange].intValue; | ||
| 132 | + [super SDKpayWithPaymentInfo:payInfo]; | ||
| 133 | +} | ||
| 134 | + | ||
| 135 | +/** | ||
| 136 | + SDK | ||
| 137 | + */ | ||
| 138 | +- (void)SDKgotoUserCenter | ||
| 139 | +{ | ||
| 140 | +} | ||
| 141 | + | ||
| 142 | +- (void)SDKreport:(PoolReportInfo *)reportInfo | ||
| 143 | +{ | ||
| 144 | + NSLog(@"reportInfo"); | ||
| 145 | + NSString* reportType = [reportInfo reportType]; | ||
| 146 | + if (reportInfo) { | ||
| 147 | + if ([reportType isEqualToString:REPORT_ENTER]) { | ||
| 148 | + dispatch_async(dispatch_get_global_queue(0, 0), ^{ | ||
| 149 | + [self handlerLeakOrder]; | ||
| 150 | + }); | ||
| 151 | + } | ||
| 152 | + } | ||
| 153 | +} | ||
| 154 | + | ||
| 155 | +/** | ||
| 156 | + SDK | ||
| 157 | + */ | ||
| 158 | +- (void)SDKexitSDK | ||
| 159 | +{ | ||
| 160 | + | ||
| 161 | +} | ||
| 162 | + | ||
| 163 | +- (void)SDKlogoutSDK | ||
| 164 | +{ | ||
| 165 | + NSLog(@"切换账号"); | ||
| 166 | +} | ||
| 167 | + | ||
| 168 | +- (void)handleOpenurl:(NSURL *)url | ||
| 169 | +{ | ||
| 170 | +} | ||
| 171 | + | ||
| 172 | +- (void)receivePayMessage : (NSNotification *)notification; | ||
| 173 | +{ | ||
| 174 | + NSString *order_id = [notification object]; | ||
| 175 | + NSLog(@"订单ID:%@", order_id); | ||
| 176 | +} | ||
| 177 | + | ||
| 178 | +//补单处理 | ||
| 179 | +- (void) handlerLeakOrder{ | ||
| 180 | + NSUserDefaults* userDefaults2 = [NSUserDefaults standardUserDefaults]; | ||
| 181 | + NSMutableArray* queryIdArray = [userDefaults2 objectForKey:@"queryIds"]; | ||
| 182 | + | ||
| 183 | + NSLog(@"orderDic%@",queryIdArray); | ||
| 184 | + NSUserDefaults* userDefaults = [NSUserDefaults standardUserDefaults]; | ||
| 185 | + NSMutableArray* failQueryIdArray = [[NSMutableArray alloc]initWithCapacity:10];//补单失败的queryid集合 | ||
| 186 | + | ||
| 187 | + if(queryIdArray){ | ||
| 188 | + for (NSString* queryId in queryIdArray) { | ||
| 189 | + NSString* receiptStr = [userDefaults valueForKey:queryId]; | ||
| 190 | + NSDictionary* receiptDic = [NSDictionary dictionaryWithObjectsAndKeys:receiptStr,@"receipt",queryId,@"query_id", nil]; | ||
| 191 | + NSString* result = [[NetCenter getInstance] httpPostSyn:[PoolUtils createPayUrl] :receiptDic]; | ||
| 192 | + if([@"success" isEqualToString:result]){//成功 | ||
| 193 | + [userDefaults removeObjectForKey:queryId]; | ||
| 194 | + }else{//补单失败 | ||
| 195 | + [failQueryIdArray addObject:queryId]; | ||
| 196 | + } | ||
| 197 | + } | ||
| 198 | + | ||
| 199 | + NSLog(@"order count:%lu",(unsigned long)[failQueryIdArray count]); | ||
| 200 | + if([failQueryIdArray count] > 0){//含有补单失败项 | ||
| 201 | + [userDefaults setObject:failQueryIdArray forKey:@"queryIds"]; | ||
| 202 | + }else{//全部补单成功 | ||
| 203 | + [userDefaults removeObjectForKey:@"queryIds"]; | ||
| 204 | + } | ||
| 205 | + [userDefaults synchronize]; | ||
| 206 | + } | ||
| 207 | +} | ||
| 208 | + | ||
| 209 | + | ||
| 210 | +- (void)receiveCreateOrder:(NSNotification *)notification | ||
| 211 | +{ | ||
| 212 | + NSLog(@"创建订单成功"); | ||
| 213 | + PoolPayInfo *payInfo = [notification object]; | ||
| 214 | + NSString *queryId = [payInfo queryId]; | ||
| 215 | + | ||
| 216 | + dispatch_async(dispatch_get_global_queue(0, 0), ^{ | ||
| 217 | + [self handlerLeakOrder]; | ||
| 218 | + }); | ||
| 219 | + | ||
| 220 | + NSString* products = [payInfo products]; | ||
| 221 | + [[YouaiSDKMgr getInstance]openApplePay:self.controller products:products amount:[payInfo postAmount] productName:[payInfo productName] queryId:queryId]; | ||
| 222 | + | ||
| 223 | + | ||
| 224 | + int64_t delayInSeconds = 5.0; // 延迟的时间 | ||
| 225 | + dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC); | ||
| 226 | + dispatch_after(popTime, dispatch_get_main_queue(), ^(void){ | ||
| 227 | + NSLog(@"chage state"); | ||
| 228 | + [[PoolChecker getInstance] setOnlyOneTimePay:false]; | ||
| 229 | + }); | ||
| 230 | +} | ||
| 231 | +@end | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
PoolSdk_Demo/poolsdk_file/poolsdk_xingwan_login/SDK/YouaiSDK.framework/Headers/IapController.h
0 → 100644
| 1 | +// | ||
| 2 | +// IapController.h | ||
| 3 | +// mangosanguo | ||
| 4 | +// | ||
| 5 | +// Created by Gino on 12-11-6. | ||
| 6 | +// Copyright (c) 2012年 private. All rights reserved. | ||
| 7 | +// | ||
| 8 | +#if applepay | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | +#import "StoreKit/StoreKit.h" | ||
| 11 | + | ||
| 12 | +@interface IapController : NSObject<SKProductsRequestDelegate,SKPaymentTransactionObserver> | ||
| 13 | +{ | ||
| 14 | + bool isRequestedBuy; | ||
| 15 | + SKPaymentTransaction *PayTransaction; | ||
| 16 | + | ||
| 17 | + NSMutableArray *payArray; | ||
| 18 | + SKPaymentTransaction *curTransaction; | ||
| 19 | +} | ||
| 20 | + | ||
| 21 | ++ (IapController *)sharedController; | ||
| 22 | +- (id)init; | ||
| 23 | +- (void)removeIt; | ||
| 24 | +- (void)requestProductData; | ||
| 25 | +- (void)requestBuyProduct:(NSString *)identifier; | ||
| 26 | + | ||
| 27 | +- (void)requestProductInfoById:(NSString *)str; | ||
| 28 | +- (void)comfireTransactions:(bool)isSuessPosted; | ||
| 29 | +- (void)checkReceiptIsFail; | ||
| 30 | + | ||
| 31 | +- (void)addItemToPayArray:(SKPaymentTransaction *)transaction; | ||
| 32 | +- (bool)checkPayArrayIsEmpty; | ||
| 33 | +- (void)checkReceiptForArray; | ||
| 34 | + | ||
| 35 | +- (void)setAppleCallBack: (NSString*)url; | ||
| 36 | +@end | ||
| 37 | +#endif | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
PoolSdk_Demo/poolsdk_file/poolsdk_xingwan_login/SDK/YouaiSDK.framework/Headers/YouaiLoginInfo.h
0 → 100755
| 1 | +// | ||
| 2 | +// YouaiLoginInfo.h | ||
| 3 | +// YouaiSDK | ||
| 4 | +// | ||
| 5 | +// Created by 莫 东荣 on 13-4-10. | ||
| 6 | +// Copyright (c) 2013年 莫 东荣. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +@interface YouaiLoginInfo : NSObject //用户uid | ||
| 12 | +{ | ||
| 13 | +// | ||
| 14 | +NSString *openId; | ||
| 15 | +//token | ||
| 16 | +NSString *token; | ||
| 17 | +//时间戳 | ||
| 18 | +NSString *timestamp; | ||
| 19 | + | ||
| 20 | +} | ||
| 21 | + | ||
| 22 | +@property(retain,nonatomic) NSString *openId; | ||
| 23 | +@property(retain,nonatomic) NSString *token; | ||
| 24 | +@property(retain,nonatomic) NSString *timestamp; | ||
| 25 | ++ (YouaiLoginInfo *)getInstance; | ||
| 26 | +@end | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
PoolSdk_Demo/poolsdk_file/poolsdk_xingwan_login/SDK/YouaiSDK.framework/Headers/YouaiNotifications.h
0 → 100755
| 1 | +// | ||
| 2 | +// YouaiNotifications.h | ||
| 3 | +// YouaiSDK | ||
| 4 | +// | ||
| 5 | +// Created by 莫 东荣 on 13-4-10. | ||
| 6 | +// Copyright (c) 2013年 莫 东荣. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +extern NSString * const youaiExitNotification; /**< 退出 */ | ||
| 12 | +extern NSString * const youaiLoginNotification; /**< 登录完成的通知*/ | ||
| 13 | +extern NSString * const youaiPaytNotification; /**< 支付通知 */ | ||
| 14 | +extern NSString * const youaiShareNotification; /**< 分享通知 */ | ||
| 15 | +extern NSString * const youaiCenterNotification; /**< 用户中心通知 */ | ||
| 16 | +extern NSString * const youaiErrorNotification; /**< 出错 */ | ||
| 17 | + | ||
| 18 | + | ||
| 19 | +@interface YouaiNotifications : NSObject | ||
| 20 | + | ||
| 21 | +@end |
PoolSdk_Demo/poolsdk_file/poolsdk_xingwan_login/SDK/YouaiSDK.framework/Headers/YouaiSDKMgr.h
0 → 100755
| 1 | +// | ||
| 2 | +// YouaiSDKMgr.h | ||
| 3 | +// YouaiSDK | ||
| 4 | +// | ||
| 5 | +// Created by 莫 东荣 on 13-4-9. | ||
| 6 | +// Copyright (c) 2013年 莫 东荣. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <UIKit/UIKit.h> | ||
| 10 | +#import "StoreKit/StoreKit.h" | ||
| 11 | + | ||
| 12 | +@interface YouaiSDKMgr : NSObject | ||
| 13 | +{ | ||
| 14 | + NSString* appId_; | ||
| 15 | + NSString* appKey_; | ||
| 16 | + | ||
| 17 | + NSString* inviterCode_; | ||
| 18 | + | ||
| 19 | +// NSString* openId; | ||
| 20 | +// NSString* loginKey; | ||
| 21 | +} | ||
| 22 | + | ||
| 23 | +@property bool isApplePaying; | ||
| 24 | + | ||
| 25 | ++ (YouaiSDKMgr *)getInstance; | ||
| 26 | +- (void)initSDK; | ||
| 27 | +- (void)initSDK:(NSString *)weixinId; | ||
| 28 | +- (void)setServerUrl:(NSString *)serverUrl; | ||
| 29 | + | ||
| 30 | +- (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller; | ||
| 31 | +- (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *) inviterCode; | ||
| 32 | +- (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *) inviterCode : (NSString *)userName : (NSString *)passWord; | ||
| 33 | +- (void)setStyleName:(NSString*)styleName; | ||
| 34 | +- (void)openLogin:(NSString *)appId : (NSString *)appKey : (UIViewController *)controller : (NSString *)userName : (NSString *)passWord; | ||
| 35 | + | ||
| 36 | +- (void)openCenter: (UIViewController *)controller; | ||
| 37 | +- (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSString *)callBack : (UIViewController *)controller; | ||
| 38 | +- (void)openPay: (NSString *)serverId : (NSString *)nickName : (NSNumber *)payAmount : (NSString *)callBack : (UIViewController *)controller; | ||
| 39 | +- (void)openShare: (UIViewController *)controller; | ||
| 40 | + | ||
| 41 | +- (void)openApplePay:(UIViewController*)controll products:(NSString*)products amount:(NSString*)amount productName:(NSString*)productName queryId:(NSString*) queryId; | ||
| 42 | + | ||
| 43 | +- (void)applePayCallBack:(NSString *)url :(SKPaymentTransaction *)transaction :(NSString *)resultStr; | ||
| 44 | + | ||
| 45 | + | ||
| 46 | + | ||
| 47 | +@end |
PoolSdk_Demo/poolsdk_file/poolsdk_xingwan_login/SDK/YouaiSDK.framework/Headers/YouaiViewController.h
0 → 100644
| 1 | +// | ||
| 2 | +// YouaiViewController.h | ||
| 3 | +// newYouaiSDK | ||
| 4 | +// | ||
| 5 | +// Created by Mog90 on 14-9-28. | ||
| 6 | +// Copyright (c) 2014年 东荣 莫. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <UIKit/UIKit.h> | ||
| 10 | +#import "YouaiLoginInfo.h" | ||
| 11 | + | ||
| 12 | +@interface YouaiViewController : UIViewController<UIWebViewDelegate,UIAlertViewDelegate> | ||
| 13 | +{ | ||
| 14 | + UIWebView *webView_; | ||
| 15 | + UIActivityIndicatorView *activityIndicator; | ||
| 16 | +} | ||
| 17 | + | ||
| 18 | + | ||
| 19 | +//@property(assign) int webViewWidth; | ||
| 20 | +//@property(assign) int webViewHeight; | ||
| 21 | +//@property(assign) int screenwidth; | ||
| 22 | +//@property(assign) int screenHeight; | ||
| 23 | + | ||
| 24 | +@property(assign) BOOL hasCorner; | ||
| 25 | + | ||
| 26 | +-(void)setView:(int)webViewWidth :(int) webViewHeight :(int) screenwidth :(int) screenHeight; | ||
| 27 | +- (void)initWebView; | ||
| 28 | +- (void)loadWebPageWithString:(NSString *)url; | ||
| 29 | +- (void)loadWebPageWithJs:(NSString *)content; | ||
| 30 | +- (void)postNotification:(NSString *)name : (NSString *)code; | ||
| 31 | +- (void)receiveIap:(NSNotification *)notification; | ||
| 32 | + | ||
| 33 | +@end |
No preview for this file type
No preview for this file type
No preview for this file type
| 1 | +{"renyunAppKey": "d4f6d8e337472e5277634bcdb1ef6cf6", "dateEyeAppId": "", "payorderurl": "http://183.57.76.181:9020/paycheck/create", "usertype": 139, "sdkSimpleName": "apple_xingwan", "gamechannelid": "", "APP_KEY": "f0455d5b7f2e982144b2ac8bc642e453", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "http://183.57.76.181:9010/logincheck/check", "appScheme": "com.ssmyj.ios.xw", "c2": "", "c1": "", "APP_ID": "5936756454c21d629d0c2755", "paycheckurl": "http://183.57.76.181:9020/paycheck/confirm", "gameSimpleName": "fytx_test"} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
PoolSdk_Demo/xingwan_login.py
0 → 100755
| 1 | +import shutil | ||
| 2 | +import os | ||
| 3 | +import plistlib | ||
| 4 | + | ||
| 5 | +import config | ||
| 6 | +import json | ||
| 7 | +import packageProj | ||
| 8 | + | ||
| 9 | +from mod_pbxproj import XcodeProject | ||
| 10 | + | ||
| 11 | + | ||
| 12 | +gameProjName = config.gameProjName | ||
| 13 | +channelName = "xingwan_login" | ||
| 14 | +#copy dir xcodeproj | ||
| 15 | +copyNewDirName = gameProjName + '_' + channelName + '.xcodeproj' | ||
| 16 | +currentPath = os.path.abspath('.') | ||
| 17 | +currentPath += '/' + copyNewDirName | ||
| 18 | + | ||
| 19 | + | ||
| 20 | +if os.path.exists(currentPath): | ||
| 21 | + shutil.rmtree(currentPath) | ||
| 22 | + | ||
| 23 | +shutil.copytree(gameProjName + '.xcodeproj',currentPath) | ||
| 24 | + | ||
| 25 | +project = XcodeProject.Load(copyNewDirName + '/project.pbxproj') | ||
| 26 | + | ||
| 27 | +project.add_other_ldflags('-ObjC') | ||
| 28 | +#frameworks = project.add_folder('poolsdk_file/poolsdk_itools') | ||
| 29 | +#print(frameworks); | ||
| 30 | +#add search path | ||
| 31 | + | ||
| 32 | +channelRootPath = config.channelRootPath#'poolsdk_file' | ||
| 33 | + | ||
| 34 | +frameworksPath = '$(PROJECT_DIR)/' + channelRootPath + '/poolsdk_' + channelName + '/SDK' | ||
| 35 | +print(frameworksPath); | ||
| 36 | +#add header search path | ||
| 37 | +project.add_header_search_paths(frameworksPath, recursive=False) | ||
| 38 | +#add framework search path | ||
| 39 | +project.add_framework_search_paths(frameworksPath, recursive=False) | ||
| 40 | +#add library search path | ||
| 41 | +project.add_library_search_paths(frameworksPath, recursive=False) | ||
| 42 | + | ||
| 43 | +#add poolsdk_xy dir all file into project | ||
| 44 | +project.remove_group_by_name('poolsdk') | ||
| 45 | +frameworkRelativePath = project.add_folder(channelRootPath + '/poolsdk_' + channelName + '/SDK') | ||
| 46 | + | ||
| 47 | +project.add_file_if_doesnt_exist('pool_setting',parent=frameworkRelativePath, weak=True,ignore_unknown_type=True) | ||
| 48 | + | ||
| 49 | + | ||
| 50 | +systemFrameworks = project.get_or_create_group('Frameworks') | ||
| 51 | +#add system framework | ||
| 52 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/Security.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 53 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/StoreKit.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 54 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/Foundation.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 55 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/QuartzCore.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 56 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreText.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 57 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreGraphics.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 58 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/UIKit.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 59 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreMotion.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 60 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/CFNetwork.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 61 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreLocation.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 62 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/CoreTelephony.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 63 | +project.add_file_if_doesnt_exist('System/Library/Frameworks/SystemConfiguration.framework',parent=systemFrameworks, weak=True, tree='SDKROOT') | ||
| 64 | + | ||
| 65 | + | ||
| 66 | + | ||
| 67 | +#add system dylib | ||
| 68 | +systemLibs = project.get_or_create_group('Libraries') | ||
| 69 | +project.add_file_if_doesnt_exist('/usr/lib/libsqlite3.dylib',parent=systemLibs, weak=True, tree='<absolute>')#absolute path | ||
| 70 | +project.add_file_if_doesnt_exist('/usr/lib/libz.1.dylib',parent=systemLibs, weak=True, tree='<absolute>') | ||
| 71 | +project.add_file_if_doesnt_exist('/usr/lib/libc++.1.dylib',parent=systemLibs, weak=True, tree='<absolute>') | ||
| 72 | + | ||
| 73 | + | ||
| 74 | +#modify info.plist reference path | ||
| 75 | +project.add_single_valued_flag('INFOPLIST_FILE',channelRootPath + '/poolsdk_' + channelName + '/Info.plist') | ||
| 76 | + | ||
| 77 | +project.add_single_valued_flag('ENABLE_BITCODE', 'NO') | ||
| 78 | + | ||
| 79 | +readInfoPlistFilePath = channelRootPath + '/poolsdk/Info.plist' | ||
| 80 | +writeInfoFilePath = channelRootPath + '/poolsdk_' + channelName + '/Info.plist' | ||
| 81 | +infoContent = plistlib.readPlist(readInfoPlistFilePath) | ||
| 82 | + | ||
| 83 | +xyInfoPath = channelRootPath + '/poolsdk_' + channelName + '/Info_' + channelName + '.plist' | ||
| 84 | +xyInfoContent = plistlib.readPlist(xyInfoPath) | ||
| 85 | + | ||
| 86 | +#read pool_setting file | ||
| 87 | +settingFile = open(channelRootPath + '/poolsdk_' + channelName + '/SDK/pool_setting','rw') | ||
| 88 | +try: | ||
| 89 | + settingFileContent = settingFile.read( ) | ||
| 90 | +finally: | ||
| 91 | + settingFile.close( ) | ||
| 92 | +#json op | ||
| 93 | +jsonStr = json.loads(settingFileContent) | ||
| 94 | + | ||
| 95 | +#modify bundle id | ||
| 96 | +project.add_single_valued_flag('PRODUCT_BUNDLE_IDENTIFIER',jsonStr["appScheme"]) | ||
| 97 | + | ||
| 98 | +#update and add info.plist content | ||
| 99 | +infoContent.update(xyInfoContent) | ||
| 100 | +#write | ||
| 101 | +plistlib.writePlist(infoContent,writeInfoFilePath) | ||
| 102 | + | ||
| 103 | +project.save() | ||
| 104 | + | ||
| 105 | + | ||
| 106 | +packageProj.buildProjName = gameProjName + '_' + channelName | ||
| 107 | +packageProj.targetName = gameProjName | ||
| 108 | +packageProj.buildProj() |
poolsdk_file/poolsdk/DCTrackingAgent.h
0 → 100755
| 1 | +// | ||
| 2 | +// DCSdk.h | ||
| 3 | +// DCSdk | ||
| 4 | +// | ||
| 5 | +// Created by xqwang on 13-7-8. | ||
| 6 | +// Copyright (c) 2013年 digitcube. All rights reserved. | ||
| 7 | +// | ||
| 8 | + | ||
| 9 | +#import <Foundation/Foundation.h> | ||
| 10 | + | ||
| 11 | +//这里提供静态方法 | ||
| 12 | +@interface DCTrackingAgent : NSObject | ||
| 13 | + | ||
| 14 | +/** | ||
| 15 | + * @brief 初始化接口,程序启动时调用 | ||
| 16 | + * | ||
| 17 | + * 一般在- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions内调用一次即可 | ||
| 18 | + * !!!一定要调用,否则后面无法上报,只能调用一次 | ||
| 19 | + * @param appId 在我们网站上创建游戏时分配的appId,用于标识这款游戏. 注意保密! | ||
| 20 | + * @param channelId 渠道id , 方便统计分析你在各渠道的推广效果 | ||
| 21 | + */ | ||
| 22 | ++ (void)initWithAppId:(NSString *)appId andChannelId:(NSString*)channelId; | ||
| 23 | + | ||
| 24 | + | ||
| 25 | +/** | ||
| 26 | + * @brief 设置数据上报间隔时间,该接口需要在onStart接口之前调用,否则无效。如果不调用该接口,SDK默认以1分钟的间隔上报数据 | ||
| 27 | + * | ||
| 28 | + **/ | ||
| 29 | ++(void)setUploadInterval:(unsigned int)time; | ||
| 30 | + | ||
| 31 | + | ||
| 32 | +/** | ||
| 33 | + * @brief 设置应用版本号,不调用该接口时SDK默认从配置文件中读取应用版本号 | ||
| 34 | + * | ||
| 35 | + * @param version:应用版本号 | ||
| 36 | + */ | ||
| 37 | ++(void)setVersion:(NSString*)version; | ||
| 38 | + | ||
| 39 | +/** | ||
| 40 | + * @brief 立即上报数据 | ||
| 41 | + **/ | ||
| 42 | ++(void)uploadNow; | ||
| 43 | + | ||
| 44 | +/** | ||
| 45 | + * @brief 获取设备ID | ||
| 46 | + **/ | ||
| 47 | ++(NSString*)getUID; | ||
| 48 | + | ||
| 49 | +@end | ||
| 50 | + | ||
| 51 | + | ||
| 52 | +@interface DCTrackingPoint : NSObject | ||
| 53 | + | ||
| 54 | +/** | ||
| 55 | + @brief 广告效果追踪设置有效的效果点 | ||
| 56 | + @param pointId 广告效果点 | ||
| 57 | + @param propDictionary 触发时希望传入的属性字典 | ||
| 58 | + **/ | ||
| 59 | ++(void)setEffectPoint:(NSString*)pointId propDictionary:(NSDictionary*)dictionary; | ||
| 60 | + | ||
| 61 | +/** | ||
| 62 | + @brief 玩家登陆事件 | ||
| 63 | + @param accountId 玩家账户ID | ||
| 64 | + **/ | ||
| 65 | ++(void)login:(NSString*)accountId; | ||
| 66 | + | ||
| 67 | + | ||
| 68 | +/** | ||
| 69 | + @brief 玩家注册事件 | ||
| 70 | + @param accountId 玩家账户ID | ||
| 71 | + **/ | ||
| 72 | ++(void)createAccount:(NSString*)accountId; | ||
| 73 | + | ||
| 74 | +/** | ||
| 75 | + @brief 玩家付费事件 | ||
| 76 | + @param orderId 订单ID | ||
| 77 | + @param currencyAmount 付费总额 | ||
| 78 | + @param currencyType 货币类型 | ||
| 79 | + @param paymentType 支付途径 | ||
| 80 | + **/ | ||
| 81 | ++(void)paymentSuccess:(NSString*)orderId currencyAmount:(double)currencyAmount currencyType:(NSString*)currencyType paymentType:(NSString*)paymentType; | ||
| 82 | + | ||
| 83 | +@end |
poolsdk_file/poolsdk/ReYunTrack.a
0 → 100755
No preview for this file type
poolsdk_file/poolsdk/ReYunTrack.h
0 → 100755
| 1 | +// | ||
| 2 | +// NewTtack.h | ||
| 3 | +// NewTtack | ||
| 4 | +// | ||
| 5 | +// Created by yun on 16/1/11. | ||
| 6 | +// Copyright © 2016年 yun. All rights reserved. | ||
| 7 | +// | ||
| 8 | +#define TRACK_VERSION @"3.0.1" | ||
| 9 | + | ||
| 10 | +#import <Foundation/Foundation.h> | ||
| 11 | +#import <UIKit/UIKit.h> | ||
| 12 | + | ||
| 13 | + | ||
| 14 | +/* | ||
| 15 | + 热云移动广告效果监测 平台 api 请选择对应的api进行使用 | ||
| 16 | + */ | ||
| 17 | +NS_ASSUME_NONNULL_BEGIN | ||
| 18 | +@interface ReYunChannel : NSObject | ||
| 19 | +//开启打印日志 正式上线包请关掉 | ||
| 20 | ++(void) setPrintLog :(BOOL)print; | ||
| 21 | +// 开启数据统计 | ||
| 22 | ++ (void)initWithappKey:(NSString *)appKey withChannelId:(NSString *)channelId; | ||
| 23 | +//注册成功后调用 | ||
| 24 | ++ (void)setRegisterWithAccountID:(NSString *)account; | ||
| 25 | +//登陆成功后调用 | ||
| 26 | ++ (void)setLoginWithAccountID:(NSString *)account; | ||
| 27 | +//开始付费时 调用(人民币单位是元) | ||
| 28 | ++(void)setPaymentStart:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount; | ||
| 29 | +// 支付完成,付费分析,记录玩家充值的金额(人民币单位是元) | ||
| 30 | ++(void)setPayment:(NSString *)transactionId paymentType:(NSString*)paymentType currentType:(NSString*)currencyType currencyAmount:(float)currencyAmount; | ||
| 31 | +//自定义事件 | ||
| 32 | ++(void)setEvent:(NSString *)eventName; | ||
| 33 | +//获取设备信息 | ||
| 34 | ++(NSString*)getDeviceId; | ||
| 35 | + | ||
| 36 | ++(BOOL)RYApplication:(UIApplication *)application openURL:(nonnull NSURL *)url options:(nonnull NSDictionary<NSString *,id> *)options; | ||
| 37 | +@end | ||
| 38 | +NS_ASSUME_NONNULL_END | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -11,7 +11,8 @@ | ... | @@ -11,7 +11,8 @@ |
| 11 | #import "YouaiSDK/YouaiSDKMgr.h" | 11 | #import "YouaiSDK/YouaiSDKMgr.h" |
| 12 | #import "YouaiSDK/YouaiNotifications.h" | 12 | #import "YouaiSDK/YouaiNotifications.h" |
| 13 | #import "YouaiSDK/YouaiLoginInfo.h" | 13 | #import "YouaiSDK/YouaiLoginInfo.h" |
| 14 | -#import "TrackingIO.h" | 14 | +#import "ReYunTrack.h" |
| 15 | +#import "DCTrackingAgent.h" | ||
| 15 | 16 | ||
| 16 | //SDK | 17 | //SDK |
| 17 | 18 | ||
| ... | @@ -31,18 +32,23 @@ int mExchange; | ... | @@ -31,18 +32,23 @@ int mExchange; |
| 31 | [super SDKinit:control]; | 32 | [super SDKinit:control]; |
| 32 | 33 | ||
| 33 | [PoolConfig getInstance]; | 34 | [PoolConfig getInstance]; |
| 35 | + | ||
| 34 | [[YouaiSDKMgr getInstance]initSDK]; | 36 | [[YouaiSDKMgr getInstance]initSDK]; |
| 35 | [[YouaiSDKMgr getInstance]setStyleName:@"sdk"]; | 37 | [[YouaiSDKMgr getInstance]setStyleName:@"sdk"]; |
| 38 | + [[YouaiSDKMgr getInstance]setServerUrl:@"https://sdk.shxingwan.com"]; | ||
| 39 | + | ||
| 36 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:youaiLoginNotification object:nil]; | 40 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(receiveLoginMessage:) name:youaiLoginNotification object:nil]; |
| 37 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applePayCallBack:) name:@"applePayCallBack" object:nil]; | 41 | [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(applePayCallBack:) name:@"applePayCallBack" object:nil]; |
| 38 | 42 | ||
| 39 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; | 43 | [[PoolChecker getInstance] sendNotice:PoolSDKNotificationInitSDK notiName:@"InitSuccess" statusCode:POOLSDK_NO_ERROR description:@"initSuccess" extendData:nil]; |
| 40 | 44 | ||
| 41 | - NSString* channelId = [[PoolConfig getInstance] getValueByKey:@"gamechannelid"]; | 45 | + |
| 42 | - if(channelId == nil || [channelId length] <= 0){ | 46 | + NSString* channelId = [[PoolConfig getInstance] getValueByKey:@"sdkSimpleName"]; |
| 43 | - channelId = @"unknown"; | 47 | + [ReYunChannel initWithappKey:[[PoolConfig getInstance] getValueByKey:@"renyunAppKey"] withChannelId:channelId]; |
| 44 | - } | 48 | + |
| 45 | - [TrackingIO initWithappKey:[[PoolConfig getInstance] getValueByKey:@"renyunAppKey"] withChannelId:channelId]; | 49 | + NSString* dateEyeAppId = [[PoolConfig getInstance] getValueByKey:@"dateEyeAppId"]; |
| 50 | + | ||
| 51 | + [DCTrackingAgent initWithAppId:dateEyeAppId andChannelId:channelId]; | ||
| 46 | } | 52 | } |
| 47 | 53 | ||
| 48 | /** | 54 | /** |
| ... | @@ -50,11 +56,16 @@ int mExchange; | ... | @@ -50,11 +56,16 @@ int mExchange; |
| 50 | */ | 56 | */ |
| 51 | - (void)SDKloginSDK | 57 | - (void)SDKloginSDK |
| 52 | { | 58 | { |
| 59 | + NSLog(@"no parames login"); | ||
| 60 | + [self SDKloginSDK:self.controller]; | ||
| 61 | +} | ||
| 62 | + | ||
| 63 | +- (void)SDKloginSDK:(UIViewController *)control | ||
| 64 | +{ | ||
| 53 | NSLog(@"调用了LoginSDK"); | 65 | NSLog(@"调用了LoginSDK"); |
| 54 | NSString *appId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; | 66 | NSString *appId = [[PoolConfig getInstance] getValueByKey:@"APP_ID"]; |
| 55 | NSString *appKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; | 67 | NSString *appKey =[[PoolConfig getInstance] getValueByKey:@"APP_KEY"]; |
| 56 | - [[YouaiSDKMgr getInstance]openLogin:appId :appKey :self.controller]; | 68 | + [[YouaiSDKMgr getInstance]openLogin:appId :appKey :control]; |
| 57 | - | ||
| 58 | } | 69 | } |
| 59 | 70 | ||
| 60 | /** | 71 | /** |
| ... | @@ -67,11 +78,7 @@ int mExchange; | ... | @@ -67,11 +78,7 @@ int mExchange; |
| 67 | loginInfo.openId = [[YouaiLoginInfo getInstance]openId]; | 78 | loginInfo.openId = [[YouaiLoginInfo getInstance]openId]; |
| 68 | loginInfo.sign = [[YouaiLoginInfo getInstance] token]; | 79 | loginInfo.sign = [[YouaiLoginInfo getInstance] token]; |
| 69 | loginInfo.timestamp = [YouaiLoginInfo getInstance].timestamp; | 80 | loginInfo.timestamp = [YouaiLoginInfo getInstance].timestamp; |
| 70 | - | 81 | + [[PoolChecker getInstance] startCheck:loginInfo]; |
| 71 | - dispatch_async(dispatch_get_global_queue(0, 0), ^{ | ||
| 72 | - [[PoolChecker getInstance] startCheck:loginInfo]; | ||
| 73 | - }); | ||
| 74 | - | ||
| 75 | } | 82 | } |
| 76 | 83 | ||
| 77 | 84 | ||
| ... | @@ -146,13 +153,15 @@ int mExchange; | ... | @@ -146,13 +153,15 @@ int mExchange; |
| 146 | NSString* reportType = [reportInfo reportType]; | 153 | NSString* reportType = [reportInfo reportType]; |
| 147 | if (reportInfo) { | 154 | if (reportInfo) { |
| 148 | if ([reportType isEqualToString:REPORT_ENTER]) { | 155 | if ([reportType isEqualToString:REPORT_ENTER]) { |
| 149 | - [TrackingIO setLoginWithAccountID:[reportInfo playerId]]; | 156 | + [ReYunChannel setLoginWithAccountID:[reportInfo playerId]];//reyun login |
| 157 | + [DCTrackingPoint login:[reportInfo playerId]];//dateeye login | ||
| 150 | 158 | ||
| 151 | - dispatch_async(dispatch_get_global_queue(0, 0), ^{ | 159 | + dispatch_async(dispatch_get_global_queue(0, 0), ^{ |
| 152 | [self handlerLeakOrder]; | 160 | [self handlerLeakOrder]; |
| 153 | }); | 161 | }); |
| 154 | - }else if ([reportType isEqualToString:REPORT_CREATEROLE]){ | 162 | + }else if([reportType isEqualToString:REPORT_CREATEROLE]){ |
| 155 | - [TrackingIO setRegisterWithAccountID:[reportInfo playerId]]; | 163 | + [ReYunChannel setRegisterWithAccountID:[reportInfo playerId]];//reyun reg |
| 164 | + [DCTrackingPoint createAccount:[reportInfo playerId]];//reyun reg | ||
| 156 | } | 165 | } |
| 157 | } | 166 | } |
| 158 | } | 167 | } |
| ... | @@ -220,33 +229,28 @@ int mExchange; | ... | @@ -220,33 +229,28 @@ int mExchange; |
| 220 | NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange); | 229 | NSNumber *amount = @([[payInfo postAmount] integerValue] * mExchange); |
| 221 | NSString *serverId = [payInfo serverId]; | 230 | NSString *serverId = [payInfo serverId]; |
| 222 | NSString *roleName = [payInfo playerName]; | 231 | NSString *roleName = [payInfo playerName]; |
| 223 | - NSString *queryId = [payInfo queryId]; | ||
| 224 | 232 | ||
| 225 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ | 233 | dispatch_async(dispatch_get_global_queue(0, 0), ^{ |
| 226 | [self handlerLeakOrder]; | 234 | [self handlerLeakOrder]; |
| 227 | }); | 235 | }); |
| 228 | 236 | ||
| 229 | - NSString *isOpenThirdPay = [payInfo isOpenThirdPay]; | 237 | + //NSString *isOpenThirdPay = [payInfo isOpenThirdPay]; |
| 230 | - NSLog(@"custom%@",[payInfo custom]); | 238 | + |
| 231 | - if([isOpenThirdPay isEqualToString:@"false"]){ | 239 | + NSString *other = [payInfo other]; |
| 232 | - NSString* products = [payInfo products]; | 240 | + |
| 233 | - //NSLog(@"products:%@",products); | 241 | + if (other && [other length] > 0) { |
| 234 | - [[YouaiSDKMgr getInstance] openApplePay:self.controller products:products amount:[payInfo postAmount] queryId:queryId]; | ||
| 235 | - }else{ | ||
| 236 | [[YouaiSDKMgr getInstance] openPay:serverId :roleName :amount :[payInfo queryId] :self.controller]; | 242 | [[YouaiSDKMgr getInstance] openPay:serverId :roleName :amount :[payInfo queryId] :self.controller]; |
| 243 | + }else{ | ||
| 244 | + NSString* products = [payInfo products]; | ||
| 245 | + [[YouaiSDKMgr getInstance] openApplePay:self.controller products:products amount:[payInfo postAmount] productName:[payInfo productName] queryId:[payInfo queryId]]; | ||
| 237 | } | 246 | } |
| 238 | - | ||
| 239 | - int64_t delayInSeconds = 5.0; // 延迟的时间 | ||
| 240 | - dispatch_time_t popTime = dispatch_time(DISPATCH_TIME_NOW, delayInSeconds * NSEC_PER_SEC); | ||
| 241 | - dispatch_after(popTime, dispatch_get_main_queue(), ^(void){ | ||
| 242 | - NSLog(@"chage state"); | ||
| 243 | - [[PoolChecker getInstance] setOnlyOneTimePay:false]; | ||
| 244 | - }); | ||
| 245 | } | 247 | } |
| 246 | 248 | ||
| 249 | + | ||
| 247 | -(void)paymentSuccess:(NSString *)accountId orderId:(NSString *)orderId currencyAmount:(double)amount currencyType:(NSString *)currencyType payType:(NSString *)payType custom:(NSArray *)customArray | 250 | -(void)paymentSuccess:(NSString *)accountId orderId:(NSString *)orderId currencyAmount:(double)amount currencyType:(NSString *)currencyType payType:(NSString *)payType custom:(NSArray *)customArray |
| 248 | { | 251 | { |
| 249 | - [TrackingIO setPayment:orderId paymentType:payType currentType:currencyType currencyAmount:amount]; | 252 | + [DCTrackingPoint paymentSuccess:orderId currencyAmount:amount currencyType:currencyType paymentType:payType]; |
| 253 | + [ReYunChannel setPayment:orderId paymentType:payType currentType:currencyType currencyAmount:amount]; | ||
| 250 | } | 254 | } |
| 251 | 255 | ||
| 252 | @end | 256 | @end |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
poolsdk_file/poolsdk/TrackingIO.a
deleted
100755 → 0
No preview for this file type
No preview for this file type
| 1 | -{"renyunAppKey": "1", "payorderurl": "https://public.sdk.gzyouai.com/paycheck/create", "usertype": 150, "sdkSimpleName": "apple_youyu", "gamechannelid": "", "APP_KEY": "b06b86b79c25774ec758657a7203bae6", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "https://public.sdk.gzyouai.com/logincheck/check", "appScheme": "com.qyj.ios.xw", "c2": "", "c1": "", "APP_ID": "58fd78a9834e7246b8dc0eac", "paycheckurl": "https://public.sdk.gzyouai.com/paycheck/confirm", "gameSimpleName": "fytx_test"} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +{"renyunAppKey": "d4f6d8e337472e5277634bcdb1ef6cf6", "dateEyeAppId": "", "payorderurl": "https://public.sdk.gzyouai.com/paycheck/create", "usertype": 139, "sdkSimpleName": "apple_xingwan", "gamechannelid": "", "APP_KEY": "f0455d5b7f2e982144b2ac8bc642e453", "custom": "{}", "sdkVersionCode": "V1_0", "loginCheckUrl": "https://public.sdk.gzyouai.com/logincheck/check", "appScheme": "com.ssmyj.ios.xw", "c2": "", "c1": "", "APP_ID": "5936756454c21d629d0c2755", "paycheckurl": "https://public.sdk.gzyouai.com/paycheck/confirm", "gameSimpleName": "qyj4"} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment