Skip to content

Commit 3396fb9

Browse files
authored
Merge pull request #56 from mufaddalhamidofficial/patch-1
Added code color in Readme
2 parents 67dcb2b + 4f12149 commit 3396fb9

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ const onSubscriptionsChanged = (interests: string[]): void => {
207207

208208
## Usage
209209

210-
```ecmascript 6
210+
```jsx
211211
// Import module
212212
import RNPusherPushNotifications from 'react-native-pusher-push-notifications';
213213

@@ -281,7 +281,7 @@ const unsubscribe = interest => {
281281

282282
## iOS only methods
283283

284-
```ecmascript 6
284+
```jsx
285285
// Set interests
286286
const donutInterests = ['debug-donuts', 'debug-general'];
287287
const setSubscriptions = donutInterests => {
@@ -335,11 +335,11 @@ The APS data sent to Pusher Beams and then to Apple have an option `badge`. This
335335

336336
By adding `incrementBadge` you can increment the badge number without having to deal with your backend.
337337

338-
```
338+
```json
339339
{
340-
aps: {
341-
data: {
342-
incrementBadge: true
340+
"aps": {
341+
"data": {
342+
"incrementBadge": true
343343
}
344344
}
345345
}

0 commit comments

Comments
 (0)