From 638d5f41dcf6ca8f0e02742c70c6bef34c684ae8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?The=CC=81o=20mathieu?= Date: Sat, 19 Mar 2016 01:18:48 -0400 Subject: [PATCH] Updated example --- example/mobile/app/Routes/Status.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example/mobile/app/Routes/Status.js b/example/mobile/app/Routes/Status.js index 9adba7b..148f5bc 100644 --- a/example/mobile/app/Routes/Status.js +++ b/example/mobile/app/Routes/Status.js @@ -11,7 +11,7 @@ import React, { TouchableHighlight } from 'react-native'; -import Meteor, { connectMeteor } from 'react-native-meteor'; +import Meteor, { Accounts, connectMeteor } from 'react-native-meteor'; import Button from 'react-native-button'; @@ -35,7 +35,8 @@ export default class Status extends Component { }); } createUser() { - Meteor.createUser({ + console.log(Accounts); + Accounts.createUser({ username: 'mokto', password: '123456' }, (err, res)=>{