Skip to content

Instantly share code, notes, and snippets.

View pablocattaneo's full-sized avatar

Pablo Cattaneo pablocattaneo

View GitHub Profile
go to settings/environments/staging
Activate branch tracking and set the branch
save it
got to /deployments and deploy it with the name of the branch set
npx playwright test
Runs the end-to-end tests.
npx playwright test --ui
Starts the interactive UI mode.
npx playwright test --project=chromium
Runs the tests only on Desktop Chrome.
npx playwright test example
# eas update --channel [channel] --message "Description of your update"
# When you run `eas update --channel qa`, it publishes your current local working directory** to the QA channel, including the variables set on .env!!
# CLEAR CACHE is abosolute fundamental!!!!
eas update --channel qa --message "Description of your update" --clear-cache
https://www.npmjs.com/package/@testing-library/user-event

you have to open the terminal over the branch that you want to send the changes

eas update --channel qa

The version of the code been pushed must to match with the app the build that you want to update, for example if the build is in the version 2.1.4 in your package json it has to be the same version

## **How to Use AAPT to Check APK Permissions**
### **1. Build Your APK**
Make sure you have a built APK, for example:
```
android/app/build/outputs/apk/release/app-release.apk
```
### **2. Find Your AAPT Tool**
On macOS, with a typical Android Studio install, the path is:

Source: https://chatgpt.com/share/68818171-cb3c-8006-a7ca-402d318a2336

Yes, you can inspect cookies in Safari inside the iOS Simulator, even when using RNCWebView (i.e., react-native-webview), but there are a few things to understand:


✅ Where Cookies Are Stored (iOS Simulator)

When you use RNCWebView, under the hood it's using WKWebView on iOS. Cookies and other data are managed by WKHTTPCookieStore.

git push origin -d [branch_name]
git push origin -d develop
vercel env add
#Source: https://vercel.com/docs/cli/env#usage