Update example to react native ^0.71.0 #544
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
No matching variant of com.facebook.react:react-native:0.71.0-rc.0 was found.
facebook/react-native#35210The example project is outdated.
Take the opportunity to update the example project to latest React / ReactNative version / app template
These 3 tickets are kinda related, and could be closed - at least the last 2
Done
uses-permission
in Manifest as they are added automatically by Gradle while merging the dependency with the app.How did you test this change?
Run following commands on a fresh clone
Compiles flawlessly on latest Xcode 14.3.1 / Android.
Tried all cases on device for both platforms. Works the same as before
There is one difference to note on Android, which now asks for camera permission. When allowed, the first time the camera doesn't reload and screen is black. There is an issue for that #528, this PR offers an easy way to reproduce it with the example project