This file contains hidden or 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
brew list --versions | grep cocoapods | |
Source: https://chat.openai.com/share/e52936c1-5f62-4b99-9179-38dbf973c580 |
This file contains hidden or 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
// The type for the event is NativeSyntheticEvent<TextInputChangeEventData> | |
// example 1 | |
import { TextInput, NativeSyntheticEvent, TextInputChangeEventData } from "react-native"; | |
const onChange = (e: NativeSyntheticEvent<TextInputChangeEventData>): void => { | |
const value = e.nativeEvent.text; | |
doStuff(value); | |
} | |
This file contains hidden or 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
// TextInput has to have the next props | |
<TextInput | |
autoComplete="email" | |
autoCorrect={false} | |
keyboardType="email-address" | |
textContentType="emailAddress" | |
/> |
This file contains hidden or 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
https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository |
This file contains hidden or 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
# https://reactnative.dev/docs/running-on-simulator-ios | |
xcrun simctl list devices | |
yarn ios --simulator "iPhone 14 Pro (16.0)" |
This file contains hidden or 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
https://github.com/react-native-community/cli/blob/main/docs/commands.md |
This file contains hidden or 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
# Problem CONFLICT (content): Merge conflict in ios/Podfile.lock | |
# Solution | |
Delete podfile.lock | |
and pods folder and run pod install |
This file contains hidden or 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
sudo nano /etc/pulse/default.pa | |
load-module module-echo-cancel aec_args="analog_gain_control=0 digital_gain_control=0" |
This file contains hidden or 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
// https://docs.cypress.io/api/commands/should#Assert-the-checkbox-is-disabled | |
// source: https://www.udemy.com/course/cypress-end-to-end-testing-getting-started/learn/lecture/36409698?start=123#notes | |
cy.get('button').should('be.disabled') |
This file contains hidden or 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
// https://www.udemy.com/course/cypress-end-to-end-testing-getting-started/learn/lecture/36409544?start=46#notes | |
cy.visit('http://localhost:3000/admin') | |
cy.location('pathname').should('eq', '/admin') |