Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined symbol: _RCTJSNavigationScheme #238

Open
DarkXelus opened this issue Oct 3, 2019 · 9 comments
Open

Undefined symbol: _RCTJSNavigationScheme #238

DarkXelus opened this issue Oct 3, 2019 · 9 comments

Comments

@DarkXelus
Copy link

DarkXelus commented Oct 3, 2019

Hi,
I'm having a problem once I've installed react-native-wkwebview.
I use a method installation with link

In fact, if I was wrong.
Can someone help me I can not find a solution

Capture d’écran 2019-10-03 à 11 29 48

Thank

@DarkXelus DarkXelus changed the title Undefined symbol: Undefined symbol: _RCTJSNavigationScheme Oct 3, 2019
@duckscorpion13
Copy link

me too, i add "NSString *const RCTJSNavigationScheme = @"react-js-navigation";"
in AppDelegate.m

@ungaro
Copy link

ungaro commented Oct 7, 2019

@duckscorpion13 where in the AppDelegate.m did you add
NSString *const RCTJSNavigationScheme = @"react-js-navigation";

I'm having the same problem after removing UIWebView files from react native. (0.59, deleted RCTWebView.h, RCTWebView.m, RCTWebView.h, RCTWebViewManager.m)

@ungaro
Copy link

ungaro commented Oct 7, 2019

ok found it, should be between @implementation and didFinishLaunchingWithOptions:

But what is this? :)

@implementation AppDelegate
NSString *const RCTJSNavigationScheme = @"react-js-navigation";
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{

@keremcubuk
Copy link

I have the same issue. I tried solution but not working in react-native: 0.61.1 version. Any solution?
@ungaro @DarkXelus

@cgdsky
Copy link

cgdsky commented Feb 26, 2020

yes I have same issue. any solution ?

@keremcubuk
Copy link

yes I have same issue. any solution ?

I changed the library with react-native-webview. It works perfectly.

@inartin
Copy link

inartin commented May 12, 2020

me too, i add "NSString *const RCTJSNavigationScheme = @"react-js-navigation";"
in AppDelegate.m

This actually helped thanks, I am on version 0.60.4

@snanthagopal
Copy link

snanthagopal commented Jun 1, 2020

Hi, I am also having the same issue and tried above AppDelegate changes in my project but it doesn't work. 2 years back we changed from react-native-webview to react-native-wkwebview-reborn since the TrustKit was not able to intercept the calls from UIWebview hence ssl pinning fails at that time. WKWebView is more recent apple class and is preferred in iOS world, and luckily it exposes a delegate method to do our necessary ssl challenge. Does anyone know if I change back to latest react-native-webview should work ssl pinning ?
cc: @insraq

@mattwebhub
Copy link

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants