I'm not sure why, but I followed the readme and setup trustkit under the AppDelegate.m. I have the following imports in the file...
`#import "AppDelegate.h"
import <React/RCTBundleURLProvider.h>
import <React/RCTRootView.h>
import <TrustKit/TrustKit.h>`
I am using this with an existing React Native project. For some reason it is telling me it has no clue what 'initSharedInstanceWithConfiguration' is. I even looked at the demo project to see if there was anything I felt I was missing. I didn't notice anything. Is there a new way of doing it and maybe this is an old readme or is there something I am missing?
Here is the TrustKit implementation in the AppDelegate.m
Apparently I am dumb and followed a tutorial that used 4.2. I removed it. Hopefully no one else will be this dumb, but just in case, check your pod file!
I'm not sure why, but I followed the readme and setup trustkit under the AppDelegate.m. I have the following imports in the file... `#import "AppDelegate.h"
import <React/RCTBundleURLProvider.h>
import <React/RCTRootView.h>
import <TrustKit/TrustKit.h>`
I am using this with an existing React Native project. For some reason it is telling me it has no clue what
'initSharedInstanceWithConfiguration'
is. I even looked at the demo project to see if there was anything I felt I was missing. I didn't notice anything. Is there a new way of doing it and maybe this is an old readme or is there something I am missing?Here is the TrustKit implementation in the AppDelegate.m
`NSDictionary *trustKitConfig = @{ kTSKPinnedDomains: @{
[TrustKit initSharedInstanceWithConfiguration:trustKitConfig];`
Thanks for your help