Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why are after a new react-native project lots of deprecation warnings?

steps to reproduce:

installed versions:

react 15.4.2
react-native 0.40.0

create a new Project

react-native init reactNativeTest

Running Project

1) Start Xcode
2) Open Project reactNativeTest
3) Run App

when I run it in xcode I get hellot of deprecation warnings, semantic issues and CoreFoundation Errors.

see screenshot

enter image description here

like image 817
radosch Avatar asked Jan 08 '17 21:01

radosch


People also ask

How do I get rid of react native warnings?

The Yellow warning box in React Native can be both helpful and annoying. There are many errors that can be ignored but end up blocking necessary pieces of the application. To disable the yellow box place console. disableYellowBox = true; anywhere in your application.

Is react native still supported?

React Native is not going to go away any time soon. JavaScript has been around since 1995 and it gives no signs of retiring any time soon — it was the most popular programming language on Stack Overflow's yearly survey for the past few years.

Is react native Safe?

react-native-encrypted-storage - uses Keychain on iOS and EncryptedSharedPreferences on Android. react-native-sensitive-info - secure for iOS, but uses Android Shared Preferences for Android (which is not secure by default). There is however a branch that uses Android Keystore.

What is the new in react native?

We are excited to release a new version of React Native, 0.70. 0. This version comes with several improvements like a new unified configuration for Codegen, Hermes as default engine, and full CMake support for Android builds along with a refresh of the documentation for the New Architecture. Read on to learn more!


1 Answers

These are known issues in React Native 0.40 (reported in React Native github project as issue #11736) that occur for others (myself as well) on a fresh project.

As of 17 minutes ago, there are a number of pull requests which reduce some of the issues.

One commenter on the issue reports that "Those are warning and you can mostly ignore those warning. You project should run fine with those warning." I've confirmed this, but hopefully we'll get these warnings cleaned up soon.

like image 81
Peter W Avatar answered Oct 26 '22 00:10

Peter W