SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

0 0 155 C++

rebuild autolinking cache if empty or invalid (#46241)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/46241

Our test for rebuilding the `autolinking.json` file currently rebuilds everytime if the cached json file ISN'T empty.  This means users who have an empty entry get stuck there.

I've also added more validation that the contents of the cached config have at a minimum the `.project.android.packageName` entry in it, otherwise it rebuilds.

Changelog: [Internal]

Closes 46134

Reviewed By: cortinico

Differential Revision: D61911114

fbshipit-source-id: 188c7f975ce05802c8ea06eaa48345c2bc96f2b2
B
Blake Friedman committed
0f66a696b474d14949ef823eb357a36f7feca9ca
Parent: 1333e0e
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 8/29/2024, 5:11:09 PM