This file is a tracker for what has been done to work on the migration of this library and to keep also track of the various todo:
- [] Write JS spec in Flow for the New Architecture
- [] Implent the new Native Code on iOS
- [] Implent the new Native Code on Android
- [] Test on OldArch app (iOS)
- [] Test on OldArch app (Android)
- [] Test on NewArch app (iOS)
- [] Test on NewArch app (Android)
- [] Open PR
- Forked and cloned the repo
- Checked the list of APIs to migrate.
- Created an
OldArch
app (0.70) configured for the Old Architecture. - Run the app to make sure that it works properly.
- Created a
NewArch
app (0.70) configured for the New Architecture. - Switched the flags for iOS and Android to have the new arch enabled by default
- Run the app to make sure that it works properly.
- Moved the apps in the
examples
folder
- Move to
OldArch
- Run
yarn add ../..
to install the blob utils. cd ios
bundle install && bundle exec pod install
cd ..
npx react-native run-ios
- Copy the app JS code from
examples/ReactNativeBlobUtil/App.js
toexamples/OldArch/App.js
- Fixed various JS issues
- The app depends on the
Picker
. Note: It does not support the New Arch, we need to figure out another way to choose.- run
yarn add @react-native-picker/picker
- run
bundle exec pod install
from the iOS folder - re-run the app
- run
- Repeat the above steps for
NewArch