Skip to content

vbansal-bb/CustomTextRepo

Repository files navigation

CustomTextRepo

Build

This app demoes the use of CustomText Component which is forked from React Native Source Code version 77. It works on old architecture but on new architecture it throws error.

Reproducer TODO list

  • 1. Create a new reproducer project.
  • 2. Git clone your repository locally.
  • 3. Edit the project to reproduce the failure you're seeing.
  • 4. Push your changes, so that Github Actions can run the CI.
  • 5. Make sure the repository is public and share the link with the issue you reported.

How to use this Reproducer

Step 1: Install the dependencies

# using Yarn

yarn 

Step 2: Start the Metro Server

First, you will need to start Metro, the JavaScript bundler that ships with React Native.

To start Metro, run the following command from the root of your React Native project:

# using Yarn

yarn start

Step 3: Start your Application

Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:

For Android

# using Yarn
yarn android

on New Architecture : Above will run the app on android emulator on new architecture but on load app is throwing an error -Attempt to create a native View for AndroidVirtualTextCustom failed. please see the error screenshot at root

On Old: when updating in gradle.properties newArchEnabled=false and rebuild then same app works fine with out any issue

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •