I am using the Braintree drop-in ui for React Native. My issue seems maybe not specific to the library, in which I have already created an issue.
I'm at the point where I need to add my setReturnURLScheme
to my AppDelegate.m
Looks like this
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[BTAppSwitch setReturnURLScheme:@"com.mycompany.myapp.payments"];
//...
}
However, I receive an error with BTAppSwitch, it says Use of undeclared identifier 'BTAppSwitch'
.
As far as I can tell, I have installed and linked all pods appropriately/automatically, but most instructions are pretty brief. Seems like maybe I'm missing an import statement, but none I've tried have helped. Can someone help please?
I am using v4