Upgrade examples to latest react-native and expo versions
Motivation
I saw that the examples for this project were at react-native 0.69 and expo sdk 46, which are both quite old. My goal was to be able to get the example apps in this repo up to date so that we could start testing new architecture bugs such as #1849
This PR upgrades the bare example to react-native 0.74.2 and expo sdk 51. During the upgrade, i had to update various packages like eslint, prettier, typescript, and related modules to support the more modern setup of expo and react-native. These updates caused a few more typescript issues to be found and were fixed. Both yarn lint and yarn typescript both pass.
The contributing documentation was updated to reflect that you can start each example app with the following:
yarn && yarn bootstrap
yarn example pod && yarn example ios
yarn example android
yarn example:expo ios
yarn example:expo android
I know that this is a pretty big PR, but a lot of it is in the native ios/android folders of the bare example from the [email protected]=>[email protected]