Categories
Mastering Development

react-native ITMS-90809: Deprecated API Usage

I already went through multiple posts and possible fixes, updating different libraries, etc, trying to fix this issue. I’m not able to identify which library can be the problem. After running grep -r UIWebView ./* on my entire project I get the following references: Binary file ./ios/myApp.xcworkspace/xcuserdata/myuser.xcuserdatad/UserInterfaceState.xcuserstate matches Binary file ./ios/build/myApp/ModuleCache.noindex/2HLMFU1M0QDOH/UIKit-1V5UHAPTOD24G.pcm matches Binary file ./ios/build/myApp/ModuleCache.noindex/2HLMFU1M0QDOH/WebKit-3M3AFHBPPA3AE.pcm […]

Categories
Mastering Development

Legacy context API has been detected within a strict-mode tree

{ “name”: “my-app”, “version”: “0.1.0”, “private”: true, “dependencies”: { “@testing-library/jest-dom”: “^4.2.4”, “@testing-library/react”: “^9.3.2”, “@testing-library/user-event”: “^7.1.2”, “bootstrap”: “^4.4.1”, “bootstrap-social”: “5.1.1”, “cross-fetch”: “2.1.0”, “font-awesome”: “4.7.0”, “prop-types”: “15.6.0”, “react”: “^16.13.1”, “react-animation-components”: “3.0.0”, “react-dom”: “^16.13.1”, “react-popper”: “0.9.2”, “react-redux”: “5.0.7”, “react-redux-form”: “1.16.8”, “react-router-dom”: “^4.3.1”, “react-scripts”: “3.4.1”, “react-transition-group”: “2.3.0”, “reactstrap”: “5.0.0”, “redux”: “3.7.2”, “redux-logger”: “3.0.6”, “redux-thunk”: “^2.2.0” }, “scripts”: { “start”: […]

Categories
Mastering Development

Error rendering react-redux functional component when data is deleted from firestore (useFirestoreConnect)

My ArticleList component is successfully getting & displaying the user’s list of articles from firestore when I first load the app. The user can click a “Remove Article” button, which successfully removes the article from the subcollection in firestore, but it causes an error in the rendering of the react component, which seems to still […]

Categories
Development React

‘React/RCTBundleURLProvider.h’ file not found after updating react-native from 0.59 to 0.61.4

I recently updated my project that was using react-native 0.59 to 0.61.4. The android build works just fine but the ios fails with error : ‘React/RCTBundleURLProvider.h’ file not found On my project message extension. I tried all the main fixes for this issues like: https://github.com/facebook/react-native/issues/12077#issuecomment-302318906 Trying to create a React scheme, which I wasn’t able […]

Categories
Development

How i improve react-native run-android build time?

I am continue developed ecommerce mobile app and my laptop a bit laggy, it reach 30m to build the apps ! How to improve the build time, is that some lib making it heavy or am i doing it wrong? 30min to build: react-native run-android execution time my spec Java version: 8 My Machine: Dell […]