React Native 0.29+ without dev mode in iOS? -
after upgrading rn 0.29.1 dont have url in appdelegate.m file can dev=false... there obvious way turn off dev mode i'm missing?
it doesn't seem though facebook has updated docs on how use new rctbundleurlprovider
. have added in old urlwithstring
previous versions , works fine:
add:
jscodelocation = [nsurl urlwithstring:@"http://ipaddress:8081/index.ios.bundle?platform=ios&dev=true"];
comment:
[[rctbundleurlprovider sharedsettings] setdefaults]; jscodelocation = [[rctbundleurlprovider sharedsettings] jsbundleurlforbundleroot:@"index.ios" fallbackresource:nil];
Comments
Post a Comment