#Doc Test Technique docavenue
React native 0.60.4
Clone :
git clone https://github.com/koudjo-aholou/docavenue.git
cd docavenue
npm install
React Native >= 0.60.0 autoLinking React Native =< 0.60.0 No autoLinking or if errors checks :
Lottie : https://github.com/react-native-community/lottie-react-native
React Navigation : https://reactnavigation.org/docs/en/getting-started.html
cmd : react-native run-android
#App
./App.js
#Components and screens
screenAccueil et screensPosts : ./src/screens
Components ./src/components
#Navigation
./src/navigation/navigation.js
#Pictures and fonts
Pictures : ./src/assets
Fonts : ./src/assets/fonts
#API jsonplaceholder/posts
./src/config/api.js
#Debug APK or Install APK
./apk
Android Studio : https://developer.android.com/studio/
#Build for production Open with Android Studio ./android/ then Buid > Build Bundle/APK
#Mac pb
CorruptedCacheException: Corrupted IndexBlock 298298 found in cache '/Users/macuser/.gradle/caches/journal-1/file-access.bin'
Open your /Users/macuser/ folder
Press CMD + SHIFT + . (dot/period) to view hidden folders
DELETE .gradle folder
Restart Android Studio
Display Hidden files Mac : defaults write com.apple.Finder AppleShowAllFiles true
#Building release isn't reflecting change
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/
#INSTALL_FAILED_UPDATE_INCOMPATIBLE
Buid > Build Bundle/APK
or
adb uninstall com.example