add plugins:
- react-i18next <-- https://github.com/i18next/react-i18next
- react-native-snap-carousel <-- https://github.com/archriss/react-native-snap-carousel
- react-native-star-rating <-- https://github.com/djchie/react-native-star-rating
- react-native-masked-text <-- https://github.com/benhurott/react-native-masked-text
- react-native-htmlview <-- https://github.com/jsdf/react-native-htmlview
- react-native-languages <-- https://github.com/react-community/react-native-languages
- react-native-share <-- https://www.npmjs.com/package/react-native-share
- react-native-onesignal <-- https://www.npmjs.com/package/react-native-onesignal
- react-native-image-zoom-viewer <-- https://github.com/ascoders/react-native-image-viewer
- react-native-fetch-blob <-- https://github.com/vonovak/react-native-fetch-blob
(Устранение ошибки при сборке - wkh237/react-native-fetch-blob#716)
cleane cache: rm -rf ~/.rncache
Создание dev-билда для android: mkdir -p android/app/src/main/assets && rm -rf android/app/build && npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && cd android && ./gradlew assembleDebug && cd ../
Создание release-билда для android: mkdir -p android/app/src/main/assets && rm -rf android/app/build && npx react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res && cd android && ./gradlew assembleRelease && cd ../
If ERROR when run dev-mode, need clean all build android: cd android && ./gradlew clean && cd ../
Run: react-native run-android --variant=release
react-native run-ios --configuration Release