pod outdated
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# installing apk in emulator | |
adb -s emulator-5554 install path/to/your/app.apk | |
adb -s emulator-5554 install /Users/arnoldcamas/Downloads/app-release.apk |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check the dependencies of the app module | |
./gradlew app:dependencies | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// TIP 1 | |
// - Using the useSharedValue hook | |
// - Using the useAnimatedStyle hook | |
const AnimatedComponents = () => { | |
const buttonPressed = () => { | |
// Toggle the animation state based on button press | |
isAnimating.value = !isAnimating.value; | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// To list all installed JDK versions | |
/usr/libexec/java_home -V | |
// To set default JDK version | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.8` | |
// To set specific JDK version (if need specific) | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.8.0_131` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trigger menu for android emulator | |
- adb shell input keyevent 82 | |
- or command m | |
index.android.bundle issue | |
- mkdir android/app/src/main/assets | |
- 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Command to add to recognize the file type | |
#!/bin/bash | |
use .sh extension | |
######################################## | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Using => useSharedValue + useAnimatedStyle + withTiming | |
// this is a shared value that be used between UI and JS thread | |
// example (example is like an accordion) | |
export default function ExpandingTextBox() { | |
// creating shared value via useSharedValue | |
const boxHeight = useSharedValue(150); | |
// creating worklet via useAnimatedStyle, and incorporating the withTiming method |
expo upgrade ___
npx expo install --fix
npx expo install --check
npx react-native info
NewerOlder