From 4258815766c3e9c69177bac367e4d562b2c79b33 Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Tue, 25 Jan 2022 17:47:27 -0800 Subject: [PATCH] [markdown] Update various markdown files to new main branch --- CHANGELOG.md | 2 +- CONTRIBUTING.md | 2 +- README.md | 2 +- apps/README.md | 12 ++++++------ apps/bare-expo/README.md | 2 +- apps/test-suite/README.md | 2 +- docs/pages/guides/authentication.md | 2 +- guides/Expo Universal Module Infrastructure.md | 2 +- guides/Git and Code Reviews.md | 2 +- guides/Migrating Universal Modules to TypeScript.md | 2 +- guides/contributing/Updating Changelogs.md | 4 ++-- guides/releasing/Release Branches.md | 4 ++-- guides/releasing/Release Workflow.md | 6 +++--- packages/expo-ads-admob/README.md | 2 +- packages/expo-ads-facebook/README.md | 2 +- packages/expo-analytics-amplitude/README.md | 2 +- packages/expo-analytics-segment/README.md | 2 +- packages/expo-app-auth/README.md | 2 +- packages/expo-app-loading/README.md | 2 +- packages/expo-apple-authentication/README.md | 2 +- packages/expo-application/README.md | 2 +- packages/expo-asset/README.md | 2 +- packages/expo-auth-session/README.md | 2 +- packages/expo-av/README.md | 2 +- packages/expo-background-fetch/README.md | 2 +- packages/expo-barcode-scanner/README.md | 2 +- packages/expo-battery/README.md | 2 +- packages/expo-blur/README.md | 2 +- packages/expo-brightness/README.md | 2 +- packages/expo-calendar/README.md | 2 +- packages/expo-camera/README.md | 2 +- packages/expo-cellular/README.md | 2 +- packages/expo-constants/README.md | 4 ++-- packages/expo-contacts/README.md | 2 +- packages/expo-crypto/README.md | 2 +- packages/expo-device/README.md | 2 +- packages/expo-document-picker/README.md | 2 +- packages/expo-error-recovery/README.md | 2 +- packages/expo-face-detector/README.md | 2 +- packages/expo-facebook/CHANGELOG.md | 2 +- packages/expo-facebook/README.md | 2 +- packages/expo-file-system/README.md | 2 +- packages/expo-firebase-analytics/README.md | 4 ++-- packages/expo-firebase-core/README.md | 2 +- packages/expo-firebase-recaptcha/README.md | 2 +- packages/expo-font/README.md | 2 +- packages/expo-gl-cpp/README.md | 4 ++-- packages/expo-gl/README.md | 4 ++-- packages/expo-google-app-auth/README.md | 2 +- packages/expo-google-sign-in/README.md | 2 +- packages/expo-haptics/README.md | 2 +- packages/expo-image-manipulator/README.md | 2 +- packages/expo-image-picker/README.md | 2 +- packages/expo-image/README.md | 2 +- packages/expo-in-app-purchases/CHANGELOG.md | 2 +- packages/expo-in-app-purchases/README.md | 4 ++-- packages/expo-intent-launcher/README.md | 2 +- packages/expo-keep-awake/README.md | 2 +- packages/expo-linear-gradient/README.md | 2 +- packages/expo-linking/README.md | 2 +- packages/expo-local-authentication/README.md | 2 +- packages/expo-localization/README.md | 2 +- packages/expo-location/README.md | 2 +- packages/expo-mail-composer/README.md | 2 +- packages/expo-media-library/README.md | 2 +- packages/expo-module-scripts/README.md | 8 ++++---- packages/expo-module-scripts/templates/README.md | 2 +- packages/expo-modules-autolinking/README.md | 2 +- packages/expo-navigation-bar/README.md | 8 ++++---- packages/expo-network/README.md | 2 +- packages/expo-notifications/README.md | 2 +- packages/expo-permissions/README.md | 4 ++-- packages/expo-print/README.md | 2 +- packages/expo-random/README.md | 2 +- packages/expo-screen-orientation/README.md | 2 +- packages/expo-secure-store/README.md | 2 +- packages/expo-sensors/README.md | 2 +- packages/expo-sharing/README.md | 2 +- packages/expo-sms/README.md | 2 +- packages/expo-speech/README.md | 2 +- packages/expo-sqlite/README.md | 2 +- packages/expo-standard-web-crypto/README.md | 2 +- packages/expo-status-bar/README.md | 2 +- packages/expo-store-review/README.md | 2 +- packages/expo-system-ui/README.md | 4 ++-- packages/expo-task-manager/README.md | 2 +- packages/expo-tracking-transparency/README.md | 2 +- packages/expo-updates/README.md | 4 ++-- packages/expo-video-thumbnails/README.md | 2 +- packages/expo-web-browser/README.md | 2 +- packages/expo/CONTRIBUTING.md | 2 +- packages/unimodules-task-manager-interface/README.md | 2 +- 92 files changed, 115 insertions(+), 115 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bb3de12edafd2..c07c2460c84a4b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2103,7 +2103,7 @@ Package-specific changes not released in any SDK will be added here just before - Error code `E_CONF_ERROR` has been replaced with `ERR_FACEBOOK_MISCONFIGURED`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) - Some instances of the error code `E_NO_INIT` in the client have been replaced with `ERR_FACEBOOK_UNINITIALIZED`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) - Some instances of the error code `E_FBLOGIN_ERROR` in the client have been replaced with `ERR_FACEBOOK_LOGIN`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) - - `initializeAsync` now accepts a single argument of type [`FacebookInitializationOptions`](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/facebook.md#login-options), previously this method accepted two arguments: `appId: string` & `appName: string`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) + - `initializeAsync` now accepts a single argument of type [`FacebookInitializationOptions`](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/facebook.md#login-options), previously this method accepted two arguments: `appId: string` & `appName: string`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) - **`expo-gl`** - This version requires at least version 0.63.0 of React Native. It may crash when used with older versions. ([#7948](https://github.com/expo/expo/pull/7948) by [@wkozyra95](https://github.com/wkozyra95)) - **`expo-image-picker`** diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 341408e8bf46cb..c08e0c6896aedc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -103,7 +103,7 @@ The best way to get your changes merged is to build good tests for them! We have ### ✅ Unit Testing 1. Create a test for your feature in the appropriate package's `src/__tests__` directory (if the file doesn't exist already, create it with the `*-test.ts` or `*-test.tsx` extension). -2. Any new bridged native functions have to be added to the [jest-expo](https://github.com/expo/expo/blob/master/packages/jest-expo/src/preset/expoModules.js) package to ensure they are mocked. To help you do this more easily, we've written a tool and a guide on how to do this. Check out [Generating Jest Mocks](https://github.com/expo/expo/blob/master/guides/Generating%20Jest%20Mocks.md)! +2. Any new bridged native functions have to be added to the [jest-expo](https://github.com/expo/expo/blob/main/packages/jest-expo/src/preset/expoModules.js) package to ensure they are mocked. To help you do this more easily, we've written a tool and a guide on how to do this. Check out [Generating Jest Mocks](https://github.com/expo/expo/blob/main/guides/Generating%20Jest%20Mocks.md)! 3. Run the test with `yarn test` and ensure it handles all platforms (iOS, Android, and web). If the feature doesn't support a platform, then you can exclude it by putting your test in a file with a platform extension like: `-test.ios.ts`, `-test.native.ts`, `-test.web.ts`... 4. You can also test platforms one at a time by pressing X and selecting the platform you want to test! diff --git a/README.md b/README.md index f833784fd8d67c..6f6ee0dd47683c 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Discord - + License: MIT diff --git a/apps/README.md b/apps/README.md index 6498b04f93dbca..c915a1181583c0 100644 --- a/apps/README.md +++ b/apps/README.md @@ -2,17 +2,17 @@ This directory contains the apps we use for testing Expo. **Do not add new apps to this repository.** Each app increases our maintenance costs and complexity of different packages in `node_modules` that interact with each other in subtle ways. To keep this repository healthy and maintainable, we need to minimize the number of apps we have. -- #### [bare-expo](https://github.com/expo/expo/tree/master/apps/bare-expo) +- #### [bare-expo](https://github.com/expo/expo/tree/main/apps/bare-expo) A project that uses the bare workflow and can load the Test Suite and Native Component List's JS. -- #### [jest-expo Mock Generator](https://github.com/expo/expo/tree/master/apps/jest-expo-mock-generator) +- #### [jest-expo Mock Generator](https://github.com/expo/expo/tree/main/apps/jest-expo-mock-generator) An app that uses reflection to generate Jest mocks for native modules. Eventually we can remove the need for this once we have a JSON schema for each module definition (Turbomodules) and generate the Jest mock from the JSON schema. -- #### [Home](https://github.com/expo/expo/tree/master/home) (not in this directory) +- #### [Home](https://github.com/expo/expo/tree/main/home) (not in this directory) The UI for the development client. -- #### [Native Component List](https://github.com/expo/expo/tree/master/apps/native-component-list) +- #### [Native Component List](https://github.com/expo/expo/tree/main/apps/native-component-list) A showcase of the components and APIs in the default Expo preset. -- #### [Sandbox](https://github.com/expo/expo/tree/master/apps/sandbox) +- #### [Sandbox](https://github.com/expo/expo/tree/main/apps/sandbox) A project excluded from Git where you can try out things locally. -- #### [Test Suite](https://github.com/expo/expo/tree/master/apps/test-suite) +- #### [Test Suite](https://github.com/expo/expo/tree/main/apps/test-suite) End-to-end tests that run on Expo. Ideally, we'd just have one directory with a customized project with Xcode and Android Studio projects. The project would have different build targets and include different native modules. We'd have a build target each for the Expo Client, Test Suite (customized, with support for APIs like payments), and Native Component List (customized). These would be the only apps in the repository. diff --git a/apps/bare-expo/README.md b/apps/bare-expo/README.md index a3aca7d89c962a..1073c89f721915 100644 --- a/apps/bare-expo/README.md +++ b/apps/bare-expo/README.md @@ -1,6 +1,6 @@ # Bare Workflow -Learn more about this project in [CONTRIBUTING.md](https://github.com/expo/expo/blob/master/CONTRIBUTING.md). +Learn more about this project in [CONTRIBUTING.md](https://github.com/expo/expo/blob/main/CONTRIBUTING.md). ## Usage diff --git a/apps/test-suite/README.md b/apps/test-suite/README.md index 61458e2c2d5931..a2441973331553 100644 --- a/apps/test-suite/README.md +++ b/apps/test-suite/README.md @@ -1,7 +1,7 @@ # Expo Test Suite Hi! This is what will make Expo never break ever. 🙏 -Learn more about this project in [CONTRIBUTING.md](https://github.com/expo/expo/blob/master/CONTRIBUTING.md). +Learn more about this project in [CONTRIBUTING.md](https://github.com/expo/expo/blob/main/CONTRIBUTING.md). ## Running in the browser diff --git a/docs/pages/guides/authentication.md b/docs/pages/guides/authentication.md index eae62ccbc5c310..fa0474a8bcc785 100644 --- a/docs/pages/guides/authentication.md +++ b/docs/pages/guides/authentication.md @@ -23,7 +23,7 @@ Here are some **important rules** that apply to all authentication providers: ## Guides **AuthSession** can be used for any OAuth or OpenID Connect provider, we've assembled guides for using the most requested services! -If you'd like to see more, you can [open a PR](https://github.com/expo/expo/edit/master/docs/pages/guides/authentication.md) or [vote on canny](https://expo.canny.io/feature-requests). +If you'd like to see more, you can [open a PR](https://github.com/expo/expo/edit/main/docs/pages/guides/authentication.md) or [vote on canny](https://expo.canny.io/feature-requests). diff --git a/guides/Expo Universal Module Infrastructure.md b/guides/Expo Universal Module Infrastructure.md index ba7fdb1cb287a3..83706ed61b7ee1 100644 --- a/guides/Expo Universal Module Infrastructure.md +++ b/guides/Expo Universal Module Infrastructure.md @@ -110,6 +110,6 @@ Inside of package.json, set the repository and bugs URLs to the Expo repository. "bugs": { "url": "https://github.com/expo/expo/issues" }, - "homepage": "https://github.com/expo/expo/tree/master/packages/expo-sms" + "homepage": "https://github.com/expo/expo/tree/main/packages/expo-sms" } ``` diff --git a/guides/Git and Code Reviews.md b/guides/Git and Code Reviews.md index a0c8b0c2e5213f..320a8024e58589 100644 --- a/guides/Git and Code Reviews.md +++ b/guides/Git and Code Reviews.md @@ -50,7 +50,7 @@ git config branch.autosetuprebase always ## Pull and rebase often -Keep your master branch up to date. If you make your master branch use rebasing by default (see above), just run `git pull` on master. +Keep your main branch up to date. If you make your main branch use rebasing by default (see above), just run `git pull` on master. Rebasing your feature branches often (`git rebase master`) also increases the likelihood your code works with master and decreases the likelihood of a large merge conflict instead of smaller ones. diff --git a/guides/Migrating Universal Modules to TypeScript.md b/guides/Migrating Universal Modules to TypeScript.md index 0b8031c56ad9e4..1f6b0a8bf3fead 100644 --- a/guides/Migrating Universal Modules to TypeScript.md +++ b/guides/Migrating Universal Modules to TypeScript.md @@ -139,4 +139,4 @@ To get the `tsconfig` that we use in all of our modules, run `expo-module prepar - Remove `flow` - For reusing types across the web implementation's native layer and API layer, types should be moved to a named file with the `.types.ts` extension. There are cases (`expo-av` for example) where you should separate types into smaller files. -[universal-modules]: https://github.com/expo/expo/blob/master/guides/Expo%20Universal%20Module%20Infrastructure.md +[universal-modules]: https://github.com/expo/expo/blob/main/guides/Expo%20Universal%20Module%20Infrastructure.md diff --git a/guides/contributing/Updating Changelogs.md b/guides/contributing/Updating Changelogs.md index d673688a0b140b..c280bf4c971e73 100644 --- a/guides/contributing/Updating Changelogs.md +++ b/guides/contributing/Updating Changelogs.md @@ -7,7 +7,7 @@ A changelog is a file which contains a curated, chronologically ordered list of notable changes for each version of a package. The main purpose of changelogs (in general) is to inform users and contributors about changes that have been made in subsequent versions. However, in the [`expo/expo`](https://github.com/expo/expo) repository, they have one more purpose — to help us decide how to bump the package version when we publish it (see [categories'](#categories) descriptions for more). -Most of the packages inside [`packages`](https://github.com/expo/expo/tree/master/packages) directory have their own changelogs, and these changelogs should be updated each time a change is made to their package. +Most of the packages inside [`packages`](https://github.com/expo/expo/tree/main/packages) directory have their own changelogs, and these changelogs should be updated each time a change is made to their package. ## Changelog entries @@ -62,4 +62,4 @@ Changes can be grouped within several predefined categories (Markdown sections w - `et merge-changelogs` - This command is intented to be used by people doing a SDK release — it merges changelog entries from all SDK packages as of the previous SDK version and puts them into the root's [`CHANGELOG.md`](https://github.com/expo/expo/blob/master/CHANGELOG.md). + This command is intented to be used by people doing a SDK release — it merges changelog entries from all SDK packages as of the previous SDK version and puts them into the root's [`CHANGELOG.md`](https://github.com/expo/expo/blob/main/CHANGELOG.md). diff --git a/guides/releasing/Release Branches.md b/guides/releasing/Release Branches.md index e8fa44bf92061a..d6454e06f6ba71 100644 --- a/guides/releasing/Release Branches.md +++ b/guides/releasing/Release Branches.md @@ -11,7 +11,7 @@ - [Prelease Versions](#prelease-versions) - [Shortcomings](#shortcomings) -The release process begins when we decide that Expo Go and the libraries on the master branch are ready for the next release. This happens after we have created versioned code for the next SDK. We try to keep the tests always passing on master so that we can release at any time but we don’t release from master. Instead, we create a release branch. +The release process begins when we decide that Expo Go and the libraries on the main branch are ready for the next release. This happens after we have created versioned code for the next SDK. We try to keep the tests always passing on master so that we can release at any time but we don’t release from master. Instead, we create a release branch. The release branch is named `sdk-XX` and is based on master. The main purpose of the release branch is to release new versions of Expo Go and the SDK libraries; we use the release branch to build the Expo Go apps we submit to the app stores and to publish our JS libraries to npm. @@ -45,7 +45,7 @@ Sometimes code on master will be significantly different than code on a release ### It’s easier to write and test the fix on the release branch instead of master. -It’s OK to write the fix on your local copy of the release branch if it’s easier to develop that way. If a tree falls in a forest and no one is around to hear it, does it make a sound? But when it comes time to send the commit for code review and push it to GitHub, commit it to the master branch first. +It’s OK to write the fix on your local copy of the release branch if it’s easier to develop that way. If a tree falls in a forest and no one is around to hear it, does it make a sound? But when it comes time to send the commit for code review and push it to GitHub, commit it to the main branch first. Note that even with these edge cases, we always preserve the unidirectional commit invariant. diff --git a/guides/releasing/Release Workflow.md b/guides/releasing/Release Workflow.md index ac5d90bd43b456..e279b0a1445497 100644 --- a/guides/releasing/Release Workflow.md +++ b/guides/releasing/Release Workflow.md @@ -174,7 +174,7 @@ In the managed workflow, we use our forked `react-native` repository because we **How:** -- On master branch, run `et update-project-templates`/`et upt` that checks all `expo-template-*` packages under `templates` directory and bumps dependency versions wherever possible – based on versions stored in `packages/expo/bundledNativeModules.json` for Expo modules and 3rd-party libraries, `react-native` fork with appropriate SDK version and `expo` package itself. +- On main branch, run `et update-project-templates`/`et upt` that checks all `expo-template-*` packages under `templates` directory and bumps dependency versions wherever possible – based on versions stored in `packages/expo/bundledNativeModules.json` for Expo modules and 3rd-party libraries, `react-native` fork with appropriate SDK version and `expo` package itself. - Update the native project files in bare templates based on the diffs on https://react-native-community.github.io/upgrade-helper/ - Test these project templates - you don't have to use `expo init` at this point, just `expo start` them locally. You will need to set `"sdkVersion": "UNVERSIONED"` in `app.json` for managed templates to test them at this point. - Run `et publish-templates`/`et ppt` and answer to questions it asks. **IMPORTANT:** These versions should be tagged as `sdk-XX` and not `latest`. (If tagged as `latest` they will be used by default whenever anyone runs `expo init`.) @@ -351,8 +351,8 @@ Web is comparatively well-tested in CI, so a few manual smoke tests suffice for **How:** -- From the master branch, run `et publish-packages` and publish all packages with changes. -- From the master branch, run `et sync-bundled-native-modules` to sync the `bundledNativeModules.json` file with www. +- From the main branch, run `et publish-packages` and publish all packages with changes. +- From the main branch, run `et sync-bundled-native-modules` to sync the `bundledNativeModules.json` file with www. - If there are any packages for which a patch was cherry-picked to the release branch AND a new feature (requiring a minor version bump) was added on master in the meantime, you will need to publish a patch release of that package from the release branch which does not include the new feature. - Note that **only** the patch version number can be bumped on the release branch; **do not** bump the minor version number of any package on the release branch. diff --git a/packages/expo-ads-admob/README.md b/packages/expo-ads-admob/README.md index fddd49f995bfaf..a49bbd92450733 100644 --- a/packages/expo-ads-admob/README.md +++ b/packages/expo-ads-admob/README.md @@ -4,7 +4,7 @@ Provides support for the Google AdMob SDK (https://www.google.com/admob/) for mo # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/admob.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/admob.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/admob/) # Installation in managed Expo projects diff --git a/packages/expo-ads-facebook/README.md b/packages/expo-ads-facebook/README.md index 3342a99717af53..fd3d808934ded6 100644 --- a/packages/expo-ads-facebook/README.md +++ b/packages/expo-ads-facebook/README.md @@ -4,7 +4,7 @@ Facebook Audience SDK integration # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/facebook-ads.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/facebook-ads.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/facebook-ads/) # Installation in managed Expo projects diff --git a/packages/expo-analytics-amplitude/README.md b/packages/expo-analytics-amplitude/README.md index 3d8e2438df5890..89ba33f42dc4ae 100644 --- a/packages/expo-analytics-amplitude/README.md +++ b/packages/expo-analytics-amplitude/README.md @@ -4,7 +4,7 @@ Provides access to Amplitude (https://amplitude.com/) mobile analytics. This mod # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/amplitude.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/amplitude.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/amplitude/) # Installation in managed Expo projects diff --git a/packages/expo-analytics-segment/README.md b/packages/expo-analytics-segment/README.md index 03121739afb1d8..ef11e1fde67a3a 100644 --- a/packages/expo-analytics-segment/README.md +++ b/packages/expo-analytics-segment/README.md @@ -4,7 +4,7 @@ Expo module that provides access to Segment mobile analytics # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/segment.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/segment.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/segment/) # Installation in managed Expo projects diff --git a/packages/expo-app-auth/README.md b/packages/expo-app-auth/README.md index 4cb368e087c650..9013d25066eca1 100644 --- a/packages/expo-app-auth/README.md +++ b/packages/expo-app-auth/README.md @@ -4,7 +4,7 @@ Provides an interface with the OpenID library AppAuth # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/app-auth.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/app-auth.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/app-auth/) # Installation in managed Expo projects diff --git a/packages/expo-app-loading/README.md b/packages/expo-app-loading/README.md index 02f47ab70e7d3a..465d998367a9fa 100644 --- a/packages/expo-app-loading/README.md +++ b/packages/expo-app-loading/README.md @@ -5,7 +5,7 @@ This can be useful while download and cache fonts, logos, icon images and other # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/app-loading.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/app-loading.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/app-loading/) # Installation in managed Expo projects diff --git a/packages/expo-apple-authentication/README.md b/packages/expo-apple-authentication/README.md index 10efb99b345481..163f089554adfd 100644 --- a/packages/expo-apple-authentication/README.md +++ b/packages/expo-apple-authentication/README.md @@ -4,7 +4,7 @@ This library provides Apple authentication for iOS standalone apps in the manage # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/apple-authentication.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/apple-authentication.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/apple-authentication/) # Installation in managed Expo projects diff --git a/packages/expo-application/README.md b/packages/expo-application/README.md index ee45e967a65591..4f097c119ed9ed 100644 --- a/packages/expo-application/README.md +++ b/packages/expo-application/README.md @@ -4,7 +4,7 @@ Gets native application information such as its ID, app name, and build version # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/application.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/application.md) # Installation in managed Expo projects diff --git a/packages/expo-asset/README.md b/packages/expo-asset/README.md index 52c2a1198aa3cc..d94f25fd598936 100644 --- a/packages/expo-asset/README.md +++ b/packages/expo-asset/README.md @@ -4,7 +4,7 @@ An Expo universal module to download assets and pass them into other APIs # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/asset.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/asset.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/asset/) # Installation in managed Expo projects diff --git a/packages/expo-auth-session/README.md b/packages/expo-auth-session/README.md index 027cf073378fb6..f6b651fb800c6a 100644 --- a/packages/expo-auth-session/README.md +++ b/packages/expo-auth-session/README.md @@ -4,7 +4,7 @@ # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/auth-session.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/auth-session.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/auth-session) # Installation in managed Expo projects diff --git a/packages/expo-av/README.md b/packages/expo-av/README.md index 30287bf40e8a08..189fd86866a1f4 100644 --- a/packages/expo-av/README.md +++ b/packages/expo-av/README.md @@ -4,7 +4,7 @@ Expo universal module for Audio and Video playback # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/av.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/av.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/av/) # Installation in managed Expo projects diff --git a/packages/expo-background-fetch/README.md b/packages/expo-background-fetch/README.md index 4b2343d14cc87e..3a98054c6093b7 100644 --- a/packages/expo-background-fetch/README.md +++ b/packages/expo-background-fetch/README.md @@ -4,7 +4,7 @@ Expo universal module for BackgroundFetch API # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/background-fetch.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/background-fetch.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/background-fetch/) # Installation in managed Expo projects diff --git a/packages/expo-barcode-scanner/README.md b/packages/expo-barcode-scanner/README.md index a6a3af15cdd671..ab4edbee05c7b0 100644 --- a/packages/expo-barcode-scanner/README.md +++ b/packages/expo-barcode-scanner/README.md @@ -4,7 +4,7 @@ Allows scanning variety of supported barcodes both as standalone module and as e # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/bar-code-scanner.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/bar-code-scanner.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/bar-code-scanner/) # Installation in managed Expo projects diff --git a/packages/expo-battery/README.md b/packages/expo-battery/README.md index 47484e8b4f3f36..a8fcb48a33a111 100644 --- a/packages/expo-battery/README.md +++ b/packages/expo-battery/README.md @@ -4,7 +4,7 @@ Provide battery information for the physical device. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/battery.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/battery.md) # Installation in managed Expo projects diff --git a/packages/expo-blur/README.md b/packages/expo-blur/README.md index 51d801b7b0aed9..67dec60d265fad 100644 --- a/packages/expo-blur/README.md +++ b/packages/expo-blur/README.md @@ -4,7 +4,7 @@ A component that renders a native blur view on iOS and falls back to a semi-tran # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/blur-view.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/blur-view.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/blur-view/) # Installation in managed Expo projects diff --git a/packages/expo-brightness/README.md b/packages/expo-brightness/README.md index ed5499cab5d6b4..557ffa09663b62 100644 --- a/packages/expo-brightness/README.md +++ b/packages/expo-brightness/README.md @@ -4,7 +4,7 @@ Provides an API to get and set screen brightness. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/brightness.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/brightness.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/brightness/) # Installation in managed Expo projects diff --git a/packages/expo-calendar/README.md b/packages/expo-calendar/README.md index 6f3dba777a3055..18d27aecdf548d 100644 --- a/packages/expo-calendar/README.md +++ b/packages/expo-calendar/README.md @@ -4,7 +4,7 @@ Provides an API for interacting with the device's system calendars, events, remi # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/calendar.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/calendar.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/calendar/) # Installation in managed Expo projects diff --git a/packages/expo-camera/README.md b/packages/expo-camera/README.md index 1e9a0122623c70..30292be101a57a 100644 --- a/packages/expo-camera/README.md +++ b/packages/expo-camera/README.md @@ -4,7 +4,7 @@ A React component that renders a preview for the device's either front or back c # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/camera.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/camera.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/camera/) # Installation in managed Expo projects diff --git a/packages/expo-cellular/README.md b/packages/expo-cellular/README.md index ca83b163d052f4..0274eafb392e8c 100644 --- a/packages/expo-cellular/README.md +++ b/packages/expo-cellular/README.md @@ -4,7 +4,7 @@ Information about the user’s cellular service provider, such as its unique ide # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/cellular.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/cellular.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/cellular/) # Installation in managed Expo projects diff --git a/packages/expo-constants/README.md b/packages/expo-constants/README.md index 59a4023992b68f..98471c63826a32 100644 --- a/packages/expo-constants/README.md +++ b/packages/expo-constants/README.md @@ -4,7 +4,7 @@ Provides system information that remains constant throughout the lifetime of you # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/constants.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/constants.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/constants/) # Installation in managed Expo projects @@ -25,7 +25,7 @@ expo install expo-constants In a monorepo, the `expo-constants` package might be in a different folder than the native scripts are expecting. You can easily symlink the node module to your app's local `node_modules` folder by doing the following: -- Follow the setup instructions for [`expo-yarn-workspaces`](https://github.com/expo/expo/tree/master/packages/expo-yarn-workspaces). +- Follow the setup instructions for [`expo-yarn-workspaces`](https://github.com/expo/expo/tree/main/packages/expo-yarn-workspaces). - Add the following configuration to your app's `package.json`: ```json diff --git a/packages/expo-contacts/README.md b/packages/expo-contacts/README.md index 6784f85fa118ed..a21aa89a6798c9 100644 --- a/packages/expo-contacts/README.md +++ b/packages/expo-contacts/README.md @@ -4,7 +4,7 @@ Provides access to the phone's system contacts. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/contacts.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/contacts.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/contacts/) # Installation in managed Expo projects diff --git a/packages/expo-crypto/README.md b/packages/expo-crypto/README.md index ace875e632e478..69a39fbaff17ae 100644 --- a/packages/expo-crypto/README.md +++ b/packages/expo-crypto/README.md @@ -4,7 +4,7 @@ Provides cryptography primitives. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/crypto.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/crypto.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/crypto/) # Installation in managed Expo projects diff --git a/packages/expo-device/README.md b/packages/expo-device/README.md index 8158813e26ae93..ae95a1991c8844 100644 --- a/packages/expo-device/README.md +++ b/packages/expo-device/README.md @@ -4,7 +4,7 @@ Provides specific information about the device running the application. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/device.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/device.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/device/) # Installation in managed Expo projects diff --git a/packages/expo-document-picker/README.md b/packages/expo-document-picker/README.md index 24c3a27436968d..ddbedd12adff77 100644 --- a/packages/expo-document-picker/README.md +++ b/packages/expo-document-picker/README.md @@ -4,7 +4,7 @@ Provides access to the system's UI for selecting documents from the available pr # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/document-picker.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/document-picker.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/document-picker/) # Installation in managed Expo projects diff --git a/packages/expo-error-recovery/README.md b/packages/expo-error-recovery/README.md index a0090c1290d907..dd1191d27fd851 100644 --- a/packages/expo-error-recovery/README.md +++ b/packages/expo-error-recovery/README.md @@ -4,7 +4,7 @@ # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/error-recovery.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/error-recovery.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/error-recovery/) # Installation in managed Expo projects diff --git a/packages/expo-face-detector/README.md b/packages/expo-face-detector/README.md index 3c77fd252ce6d8..c07eeffd46ec9c 100644 --- a/packages/expo-face-detector/README.md +++ b/packages/expo-face-detector/README.md @@ -4,7 +4,7 @@ Lets you use the power of MLKit (https://firebase.google.com/docs/ml-kit/detect- # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/facedetector.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/facedetector.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/facedetector/) # Installation in managed Expo projects diff --git a/packages/expo-facebook/CHANGELOG.md b/packages/expo-facebook/CHANGELOG.md index b4c19c607cdf88..33a566b5a2a7e1 100644 --- a/packages/expo-facebook/CHANGELOG.md +++ b/packages/expo-facebook/CHANGELOG.md @@ -141,7 +141,7 @@ _This version does not introduce any user-facing changes._ - `expo-facebook` Error code `E_CONF_ERROR` has been replaced with `ERR_FACEBOOK_MISCONFIGURED`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) - `expo-facebook` Some instances of the error code `E_NO_INIT` in the client have been replaced with `ERR_FACEBOOK_UNINITIALIZED`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) - `expo-facebook` Some instances of the error code `E_FBLOGIN_ERROR` in the client have been replaced with `ERR_FACEBOOK_LOGIN`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) -- `initializeAsync` now accepts a single argument of type [`FacebookInitializationOptions`](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/facebook.md#login-options), previously this method accepted two arguments: `appId: string` & `appName: string`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) +- `initializeAsync` now accepts a single argument of type [`FacebookInitializationOptions`](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/facebook.md#login-options), previously this method accepted two arguments: `appId: string` & `appName: string`. ([#7101](https://github.com/expo/expo/pull/7101) by [@evanbacon](https://github.com/evanbacon)) ### 🎉 New features diff --git a/packages/expo-facebook/README.md b/packages/expo-facebook/README.md index 58616c55021b2b..552ebcc3d255ff 100644 --- a/packages/expo-facebook/README.md +++ b/packages/expo-facebook/README.md @@ -4,7 +4,7 @@ Expo universal module for Facebook SDK # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/facebook.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/facebook.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/facebook/) # Installation in managed Expo projects diff --git a/packages/expo-file-system/README.md b/packages/expo-file-system/README.md index d9fd564abdbf8a..8de7b454b86635 100644 --- a/packages/expo-file-system/README.md +++ b/packages/expo-file-system/README.md @@ -4,7 +4,7 @@ Provides access to the local file system on the device. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/filesystem.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/filesystem.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/filesystem/) # Installation in managed Expo projects diff --git a/packages/expo-firebase-analytics/README.md b/packages/expo-firebase-analytics/README.md index 074bbba557b863..90cc42c8ba3009 100644 --- a/packages/expo-firebase-analytics/README.md +++ b/packages/expo-firebase-analytics/README.md @@ -7,7 +7,7 @@ Learn more in the official [Firebase Docs](https://firebase.google.com/docs/anal # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/firebase-analytics.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/firebase-analytics.md) # Installation in managed Expo projects @@ -29,7 +29,7 @@ Run `npx pod-install` after installing the npm package. # Setup native Firebase -Follow the ["Setup Native Firebase"](https://github.com/expo/expo/blob/master/docs/pages/guides/setup-native-firebase.md) guide in the docs to get started using native Firebase SDK features. +Follow the ["Setup Native Firebase"](https://github.com/expo/expo/blob/main/docs/pages/guides/setup-native-firebase.md) guide in the docs to get started using native Firebase SDK features. # Contributing diff --git a/packages/expo-firebase-core/README.md b/packages/expo-firebase-core/README.md index e755f14d822230..a9a5d5f385b038 100644 --- a/packages/expo-firebase-core/README.md +++ b/packages/expo-firebase-core/README.md @@ -6,7 +6,7 @@ this module to get safe access to the native Firebase App. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/firebase-core.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/firebase-core.md) # Installation in managed Expo projects diff --git a/packages/expo-firebase-recaptcha/README.md b/packages/expo-firebase-recaptcha/README.md index 9daee3863310ff..61955396e4ed12 100644 --- a/packages/expo-firebase-recaptcha/README.md +++ b/packages/expo-firebase-recaptcha/README.md @@ -4,7 +4,7 @@ reCAPTCHA components for Firebase phone authentication 📱 # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/firebase-recaptcha.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/firebase-recaptcha.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/firebase-recaptcha/) # Installation diff --git a/packages/expo-font/README.md b/packages/expo-font/README.md index 6a2ba00c674266..405810060e0a08 100644 --- a/packages/expo-font/README.md +++ b/packages/expo-font/README.md @@ -4,7 +4,7 @@ Load fonts at runtime and use them in React Native components. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/font.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/font.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/font/) # Installation in managed Expo projects diff --git a/packages/expo-gl-cpp/README.md b/packages/expo-gl-cpp/README.md index 527e391467e60d..96803364f73162 100644 --- a/packages/expo-gl-cpp/README.md +++ b/packages/expo-gl-cpp/README.md @@ -4,7 +4,7 @@ C++ bindings for WebGL 2.0 used in Expo GL module # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/gl-view.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/gl-view.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/gl-view/) # Installation in managed Expo projects @@ -17,7 +17,7 @@ For bare React Native projects, you must ensure that you have [installed and con ### Add the package to your npm dependencies -Note: this should be used in conjunction with [expo-gl](https://github.com/expo/expo/tree/master/packages/expo-gl). +Note: this should be used in conjunction with [expo-gl](https://github.com/expo/expo/tree/main/packages/expo-gl). ``` expo install expo-gl-cpp diff --git a/packages/expo-gl/README.md b/packages/expo-gl/README.md index c0d4ead9f68d97..3f4834c891af7c 100644 --- a/packages/expo-gl/README.md +++ b/packages/expo-gl/README.md @@ -4,7 +4,7 @@ Provides GLView that acts as OpenGL ES render target and gives GL context object # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/gl-view.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/gl-view.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/gl-view/) # Installation in managed Expo projects @@ -17,7 +17,7 @@ For bare React Native projects, you must ensure that you have [installed and con ### Install expo-gl-cpp -expo-gl requires that you also install and configure [expo-gl-cpp](https://github.com/expo/expo/tree/master/packages/expo-gl-cpp). +expo-gl requires that you also install and configure [expo-gl-cpp](https://github.com/expo/expo/tree/main/packages/expo-gl-cpp). ### Add the package to your npm dependencies diff --git a/packages/expo-google-app-auth/README.md b/packages/expo-google-app-auth/README.md index 0b309a2951903c..de7d693aac52b7 100644 --- a/packages/expo-google-app-auth/README.md +++ b/packages/expo-google-app-auth/README.md @@ -4,7 +4,7 @@ Provides a wrapper around expo-app-auth for Google sign in. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/google.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/google.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/google/) # Installation diff --git a/packages/expo-google-sign-in/README.md b/packages/expo-google-sign-in/README.md index eb56e309fd0b4e..52c72fc0e25a7f 100644 --- a/packages/expo-google-sign-in/README.md +++ b/packages/expo-google-sign-in/README.md @@ -6,7 +6,7 @@ Enables native Google authentication features in your app! # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/google-sign-in.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/google-sign-in.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/google-sign-in/) # Installation in managed Expo projects diff --git a/packages/expo-haptics/README.md b/packages/expo-haptics/README.md index 9117269de754ff..7e34df0c8c938c 100644 --- a/packages/expo-haptics/README.md +++ b/packages/expo-haptics/README.md @@ -4,7 +4,7 @@ Provides access to the system's haptics engine on iOS and vibration effects on A # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/haptics.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/haptics.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/haptics/) # Installation in managed Expo projects diff --git a/packages/expo-image-manipulator/README.md b/packages/expo-image-manipulator/README.md index a7ab9cb822a133..7fe2091ad93aa8 100644 --- a/packages/expo-image-manipulator/README.md +++ b/packages/expo-image-manipulator/README.md @@ -4,7 +4,7 @@ Provides functions that let you manipulation images on the local file system, eg # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/imagemanipulator.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/imagemanipulator.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/imagemanipulator/) # Installation in managed Expo projects diff --git a/packages/expo-image-picker/README.md b/packages/expo-image-picker/README.md index aa42c43aed6400..7dd508b11ad641 100644 --- a/packages/expo-image-picker/README.md +++ b/packages/expo-image-picker/README.md @@ -4,7 +4,7 @@ Provides access to the system's UI for selecting images and videos from the phon # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/imagepicker.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/imagepicker.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/imagepicker/) # Installation in managed Expo projects diff --git a/packages/expo-image/README.md b/packages/expo-image/README.md index c56b3ddf0eae7e..3ca79849249687 100644 --- a/packages/expo-image/README.md +++ b/packages/expo-image/README.md @@ -4,7 +4,7 @@ A cross-platform, performant image component for React Native and Expo with Web # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/image.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/image.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/image/) # Installation in managed Expo projects diff --git a/packages/expo-in-app-purchases/CHANGELOG.md b/packages/expo-in-app-purchases/CHANGELOG.md index 7e3b1b787ca498..cc5a435ca16d35 100644 --- a/packages/expo-in-app-purchases/CHANGELOG.md +++ b/packages/expo-in-app-purchases/CHANGELOG.md @@ -35,7 +35,7 @@ _This version does not introduce any user-facing changes._ ### 🛠 Breaking changes - `purchaseItemAsync` no longer accepts the old SKU as the second (optional) argument. Instead, this method now accepts the `purchaseToken` of the purchase you are replacing as the second argument. You can get this value via `getPurchaseHistoryAsync`. This change only affects Android. ([#13884](https://github.com/expo/expo/pull/13884) by [@cruzach](https://github.com/cruzach)) -- `getPurchaseHistoryAsync` no longer accepts a boolean parameter. Instead, it accepts an object containing the key `useGooglePlayCache`. `useGooglePlayCache` functions similarly to the the previous `refresh` parameter, except it is clearer in naming. If you had `refresh` as false, you should pass `useGooglePlayCache: true`. If `refresh` was true, you should pass `useGooglePlayCache: false`. Please see the [docs](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/in-app-purchases.md#inapppurchasesgetpurchasehistoryasyncrefresh-boolean) for more information. ([#13942](https://github.com/expo/expo/pull/13942) by [@cruzach](https://github.com/cruzach)) +- `getPurchaseHistoryAsync` no longer accepts a boolean parameter. Instead, it accepts an object containing the key `useGooglePlayCache`. `useGooglePlayCache` functions similarly to the the previous `refresh` parameter, except it is clearer in naming. If you had `refresh` as false, you should pass `useGooglePlayCache: true`. If `refresh` was true, you should pass `useGooglePlayCache: false`. Please see the [docs](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/in-app-purchases.md#inapppurchasesgetpurchasehistoryasyncrefresh-boolean) for more information. ([#13942](https://github.com/expo/expo/pull/13942) by [@cruzach](https://github.com/cruzach)) ### 🐛 Bug fixes diff --git a/packages/expo-in-app-purchases/README.md b/packages/expo-in-app-purchases/README.md index b30033eff704f5..cf616db52ad651 100644 --- a/packages/expo-in-app-purchases/README.md +++ b/packages/expo-in-app-purchases/README.md @@ -4,12 +4,12 @@ # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/in-app-purchases.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/in-app-purchases.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/in-app-purchases/) # Installation -You must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/expo/expo/tree/master/packages/react-native-unimodules) before continuing. +You must ensure that you have [installed and configured the `react-native-unimodules` package](https://github.com/expo/expo/tree/main/packages/react-native-unimodules) before continuing. ### Add the package to your dependencies diff --git a/packages/expo-intent-launcher/README.md b/packages/expo-intent-launcher/README.md index 65151d62711dbf..f3b16629f78e6e 100644 --- a/packages/expo-intent-launcher/README.md +++ b/packages/expo-intent-launcher/README.md @@ -4,7 +4,7 @@ Provides a way to launch Android intents, e.g. opening a specific activity. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/intent-launcher.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/intent-launcher.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/intent-launcher/) # Installation in managed Expo projects diff --git a/packages/expo-keep-awake/README.md b/packages/expo-keep-awake/README.md index f13d6b6540564b..1f755572cc21b5 100644 --- a/packages/expo-keep-awake/README.md +++ b/packages/expo-keep-awake/README.md @@ -4,7 +4,7 @@ Provides a React component that prevents the screen sleeping when rendered. It a # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/keep-awake.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/keep-awake.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/keep-awake/) # Installation in managed Expo projects diff --git a/packages/expo-linear-gradient/README.md b/packages/expo-linear-gradient/README.md index f4fe3ab181b1c5..00591879d398bd 100644 --- a/packages/expo-linear-gradient/README.md +++ b/packages/expo-linear-gradient/README.md @@ -4,7 +4,7 @@ Provides a React component that renders a gradient view. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/linear-gradient.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/linear-gradient.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/linear-gradient/) # Installation in managed Expo projects diff --git a/packages/expo-linking/README.md b/packages/expo-linking/README.md index 936f2f2518d85f..b5796dc6589548 100644 --- a/packages/expo-linking/README.md +++ b/packages/expo-linking/README.md @@ -4,7 +4,7 @@ Create and open deep links universally. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/linking.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/linking.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/linking/) # Installation in managed Expo projects diff --git a/packages/expo-local-authentication/README.md b/packages/expo-local-authentication/README.md index d0cf458ce6352d..e30a68c48b93d2 100644 --- a/packages/expo-local-authentication/README.md +++ b/packages/expo-local-authentication/README.md @@ -4,7 +4,7 @@ Provides an API for FaceID and TouchID (iOS) or the Fingerprint API (Android) to # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/local-authentication.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/local-authentication.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/local-authentication/) # Installation in managed Expo projects diff --git a/packages/expo-localization/README.md b/packages/expo-localization/README.md index b06745fd38f0d6..3d7ee2a4caaef7 100644 --- a/packages/expo-localization/README.md +++ b/packages/expo-localization/README.md @@ -4,7 +4,7 @@ Provides an interface for native user localization information. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/localization.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/localization.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/localization/) # Installation in managed Expo projects diff --git a/packages/expo-location/README.md b/packages/expo-location/README.md index 415862613b4ba0..5c8174a8e8f570 100644 --- a/packages/expo-location/README.md +++ b/packages/expo-location/README.md @@ -4,7 +4,7 @@ Allows reading geolocation information from the device. Your app can poll for th # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/location.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/location.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/location/) # Installation in managed Expo projects diff --git a/packages/expo-mail-composer/README.md b/packages/expo-mail-composer/README.md index d396327428fbdc..ce0e7a6ed1d8db 100644 --- a/packages/expo-mail-composer/README.md +++ b/packages/expo-mail-composer/README.md @@ -4,7 +4,7 @@ Provides an API to compose mails using OS specific UI # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/mail-composer.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/mail-composer.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/mail-composer/) # Installation in managed Expo projects diff --git a/packages/expo-media-library/README.md b/packages/expo-media-library/README.md index b4db463f8f5fb2..b911ceee88036a 100644 --- a/packages/expo-media-library/README.md +++ b/packages/expo-media-library/README.md @@ -4,7 +4,7 @@ Provides access to user's media library. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/media-library.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/media-library.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/media-library/) # Installation in managed Expo projects diff --git a/packages/expo-module-scripts/README.md b/packages/expo-module-scripts/README.md index fc752cb3a0d698..f65ed23f1bf265 100644 --- a/packages/expo-module-scripts/README.md +++ b/packages/expo-module-scripts/README.md @@ -54,8 +54,8 @@ Add the following scripts to your `package.json` and run `yarn` Running `yarn` will now run the `prepare` script, which generates any missing files: -- [`.eslintrc.js`](./templates/.eslintrc.js) ([docs](https://eslint.org/docs/user-guide/configuring)) this extends [`eslint-config-universe`](https://github.com/expo/expo/tree/master/packages/eslint-config-universe). - - Optionally you can customize Prettier too: [.prettierrc guide](https://github.com/expo/expo/tree/master/packages/eslint-config-universe#customizing-prettier). +- [`.eslintrc.js`](./templates/.eslintrc.js) ([docs](https://eslint.org/docs/user-guide/configuring)) this extends [`eslint-config-universe`](https://github.com/expo/expo/tree/main/packages/eslint-config-universe). + - Optionally you can customize Prettier too: [.prettierrc guide](https://github.com/expo/expo/tree/main/packages/eslint-config-universe#customizing-prettier). - [`.npmignore`](./templates/.npmignore) ([docs](https://docs.npmjs.com/misc/developers)) currently only ignores the `babel.config.js` in your module. You might also want to also add tests and docs. - Expo modules use `.npmignore` **instead of** the `files` field in the `package.json`. - (Pro Tip) Test which files get packaged by running `npm pack`. If you see files that aren't crucial to running the module, you should add them to `.npmignore`. @@ -144,7 +144,7 @@ Use the following scripts to interact with the plugin: ### 🤡 Jest -The Jest preset extends [`jest-expo`](https://github.com/expo/expo/tree/master/packages/jest-expo) or [`jest-expo-enzyme`](https://github.com/expo/expo/tree/master/packages/jest-expo-enzyme) and adds proper TypeScript support and type declarations to the presets. +The Jest preset extends [`jest-expo`](https://github.com/expo/expo/tree/main/packages/jest-expo) or [`jest-expo-enzyme`](https://github.com/expo/expo/tree/main/packages/jest-expo-enzyme) and adds proper TypeScript support and type declarations to the presets. **For unit testing API-based modules:** @@ -288,7 +288,7 @@ One of the rules enforced is restricting any imports from the `fbjs` library. As Replacements for common `fbjs` uses-cases are listed below: - `invariant`- replace with [`invariant`](https://www.npmjs.com/package/invariant) -- `ExecutionEnvironment`- replace with [`Platform` from `@unimodules/core`](https://github.com/expo/expo/blob/master/packages/%40unimodules/react-native-adapter/src/Platform.ts) +- `ExecutionEnvironment`- replace with [`Platform` from `@unimodules/core`](https://github.com/expo/expo/blob/main/packages/%40unimodules/react-native-adapter/src/Platform.ts) #### lint plugin diff --git a/packages/expo-module-scripts/templates/README.md b/packages/expo-module-scripts/templates/README.md index acec1db7cd3321..a45844a25980d8 100644 --- a/packages/expo-module-scripts/templates/README.md +++ b/packages/expo-module-scripts/templates/README.md @@ -5,7 +5,7 @@ ${description} # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/${docName}.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/${docName}.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/${docName}/) diff --git a/packages/expo-modules-autolinking/README.md b/packages/expo-modules-autolinking/README.md index 7b28f6ed6eed14..8419638d264b41 100644 --- a/packages/expo-modules-autolinking/README.md +++ b/packages/expo-modules-autolinking/README.md @@ -4,7 +4,7 @@ Scripts that autolink Expo modules. # API documentation -- [Documentation for the master branch](https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/module-autolinking.md) +- [Documentation for the main branch](https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/module-autolinking.md) - [Documentation for the latest stable release](https://docs.expo.io/versions/latest/sdk/module-autolinking/) # Installation in managed Expo projects diff --git a/packages/expo-navigation-bar/README.md b/packages/expo-navigation-bar/README.md index 46a0b7d79cacdb..5c1dae942f2f44 100644 --- a/packages/expo-navigation-bar/README.md +++ b/packages/expo-navigation-bar/README.md @@ -6,7 +6,7 @@ Properties are named after style properties; visibility, position, backgroundCol ## API documentation -- [Documentation for the master branch][docs-main] +- [Documentation for the main branch][docs-main] - [Documentation for the latest stable release][docs-stable] ## Installation in managed Expo projects @@ -29,9 +29,9 @@ expo install expo-navigation-bar Contributions are very welcome! Please refer to guidelines described in the [contributing guide][contributing]. -[docs-main]: https://github.com/expo/expo/blob/master/docs/pages/versions/unversioned/sdk/navigation-bar.md +[docs-main]: https://github.com/expo/expo/blob/main/docs/pages/versions/unversioned/sdk/navigation-bar.md [docs-stable]: https://docs.expo.io/versions/latest/sdk/navigation-bar/ [docs-workflows]: https://docs.expo.io/versions/latest/introduction/managed-vs-bare/ [contributing]: https://github.com/expo/expo#contributing -[unimodules]: https://github.com/expo/expo/tree/master/packages/react-native-unimodules -[status-bar]: https://github.com/expo/expo/tree/master/packages/expo-status-bar \ No newline at end of file +[unimodules]: https://github.com/expo/expo/tree/main/packages/react-native-unimodules +[status-bar]: https://github.com/expo/expo/tree/main/packages/expo-status-bar \ No newline at end of file diff --git a/packages/expo-network/README.md b/packages/expo-network/README.md index bab231b596a3a3..d675cf31f5df14 100644 --- a/packages/expo-network/README.md +++ b/packages/expo-network/README.md @@ -6,7 +6,7 @@ See [ docs](https://docs.expo.dev/versions/latest/sdk/