react-native-wkwebview icon indicating copy to clipboard operation
react-native-wkwebview copied to clipboard

Undefined symbol: _RCTJSNavigationScheme

Open DarkXelus opened this issue 5 years ago • 9 comments

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 avatar Oct 03 '19 09:10 DarkXelus

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

duckscorpion13 avatar Oct 07 '19 04:10 duckscorpion13

@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 avatar Oct 07 '19 17:10 ungaro

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{

ungaro avatar Oct 07 '19 17:10 ungaro

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

keremcubuk avatar Oct 08 '19 06:10 keremcubuk

yes I have same issue. any solution ?

cgdsky avatar Feb 26 '20 17:02 cgdsky

yes I have same issue. any solution ?

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

keremcubuk avatar Feb 26 '20 19:02 keremcubuk

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

This actually helped thanks, I am on version 0.60.4

inartin avatar May 12 '20 14:05 inartin

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

snanthagopal avatar Jun 01 '20 15:06 snanthagopal

+1

mattwebhub avatar Oct 06 '21 17:10 mattwebhub