2012-09-18

01:32 <Loqi> http://twitter.com/_CraigKent :: Portland startups emerging from "awkward, adolescent stage," says Geoloqi's Amber Case http://www.oregonlive.com/silicon-forest/index.ssf/2012/09/portland_startups_emerging_fro.html
04:46 kyledrake joined #geoloqi
06:38 nohorse_ joined #geoloqi
08:07 patrickarlt joined #geoloqi
08:35 caseorganic joined #geoloqi
09:32 se7h joined #geoloqi
10:27 kyledrake joined #geoloqi
10:41 webchat485 joined #geoloqi
10:42 <webchat485> Hi there!
10:43 <webchat485> I am wondering if using "PASSIVE" tracking profile, the tracker is still working even if the app has been put in background...I don't see any visual clue (the GPS arrow indicator after some seconds)
10:43 <webchat485> a no triggers are fired of course
10:44 <aaronpk> It should still work in the background, but you should see the arrow icon
10:47 <aaronpk> also we renamed the profile to "Adaptive", so you may want to check to see if you're using the latest version https://github.com/geoloqi/Geoloqi-iPhone-SDK
10:57 pmark joined #geoloqi
10:58 <pmark> w00t?
11:01 <aaronpk> woot!
11:01 <Loqi> ACTION does a happy dance!
11:06 <Loqi> http://twitter.com/ShiftPDX :: Portland startups emerging from "awkward, adolescent stage," says Geoloqi's ... http://www.oregonlive.com/silicon-forest/index.ssf/2012/09/portland_startups_emerging_fro.html #pdx
11:10 se7h joined #geoloqi
11:18 rknLA joined #geoloqi
11:50 kyledrake joined #geoloqi
11:51 kyledrake joined #geoloqi
13:02 etnatraining joined #geoloqi
13:05 <etnatraining> Hi there again. I was using before the webchat and asking about the PASSIVE tracking profile and the fact that the GPS arrow on the iphone disappears after less than a minute after the app goes to background
13:05 <aaronpk> etnatraining: hi there
13:05 <etnatraining> I am not using the iOS SDK, but the Appcelerator module
13:05 <aaronpk> let me paste my answer from before
13:05 <aaronpk> It should still work in the background, but you should see the arrow icon
13:05 <aaronpk> also we renamed the profile to "Adaptive", so you may want to check to see if you're using the latest version
13:06 <etnatraining> I am using the ti.geoloqi module, v 1.2, downloaded from the appcelerator marketplace
13:06 <etnatraining> going to try to replace PASSIVE to Adaptive
13:08 <etnatraining> I have another question about the full documentation for the titanium module: where can I find it? Today I had to have a look to the app.js example that comes with the module to figure out the existence of geoloqi.authenticateUser() method
13:09 <etnatraining> I still don't understand if I have to call it after geoloqi.init(), but doing this I am going to login twice (first time an anonymous user would be created and than login with a previously registered one)
13:10 <etnatraining> thank you in advance for any hints you would like to provide me
13:10 <aaronpk> authenticateUser is when you want to log back in to another account
13:11 <aaronpk> init() is the more general method
13:11 <aaronpk> are you using the geoloqi API to manage your user accounts? or do you have your own user management and login databae?
13:11 <aaronpk> database*
13:13 <etnatraining> actually I have created a geoloqi user via the web interface, to visualize its locations via the Maps panel, and I was trying to use the same user from the mobile app, during testing
13:17 <etnatraining> so I would say that I am using the geoloqi API to manage my user accounts
13:21 <aaronpk> ok, let me try to find an example for you
13:23 <aaronpk> etnatraining: I may have to get back to you later. Can you email support@geoloqi.com with a short description so it gets onto my queue?
13:23 <etnatraining> yes, but is there any API documentation for the titanium module?
13:25 <aaronpk> any documentation we have is available here: http://developers.geoloqi.com/titanium We also have some sample projects you can look at like DinoDeals https://github.com/geoloqi/DinoDeals
13:26 <etnatraining> Actually I already did (DinoDeals was quite useful) but no info there on how to use authenticateUser neither in the forum :(
13:28 kyledrake joined #geoloqi
14:40 <se7h> etnatraining: use the general api docs
14:41 <se7h> works the same way
14:41 <etnatraining> which API corresponds to the geoloqi.init() e which one to the geoloqi.authenticateUser() ?
14:44 <patrickarlt> use the password type
14:45 <patrickarlt> you dont have to pass client_secret thats optional
14:45 <etnatraining> do I need to call geoloqi.init() anyway?
14:46 <patrickarlt> just POST to oauth/token with username password and client_id and grant_type:"password"
14:46 <etnatraining> (I am using the Titanium module)
14:47 <etnatraining> is the source of the Titanium module released as open source somewhere?
14:49 <patrickarlt> etnatraining: its not.
14:50 <patrickarlt> after you geoloqi.init() you should be able to geoloqi.authenticateUser("username/email", "password" {success: callback, error: callback})
14:51 <patrickarlt> that should replace the anonymous user created by geoloqi init with the user you are authenticated as
14:52 <etnatraining> ok. I was wondering if this was the correct sequence of calls. In fact, in the logs I saw two different users (the anon followed by the authenticated one)
14:52 <patrickarlt> thats actually correct we always create an anonymous user the first time the app starts so you start tracking right away
14:53 <etnatraining> what is the meaning of this flag in geoloqi.ini():
14:53 <etnatraining> allowAnonymousUsers : false
14:53 <patrickarlt> the app wont create anonymous users when it starts.
14:54 <etnatraining> that shows the existence of more APIs than the one documented here: http://developers.geoloqi.com/titanium
14:54 etnatraining joined #geoloqi
14:56 <patrickarlt> there are a few undocumented methods (we are working on documenting them) authenticateUser is one of them
15:02 <etnatraining> so, just to be sure I have properly understood the sequence of calls for authentication, here a snippest of what I should do:
15:02 <etnatraining> am I correct?
15:02 <etnatraining> I have set allowAnonymousUsers : false
15:03 <etnatraining> to avoid the creation of an anon user (I am guessing that)
15:05 <patrickarlt> that looks good if you have any problems with it email me pat@geoloqi.com
15:07 <etnatraining> how can I test the trigger activation on the iOS simulator? is there a way?
15:07 <etnatraining> thank you patrick
15:08 <patrickarlt> no but we have a tool to replaying location history back into our api
15:09 <patrickarlt> you download some location data from /location/history and run that from the command line and you can replay it back into our api
15:09 <patrickarlt> got to go now but feel free to email me and ill be back in this channel in a few hours
15:53 etnatraining joined #geoloqi
17:04 etnatraining joined #geoloqi
18:48 <Loqi> http://twitter.com/kaykas :: Portland startups emerging from "awkward, adolescent stage," says Geoloqi's Amber Case http://awe.sm/i5UDR
19:13 se7h joined #geoloqi
19:23 kyledrake joined #geoloqi
20:30 patrickarlt joined #geoloqi
21:46 kyledrake joined #geoloqi
22:20 rknLA joined #geoloqi