This gist is updated daily via cron job and lists stats for npm packages:
- Top 1,000 most depended-upon packages
- Top 1,000 packages with largest number of dependencies
- Top 1,000 packages with highest PageRank score
/* | |
* Convert `app.json` to `app.config.js` | |
* Install `@expo/config-plugins` as a devDependency | |
* Copy the `withAndroidApplicationAttributes` config plugin and related `addAttributesToApplication` function to `app.config.js` | |
* Add a `plugins` section to reference the config plugin and specify the attribute to add | |
* Build with `eas build -p android ...` | |
*/ | |
import { AndroidConfig, withAndroidManifest } from "@expo/config-plugins"; | |
function addAttributesToApplication(androidManifest, attributes) { |
rem to disable private dns | |
adb shell settings put global private_dns_mode off | |
rem to enable private dns with hostname (example with dns.adguard.com) | |
adb shell settings put global private_dns_mode hostname | |
adb shell settings put global private_dns_specifier dns.adguard.com |