Closed masiamj closed 7 years ago
@masiamj did you come up with a solution for this ?
Right, so I did in fact get it to work : I'd advise adding this to the example. If you did too it would have been good if you'd have posted a solution.
It's actually pretty easy to get this to work for iOS with a few modifications of AppDelegate
#import <React/RCTLinkingManager.h>
- (BOOL)application:(UIApplication *)application
openURL:(NSURL *)url
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options
options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options{
... other url logic such as facebook/google
return [RCTLinkingManager application:application openURL:url options:options];
}
Is this project specific to Android? If not, can you please update the example project to include an iOS example?
I've integrated the library but having real trouble getting the access tokens when the Promise resolves.
Thanks!