Pārlūkot izejas kodu

子应用信息资源版本号比对,通过比对结果决定是否更新资源

liufl5 6 gadi atpakaļ
vecāks
revīzija
5b6b0edf73

+ 4 - 4
IpuCommon/Frameworks/WadeMobile.framework/Headers/IpuTemplateSubController.h

@ -11,10 +11,10 @@
11 11
12 12
@interface IpuTemplateSubController : WDTemplateController
13 13
14
/*
15
 子应用需要传启动参数的情况,add by lfl
16
 */
17
-(id)initControllerWithParam:(NSString *)paramStr;
14
///*
15
// 子应用需要传启动参数的情况,add by lfl
16
// */
17
//-(id)initControllerWithParam:(NSString *)paramStr;
18 18
19 19
// 应用初始化方法
20 20
- (void)initController;

+ 10 - 0
IpuCommon/Frameworks/WadeMobile.framework/Headers/WDAutoUpdate.h

@ -10,6 +10,16 @@
10 10
#import <UIKit/UIKit.h>
11 11
12 12
@interface WDAutoUpdate : NSObject
13
/*
14
 从IPU服务器获取远端资源版本号、应用版本号信息
15
 返回值:请求是否成功
16
 */
17
+(BOOL)requestUpdateDataFromIPU;
18
/*
19
 从Fir服务器获取远端资源版本号、应用版本号信息
20
 返回值:请求是否成功
21
 */
22
+(BOOL)requestUpdateDataFromFir;
13 23
14 24
+ (BOOL)update;
15 25

BIN
IpuCommon/Frameworks/WadeMobile.framework/WadeMobile


BIN
SuperMenu/SuperMenu.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 1
SuperMenu/SuperMenu.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -7,7 +7,7 @@
7 7
		<key>SuperMenu.xcscheme</key>
8 8
		<dict>
9 9
			<key>orderHint</key>
10
			<integer>2</integer>
10
			<integer>3</integer>
11 11
		</dict>
12 12
	</dict>
13 13
</dict>

+ 5 - 5
WadeMobileFunc/WadeMobileFunc.xcodeproj/xcuserdata/mac.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@ -26,12 +26,12 @@
26 26
                  moduleName = "WadeMobileFunc"
27 27
                  usesParentBreakpointCondition = "Yes"
28 28
                  urlString = "file:///Users/mac/work/asiainfo/ios-share/WadeMobileFunc/WadeMobileFunc/WDFSocial.m"
29
                  timestampString = "580207366.434123"
29
                  timestampString = "580754006.415504"
30 30
                  startingColumnNumber = "9223372036854775807"
31 31
                  endingColumnNumber = "9223372036854775807"
32 32
                  startingLineNumber = "291"
33 33
                  endingLineNumber = "291"
34
                  offsetFromSymbolStart = "1142">
34
                  offsetFromSymbolStart = "1132">
35 35
               </Location>
36 36
               <Location
37 37
                  shouldBeEnabled = "Yes"
@ -41,12 +41,12 @@
41 41
                  moduleName = "WadeMobileFunc"
42 42
                  usesParentBreakpointCondition = "Yes"
43 43
                  urlString = "file:///Users/mac/work/asiainfo/ios-share/WadeMobileFunc/WadeMobileFunc/WDFSocial.m"
44
                  timestampString = "580207366.435868"
44
                  timestampString = "580754006.417295"
45 45
                  startingColumnNumber = "9223372036854775807"
46 46
                  endingColumnNumber = "9223372036854775807"
47 47
                  startingLineNumber = "292"
48 48
                  endingLineNumber = "292"
49
                  offsetFromSymbolStart = "39">
49
                  offsetFromSymbolStart = "52">
50 50
               </Location>
51 51
               <Location
52 52
                  shouldBeEnabled = "Yes"
@ -56,7 +56,7 @@
56 56
                  moduleName = "WadeMobileFunc"
57 57
                  usesParentBreakpointCondition = "Yes"
58 58
                  urlString = "file:///Users/mac/work/asiainfo/ios-share/WadeMobileFunc/WadeMobileFunc/WDFSocial.m"
59
                  timestampString = "580207366.437659"
59
                  timestampString = "580754006.419049"
60 60
                  startingColumnNumber = "9223372036854775807"
61 61
                  endingColumnNumber = "9223372036854775807"
62 62
                  startingLineNumber = "291"

+ 2 - 1
WadeMobileFunc/WadeMobileFunc/WDFResourceVersion.m

@ -13,7 +13,8 @@
13 13
14 14
-(void)getClientResourceVersion:(NSArray *)params{
15 15
    //获取服务端资源版本号
16
    NSString *localResourceVersion = [[NSUserDefaults standardUserDefaults] objectForKey:@"RESOURCE_VERSION_CACHE"];
16
    NSString *versionKey = [NSString stringWithFormat:@"%@_%@", [WDAppManager getCurrAppId], @"RESOURCE_VERSION_CACHE"];
17
    NSString *localResourceVersion = [[NSUserDefaults standardUserDefaults] objectForKey:versionKey];
17 18
    if (localResourceVersion) {
18 19
        [self callback:localResourceVersion];
19 20
    }else{

BIN
display-center/display-center.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 49
display-center/display-center.xcodeproj/xcuserdata/mac.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

@ -136,7 +136,7 @@
136 136
            ignoreCount = "0"
137 137
            continueAfterRunningActions = "No"
138 138
            filePath = "../../ios/WadeMobile/WadeMobile/frame/template/IpuTemplateSubController.m"
139
            timestampString = "574603983.712311"
139
            timestampString = "580809526.8684289"
140 140
            startingColumnNumber = "9223372036854775807"
141 141
            endingColumnNumber = "9223372036854775807"
142 142
            startingLineNumber = "206"
@ -456,38 +456,6 @@
456 456
            ignoreCount = "0"
457 457
            continueAfterRunningActions = "No"
458 458
            filePath = "ReactNative/node_modules/react-native/React/Base/RCTRootView.m"
459
            timestampString = "565977957.751121"
460
            startingColumnNumber = "9223372036854775807"
461
            endingColumnNumber = "9223372036854775807"
462
            startingLineNumber = "296"
463
            endingLineNumber = "296"
464
            landmarkName = "-runApplication:"
465
            landmarkType = "7">
466
         </BreakpointContent>
467
      </BreakpointProxy>
468
      <BreakpointProxy
469
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
470
         <BreakpointContent
471
            shouldBeEnabled = "Yes"
472
            ignoreCount = "0"
473
            continueAfterRunningActions = "No"
474
            filePath = "ReactNative/node_modules/react-native/React/Base/RCTRootView.m"
475
            timestampString = "565978091.1913511"
476
            startingColumnNumber = "9223372036854775807"
477
            endingColumnNumber = "9223372036854775807"
478
            startingLineNumber = "58"
479
            endingLineNumber = "58"
480
            landmarkName = "-initWithBridge:moduleName:initialProperties:"
481
            landmarkType = "7">
482
         </BreakpointContent>
483
      </BreakpointProxy>
484
      <BreakpointProxy
485
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
486
         <BreakpointContent
487
            shouldBeEnabled = "Yes"
488
            ignoreCount = "0"
489
            continueAfterRunningActions = "No"
490
            filePath = "ReactNative/node_modules/react-native/React/Base/RCTRootView.m"
491 459
            timestampString = "565978106.759089"
492 460
            startingColumnNumber = "9223372036854775807"
493 461
            endingColumnNumber = "9223372036854775807"
@ -519,22 +487,6 @@
519 487
            shouldBeEnabled = "Yes"
520 488
            ignoreCount = "0"
521 489
            continueAfterRunningActions = "No"
522
            filePath = "ReactNative/node_modules/react-native/React/Base/RCTRootView.m"
523
            timestampString = "565978287.603332"
524
            startingColumnNumber = "9223372036854775807"
525
            endingColumnNumber = "9223372036854775807"
526
            startingLineNumber = "265"
527
            endingLineNumber = "265"
528
            landmarkName = "-javaScriptDidLoad:"
529
            landmarkType = "7">
530
         </BreakpointContent>
531
      </BreakpointProxy>
532
      <BreakpointProxy
533
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
534
         <BreakpointContent
535
            shouldBeEnabled = "Yes"
536
            ignoreCount = "0"
537
            continueAfterRunningActions = "No"
538 490
            filePath = "../WadeMobileFunc/WadeMobileFunc/WDFMobileNetwork.m"
539 491
            timestampString = "572429925.995549"
540 492
            startingColumnNumber = "9223372036854775807"