File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
src/platforms/ios_lib/AppSync/AppSync Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ + (NSString *_Nonnull)applicationPathWithDefault:(NSString *_Nonnull) defaultPat
23
23
NSString * appStoreAppBuildTime = timestamp.stringValue ;
24
24
25
25
BOOL appSyncPackageIsNewerThanAppStoreVersion =
26
- [appSyncAppBuildTime isEqualToString: appStoreAppBuildTime] && [appSyncAppVersion isEqualToString: appStoreAppVersion];
26
+ [appSyncAppBuildTime isEqualToString: appStoreAppBuildTime] && ( [appSyncAppVersion isEqualToString: appStoreAppVersion] || [appSyncAppVersion compare: appStoreAppVersion options: NSNumericSearch] == NSOrderedDescending) ;
27
27
28
28
if (appSyncPackageIsNewerThanAppStoreVersion) {
29
29
NSString * docPath = [NSSearchPathForDirectoriesInDomains (NSDocumentDirectory, NSUserDomainMask, YES ) firstObject ];
You can’t perform that action at this time.
0 commit comments