Missing things after uppgrade to RN57 - react-native

I have a project made in react-native version 0.55.4. I'm in proccess of migrating this project to react-native 0.57.1. This is going well, but I'm having a little problem with some things that are missing, but only in release version.
In my settings window, I have some fields with their values. Most of field's labels and texts are from i18n RN library. The values are retrieved/stored using redux-persist. This was working fine before migrating. Also, everything works fine in debug version....the problem only occours in release version, but I got no errors in console during release build.
I'm compiling using SDK version 27 (the same I was using before).
Problem:
Build platform is windows.

Solved. Problem was native-base version 2.8.0. Dowgraded to 2.7.2 and worked again.

Related

React Native SVG Build Failure due to incompatible versions

I'm attempting to build a coworker's code, which involves building with react-native-svg. Upon build, I get this error:
Task :react-native-svg:compileDebugJavaWithJavac FAILED
After narrowing it down, I discovered that this build failure only happens when I try and use version 13.0.0 and up of react-native-svg. For reference, I'm using React native version 0.64.4. This should be ok according to the version reference on their website:
version chart
I need version 13 at least, otherwise it's too laggy to properly test the code. What is odd to me is that my coworker is able to build just fine on the same codebase, but maybe that's a difference in operating systems (He is on Mac, I'm on Windows). Any help with this would be greatly appreciated!
from what I've read on the official github page https://github.com/software-mansion/react-native-svg, version 13.0.0 and above requires react native version >=0.69.0 due to support of fabric, any versions below it will break
svg version 13.0.0
I was in the same situation as you just now and had to opt for installing version 12.5.0 instead.

app is not building recently it working properly but as i add other package it stop

**app is not building recently it working properly but as I add other package it stop **
https://github.com/facebook/react-native/issues/35210
I had the same issue yesterday. The issue is not related to any new library installation directly although I had the same assumption initially.
Upgrade react-native version to the relevant patch number mentioned in the Github issue which I believe in your case it would be 0.70.5

Android Studio no syntax highlighting

Okay, I've wanted to give React Native a try, did a fresh install of Android Studio 4.1.1 on my Ubuntu 19.10, bootstrapped a simple project via react-native CLI, opened it and instantly noticed that JSX highlighting is broken, google around, but the only thing I found is this link -
https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000161950-JSX-Syntax-Highlighting-not-working
Tried to reboot, to create a new project from scratch, I did not load my PyCharm settings when installed Android Studio, have not installed any plugins yet. So yeah - any ideas how do I get my highlighting working?
UPD: code navigation also seems to be broken. May be I need to try other version of Android Studio...
UPD 2: Tried Expo with Typescript project setup, studio asked to install a plugins that supports tsx, then restarted and now even the comments are not supported lol.
Note that Android Studio does not have support for JavaScript. You may want to try IntelliJ IDEA Ultimate Edition or WebStorm if you do not need to work with Java.

"babelHelpers.interopRequireDefault is not a function" when upgrading to React Native 0.16.0-rc

I upgraded to react-native 0.16.0-rc, ran npm install, then ran react-native upgrade. When trying to launch the iOS app in a simulator (or device, doesn't matter) I get the error:
[error][tid:com.facebook.React.RCTExceptionsManagerQueue] Unhandled JS Exception: babelHelpers.interopRequireDefault is not a function. (In 'babelHelpers.interopRequireDefault(_reactNative)', 'babelHelpers.interopRequireDefault' is undefined)
I've just about run out of ideas here. Is there something I need to add to my xcode project maybe? Merging the latest react-native templates into mine was a nightmare so maybe something got messed up there.
This problem is discussed in this Github issue and fixed by this commit. You can apply this patch temporarily until it is merged into the project with the version 0.16.

Titanium content assistant not working

The content assistant is not working.
I'm working on OSX, Titanium Studio, iOS & Android mobile app and have tried the following:
Installing the following SDKs: 3.2.0, 3.2.1, 3.3.0.
Tried reverting between those versions.
Checked the Project Natures (mobile - primary, mobile module, are checked).
Tried every option on the Project Build Path.
Of course tried to build the project again and again.
Check the content assistant preference both in the main preference and in the project properties.
Are the any more suggestions?
I believe this is a bug in the 3.2.0GA SDK (3.2.1 and 3.3.0 are not official releases yet). As far as I have heard it is known and should be fixed in the next SDK update. Only question is when this update will be out.
You can get content assist back by reverting to 3.1.3GA, but that doesn't help you much if you need features from 3.2.0GA.
EDIT:
The issue is described in this JIRA-ticket and as it mentions should be resolved in the upcoming 3.2.1 release.