Skip to content

Commit f978d86

Browse files
authored
fix(docs): typos (#7965)
* fix: `resource` typo * fix: `initialized` typo * fix: `initialize` typo * fix: `minimized` typo * chore: trigger cla-action
1 parent eba92d8 commit f978d86

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

docs/crashlytics/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default function App() {
120120
try {
121121
if (users) {
122122
// An empty array is truthy, but not actually true.
123-
// Therefore the array was never initialised.
123+
// Therefore the array was never initialized.
124124
setUserCounts(userCounts.push(users.length));
125125
}
126126
} catch (error) {

docs/database/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ For example:
341341
import database, { firebase } from '@react-native-firebase/database';
342342

343343
// create a secondary app
344-
const secondaryApp = await firebase.initalizeApp(credentials, config);
344+
const secondaryApp = await firebase.initializeApp(credentials, config);
345345

346346
// pass the secondary app instance to the database module
347347
const secondaryDatabase = database(secondaryApp);

docs/messaging/usage/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ scenarios, it is first important to establish the various states a device can be
115115
| State | Description |
116116
| -------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
117117
| **Foreground** | When the application is open and in view. |
118-
| **Background** | When the application is open, however in the background (minimised). This typically occurs when the user has pressed the "home" button on the device or has switched to another app via the app switcher. |
118+
| **Background** | When the application is open, however in the background (minimized). This typically occurs when the user has pressed the "home" button on the device or has switched to another app via the app switcher. |
119119
| **Quit** | When the device is locked or application is not active or running. The user can quit an app by "swiping it away" via the app switcher UI on the device. |
120120

121121
The user must have opened the app before messages can be received. If the user force quits the app from the device settings, it must be re-opened again before receiving messages.

docs/migrating-to-v6.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -450,7 +450,7 @@ How to migrate: If you use device-local notification APIs and user-visible notif
450450
- Module namespace has been renamed to `.remoteConfig()` from `.config()`.
451451
- All Remote Config values can now be accessed synchronously in JS, see `getValue(key: string): ConfigValue` & `getAll(): ConfigValues` below.
452452
- These replace all the original async methods: `getValue`, `getValues`, `getKeysByPrefix`.
453-
- `setDefaultsFromResource` now returns a Promise that resolves when completed, this will reject with code `config/resouce_not_found` if the file could not be found.
453+
- `setDefaultsFromResource` now returns a Promise that resolves when completed, this will reject with code `config/resource_not_found` if the file could not be found.
454454
- `setDefaultsFromResource` now expects a resource file name for Android to match iOS, formerly this required a resource id (something you would not have in RN as this was generated at build time by Android).
455455
- An example for both platforms can be found in the tests.
456456
- `enableDeveloperMode` has been removed, you can now use `setConfigSettings({ isDeveloperModeEnabled: boolean })` instead.

docs/releases/v6.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ The Remote Config API has had a significant API change as originally highlighted
268268
- [BREAKING] Module namespace has been renamed to `.remoteConfig()`, replace all usages of `firebase.config` with the new name.
269269
- [BREAKING] All Remote Config values can now be accessed synchronously in JS, see `getValue(key: string): ConfigValue` & `getAll(): ConfigValues` below
270270
- [BREAKING] These replace all the original async methods: `getValue`, `getValues`, `getKeysByPrefix`
271-
- [BREAKING] `setDefaultsFromResource` now returns a Promise that resolves when completed, this will reject with code `config/resouce_not_found` if the file could not be found
271+
- [BREAKING] `setDefaultsFromResource` now returns a Promise that resolves when completed, this will reject with code `config/resource_not_found` if the file could not be found
272272
- [BREAKING] `setDefaultsFromResource` now expects a resource file name for Android to match iOS, formerly this required a resource id (something you would not have in RN as this was generated at build time by Android)
273273
- And example for both platforms can be found in the tests.
274274
- [BREAKING] `enableDeveloperMode` has been removed, you can now use `setConfigSettings({ isDeveloperModeEnabled: boolean })` instead

0 commit comments

Comments
 (0)