Skip to content

Commit 0183cdd

Browse files
authored
Merge pull request #6 from janoshrubos/chore/docs-note-styling
chore(docs): styling notes
2 parents 59720a8 + 398c5bf commit 0183cdd

File tree

14 files changed

+26
-34
lines changed

14 files changed

+26
-34
lines changed

packages/firebase-admob/README.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,7 @@ A `BannerAd` requires an `unitId`, an `BannerAdSize`, an `AdRequest`, and a `Ban
9494

9595
#### Core
9696

97-
> IMPORTANT
98-
99-
Ensure you've included xmlns:ui="@nativescript/firebase-admob" on the Page element
97+
> **Important:** Ensure you've included xmlns:ui="@nativescript/firebase-admob" on the Page element
10098
10199
```xml
102100
<ui:BannerAd
@@ -271,9 +269,7 @@ Broadly speaking, there are two parts to successfully implementing Native Ads: l
271269

272270
#### Core
273271

274-
> IMPORTANT
275-
276-
Ensure you've included xmlns:ui="@nativescript/firebase-admob" on the Page element
272+
> **Important:** Ensure you've included `xmlns:ui="@nativescript/firebase-admob"` on the Page element
277273
278274
```xml
279275
<ui:NativeAdView height="400" loaded="{{nativeAdLoaded}}" />

packages/firebase-analytics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @nativescript/firebase-analytics
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-analytics
55
```
66

packages/firebase-app-check/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
# @nativescript/firebase-app-check
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-app-check
55
```
66

77

8-
**Note**: iOS
9-
10-
App Check requires you set the minimum iOS Deployment version in ios/Podfile to 11.0 or greater.
8+
> **Note**: (iOS) App Check requires you set the minimum iOS Deployment version in ios/Podfile to 11.0 or greater.
119
1210

1311
### What does it do

packages/firebase-auth/README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @nativescript/firebase-auth
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-auth
55
```
66

@@ -176,9 +176,7 @@ LoginManager.logInWithPermissions(['public_profile', 'email']).then((result) =>
176176

177177
```
178178

179-
** Note **
180-
181-
> Firebase will not set the User.emailVerified property to true if your user logs in with Facebook. Should your user login using a provider that verifies email (e.g. Google sign-in) then this will be set to true.
179+
> **Note:** Firebase will not set the User.emailVerified property to true if your user logs in with Facebook. Should your user login using a provider that verifies email (e.g. Google sign-in) then this will be set to true.
182180
183181
#### Twitter
184182

@@ -239,7 +237,7 @@ GoogleSignin.signIn().then((user) => {
239237

240238
Phone authentication allows users to sign in to Firebase using their phone as the authenticator. An SMS message is sent to the user (using the provided phone number) containing a unique code. Once the code has been authorized, the user is able to sign into Firebase.
241239

242-
> Phone numbers that end users provide for authentication will be sent and stored by Google to improve spam and abuse prevention across Google service, including to, but not limited to Firebase. Developers should ensure they have the appropriate end-user consent prior to using the Firebase Authentication phone number sign-in service.authentication
240+
> **Note:** Phone numbers that end users provide for authentication will be sent and stored by Google to improve spam and abuse prevention across Google service, including to, but not limited to Firebase. Developers should ensure they have the appropriate end-user consent prior to using the Firebase Authentication phone number sign-in service.authentication
243241
244242
Firebase Phone Authentication is not supported in all countries. Please see their [FAQs](https://firebase.google.com/support/faq/#develop) for more information.
245243

packages/firebase-core/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @nativescript/firebase-core
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-core
55
```
66

packages/firebase-crashlytics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @nativescript/firebase-crashlytics
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-crashlytics
55
```
66

packages/firebase-database/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @nativescript/firebase-database
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-database
55
```
66

packages/firebase-firestore/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @nativescript/firebase-firestore
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-firestore
55
```
66

packages/firebase-functions/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @nativescript/firebase-functions
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-functions
55
```
66

packages/firebase-in-app-messaging/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# @nativescript/firebase-in-app-messaging
22

3-
```javascript
3+
```cli
44
ns plugin add @nativescript/firebase-in-app-messaging
55
```
66

@@ -30,7 +30,7 @@ According to github issue https://github.com/firebase/firebase-ios-sdk/issues/47
3030
The isMessagesDisplaySuppressed property allows you to control when messages can/cannot be displayed. Below illustrates a use case for controlling the flow of messages:
3131

3232

33-
> **The suppressed state is not persisted between restarts, so ensure it is called as early as possible.**
33+
> **Note:** The suppressed state is not persisted between restarts, so ensure it is called as early as possible.
3434
3535

3636

0 commit comments

Comments
 (0)