fix ios build
This commit is contained in:
parent
eb0c456427
commit
ccee3c0562
|
@ -3102,7 +3102,7 @@
|
||||||
EXCLUDED_ARCHS = "";
|
EXCLUDED_ARCHS = "";
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||||
INFOPLIST_FILE = NotificationService/Info.plist;
|
INFOPLIST_FILE = NotificationService/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
|
@ -3146,7 +3146,7 @@
|
||||||
EXCLUDED_ARCHS = "";
|
EXCLUDED_ARCHS = "";
|
||||||
GCC_C_LANGUAGE_STANDARD = gnu11;
|
GCC_C_LANGUAGE_STANDARD = gnu11;
|
||||||
INFOPLIST_FILE = NotificationService/Info.plist;
|
INFOPLIST_FILE = NotificationService/Info.plist;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
||||||
LD_RUNPATH_SEARCH_PATHS = (
|
LD_RUNPATH_SEARCH_PATHS = (
|
||||||
"$(inherited)",
|
"$(inherited)",
|
||||||
"@executable_path/Frameworks",
|
"@executable_path/Frameworks",
|
||||||
|
|
|
@ -24,8 +24,12 @@
|
||||||
[RNNotifications startMonitorNotifications];
|
[RNNotifications startMonitorNotifications];
|
||||||
[ReplyNotification configure];
|
[ReplyNotification configure];
|
||||||
|
|
||||||
[RNBootSplash initWithStoryboard:@"LaunchScreen" rootView:rootView];
|
self.moduleName = @"RocketChatRN";
|
||||||
|
// You can add your custom initial props in the dictionary below.
|
||||||
|
// They will be passed down to the ViewController used by React Native.
|
||||||
|
self.initialProps = @{};
|
||||||
|
[super application:application didFinishLaunchingWithOptions:launchOptions];
|
||||||
|
[RNBootSplash initWithStoryboard:@"LaunchScreen" rootView:self.window.rootViewController.view];
|
||||||
[[[SSLPinning alloc] init] migrate];
|
[[[SSLPinning alloc] init] migrate];
|
||||||
|
|
||||||
self.watchConnection = [[WatchConnection alloc] initWithSession:[WCSession defaultSession]];
|
self.watchConnection = [[WatchConnection alloc] initWithSession:[WCSession defaultSession]];
|
||||||
|
|
|
@ -7,14 +7,9 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
#import <React/RCTHTTPRequestHandler.h>
|
#import <React/RCTHTTPRequestHandler.h>
|
||||||
#import "RNFetchBlobRequest.h"
|
|
||||||
|
|
||||||
NS_ASSUME_NONNULL_BEGIN
|
NS_ASSUME_NONNULL_BEGIN
|
||||||
|
|
||||||
@interface RNFetchBlobRequest (Challenge)
|
|
||||||
|
|
||||||
@end
|
|
||||||
|
|
||||||
@interface RCTHTTPRequestHandler (Challenge)
|
@interface RCTHTTPRequestHandler (Challenge)
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
|
|
||||||
#import <objc/runtime.h>
|
#import <objc/runtime.h>
|
||||||
#import "SSLPinning.h"
|
#import "SSLPinning.h"
|
||||||
#import "RNFetchBlobRequest.h"
|
|
||||||
#import <MMKV/MMKV.h>
|
#import <MMKV/MMKV.h>
|
||||||
#import <SDWebImage/SDWebImageDownloader.h>
|
#import <SDWebImage/SDWebImageDownloader.h>
|
||||||
#import "SecureStorage.h"
|
#import "SecureStorage.h"
|
||||||
|
@ -113,15 +112,6 @@
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
@implementation RNFetchBlobRequest (Challenge)
|
|
||||||
|
|
||||||
- (void) URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable credential))completionHandler
|
|
||||||
{
|
|
||||||
[Challenge runChallenge:session didReceiveChallenge:challenge completionHandler:completionHandler];
|
|
||||||
}
|
|
||||||
|
|
||||||
@end
|
|
||||||
|
|
||||||
@implementation RCTHTTPRequestHandler (Challenge)
|
@implementation RCTHTTPRequestHandler (Challenge)
|
||||||
|
|
||||||
- (void) URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable credential))completionHandler
|
- (void) URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition, NSURLCredential * _Nullable credential))completionHandler
|
||||||
|
|
Loading…
Reference in New Issue