Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
anncode1 authored Jun 14, 2016
1 parent 242bb36 commit b87c2c5
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions FirebasePushNotificationsWithServerNodeJS/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,16 @@ para ambos casos

- A. EMISOR (Este será quien mandé la notificación al receptor):

* MainActivity.java
MainActivity.java

Configurar el tag emisor:

```sh
private static final String ANIMAL_EMISOR = "perro";
```
* método toqueAnimal()

método toqueAnimal()

Configurar la línea con el tag emisor:

```sh
Expand All @@ -45,8 +48,10 @@ que fungirá como EMISOR.

- B. Receptor (Este será quien reciba la notificación)

* método toqueAnimal()
método toqueAnimal()

Configurar el objeto receptor con su id y datos:

``` sh
final UsuarioResponse usuarioResponse = new UsuarioResponse("-KKAqu3M5p6GFgnqL9fu", "123", ANIMAL_RECEPTOR);
```
Expand Down

0 comments on commit b87c2c5

Please sign in to comment.