No Image

Android – Update from targetSDK 28 to 29

February 19, 2021 hung-nb 0

Can’t create file Need to add android:requestLegacyExternalStorage=”true” https://developer.android.com/training/data-storage/use-cases#opt-out-scoped-storage Can’t get hardware serial number App crashes when calling Build.getSerial() best-practices-android-identifiers https://developer.android.com/reference/android/os/Build#getSerial()changes-to-device-identifiers-in.html Use ANDROID_ID for Android 10, […]

No Image

React Native – Hardware features (1)

January 6, 2021 hung-nb 0

How to take photo? Use react-native-camera or react-native-image-picker react-native-image-picker Class Usage How to browse photo library? Class Usage How to browse file? Use react-native-document-picker How […]

No Image

React Native – How to fix node_modules?

December 15, 2020 hung-nb 0

Use patch-packageeasier-react-native-upgrade-with-patch-packagesay-goodbye-to-old-fashioned-forks-thanks-to-the-patch-package Setup Install package Edit package.json > scripts Create patch Fix & save file in node_modules Create patch, a patches directory will be created From […]