File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ const onSubscriptionsChanged = (interests: string[]): void => {
207207
208208## Usage
209209
210- ``` ecmascript 6
210+ ``` jsx
211211// Import module
212212import 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
286286const donutInterests = [' debug-donuts' , ' debug-general' ];
287287const setSubscriptions = donutInterests => {
@@ -335,11 +335,11 @@ The APS data sent to Pusher Beams and then to Apple have an option `badge`. This
335335
336336By 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}
You can’t perform that action at this time.
0 commit comments