2012-07-05

00:01 ciopte7 joined #geoloqi
08:22 patrickarlt joined #geoloqi
08:24 blk joined #geoloqi
08:52 patrickarlt joined #geoloqi
09:00 patricka_ joined #geoloqi
09:24 <Loqi> http://twitter.com/SilvaJAndres :: Making Location Services Slick & Simple http://t.co/5qVYSWqB vía @Inc
10:58 starbuckt joined #geoloqi
11:08 kyledrake joined #geoloqi
11:42 ciopte7 joined #geoloqi
12:01 michaelmalachi joined #geoloqi
12:02 <michaelmalachi> aaronpk: is jsonkit a dependency even with newer versions of iOS?
12:02 <aaronpk> no, I believe it will use the native JSON if you don't include JSONkit...
12:03 <michaelmalachi> ah ok
12:03 <aaronpk> I think it's set up that way, let me know if that doesn't work
12:04 meglome joined #geoloqi
12:06 <meglome> Quick question. In the triggers... is there a way for it to trigger not when arriving or leaving an area but simply being in the area? Thanks
12:06 <aaronpk> meglome: when would you expect to get a notification in that case?
12:07 <meglome> it would be a once off trigger for anyone who happens to be in a specific area at at that time.
12:07 <aaronpk> so it sounds like you want to be able to send a message to everyone in a specific area?
12:08 <meglome> yes exactly
12:08 <aaronpk> ok, that's not really a trigger, you are probably looking for this: http://developers.geoloqi.com/api/message/broadcast
12:09 <meglome> I believe that's it exactly... thank you for your help
12:09 <aaronpk> you're welcome!
12:09 <meglome> we're just starting to use your system so no doubt it won't be the last question
12:09 <meglome> have a nice evening
12:11 kenichi joined #geoloqi
12:15 <michaelmalachi> aaronpk: where is LQAuthenticationSucceededNotification defined?
12:15 <michaelmalachi> xcode can't find it
12:18 <aaronpk> what's referencing it?
12:19 <aaronpk> that's something in one of the demo apps, not part of the SDK
12:21 <michaelmalachi> aaronpk: oh its in the example code on "how to use sdk with your app"
12:22 <michaelmalachi> under the "Explicitly creating accounts and signing in"
12:22 <aaronpk> ah yea, I added that so you'd have a way to listen for that event in other parts of the app. but you'd need to declare it somewhere first. forgot that part.
12:22 <aaronpk> you don't need to do it if you have some other way of handling the login event anyway
12:23 <aaronpk> at the top of my app's app delegate header I have this:
12:23 <aaronpk> static NSString *const LQAuthenticationSucceededNotification = @"LQAuthenticationSucceededNotification";
12:24 <michaelmalachi> ah
12:24 <michaelmalachi> also
12:24 <michaelmalachi> sample app looks funky in ios6
12:24 <aaronpk> darn! I haven't tried it yet actually
12:24 <michaelmalachi> i'll show you a screenshot
12:25 <michaelmalachi> aaronpk: http://cl.ly/340h3l0C0A1F0Q1C1B0c
12:26 <aaronpk> oh crazy... it doesn't have the background texture
12:26 <aaronpk> I wonder if they removed that background in 6
12:26 <aaronpk> it's the grey vertical stripe background
12:29 <starbuckt> Talking about the Google Tracks API. Thought you might be interested in it from an API design point of view.
12:29 <michaelmalachi> aaronpk: where do you change it in xcode?
12:31 <kyledrake> starbuckt ah cool thanks!
12:33 <michaelmalachi> aaronpk: thnx
12:34 <michaelmalachi> aaronpk: yeah so in xcode 4.5 its just a gradient
12:34 <aaronpk> crazy!
12:38 <michaelmalachi> looks like a bug
12:38 <aaronpk> weird
12:41 ciopte7 joined #geoloqi
12:49 <michaelmalachi> aaronpk: what class should this be in? [self registerForPushNotifications];
12:49 <aaronpk> I usually just put that in my appdelegate
12:49 <michaelmalachi> its there, xcode is giving me a warning that the instance method not found
12:50 <michaelmalachi> aaronpk: http://cl.ly/3G3g352h08471615331a
12:50 <aaronpk> it needs to be declared higher up in the file before it's used. or you can put the method signature in the header file
12:50 <michaelmalachi> oh its not an apple method
12:51 <michaelmalachi> i thought it was builtin
12:51 <aaronpk> no it just calls the LQSession method, which in turn calls the apple method
12:51 <michaelmalachi> i get it
12:51 <michaelmalachi> im an ObjC newb
12:56 <michaelmalachi> docs on your site are really nice
12:56 <aaronpk> thanks!
12:57 <michaelmalachi> and... it compiles
12:57 <michaelmalachi> woot
12:57 <Loqi> ACTION does a happy dance!
12:58 <aaronpk> sweetness
12:58 <michaelmalachi> thats what good thing i like about compiled languages, is that you get all the pain upfront, so if it comoiles you know that most of the sucky bugs are out
12:58 <michaelmalachi> s/what/a/
12:58 <Loqi> michaelmalachi meant to say: thats a good thing i like about compiled languages, is that you get all the pain upfront, so if it comoiles you know that most of the sucky bugs are out
13:00 <michaelmalachi> on test app when i hit register i get Failed to register for push tokens: Error Domain=NSCocoaErrorDomain Code=3000 "no valid 'aps-environment' entitlement string found for application" UserInfo=0x157e20
13:00 <aaronpk> you'll get that in the simulator since the simulator can't do push
13:01 <aaronpk> or is this on a device?
13:01 patrickarlt joined #geoloqi
13:05 <michaelmalachi> thought it was the device
13:05 <michaelmalachi> lemme check again
13:05 <aaronpk> you have to do the whole certificate and unique app id thing for push to work, see http://developers.geoloqi.com/ios/push-notifications
13:07 <michaelmalachi> bleck now its not launch sample app
13:07 <michaelmalachi> http://bit.ly/MClazZ
13:07 <aaronpk> whoa that's a new one...
13:07 <michaelmalachi> yeah lol
13:07 <aaronpk> usually restarting xcode and/or your computer cleans that kind of stuff up
13:07 <michaelmalachi> prolly because its a beta xcode
13:08 <michaelmalachi> yeah
13:08 <michaelmalachi> i was thinking the same
13:09 <michaelmalachi> the enititlement error is on actual app
13:10 <aaronpk> ok, could be a number of things. did you go through the certificate setup for push notifications?
13:10 <michaelmalachi> no
13:10 <michaelmalachi> heh
13:10 <aaronpk> well that'd be a good place to start ;)
13:10 <michaelmalachi> didn't realize there was setup for that in sample app
13:10 <michaelmalachi> i figured it was mocked out
13:11 <aaronpk> it's an apple provisioning thing
13:11 <aaronpk> you need a valid certificate from them to talk to the push servers
13:11 <michaelmalachi> do i need to change app id?
13:12 <aaronpk> yea, it'll have to be unique
13:12 <michaelmalachi> ok
13:12 <michaelmalachi> reading docs, thnx
13:26 <Loqi> http://twitter.com/chrisgrayson :: #QUOTE >> "Your phone is a remote control for reality." Amber Case @CaseOrganic of @Geoloqi #Slides at @SlideShare >> http://t.co/LDlp7lA5
13:28 <michaelmalachi> aaronpk: um, theres no p12 option on certificate export :( http://cl.ly/0u0R3v1I1y05202Y1y2o
13:28 <aaronpk> whut
13:29 <aaronpk> oh, it only gives you the .p12 option if you select a cert that has a private key
13:29 <aaronpk> you'll see an arrow next to the icon
13:29 <michaelmalachi> oh
13:29 <michaelmalachi> well thats the cert i got from CSR step
13:30 <aaronpk> it should be called "Apple Development IOS Push Services: com.example.app"
13:33 <aaronpk> this is the hardest part. don't worry, it only gets easier from here.
13:39 <michaelmalachi> its weird because theres no private key in the file that apple gave me to download
13:39 <aaronpk> you created it when you made the CSR
13:40 <michaelmalachi> but its not showing up with the certificate in keychain
13:40 <michaelmalachi> i'll try it again
13:45 <michaelmalachi> hrm now i do it but its not under the certificate its on it own line
13:45 <michaelmalachi> freaking apple and their weird certificate management stuff
13:46 <aaronpk> that is really odd...
13:48 <michaelmalachi> oh
13:48 <michaelmalachi> i was clicking in the wrong window
13:48 <michaelmalachi> fml
13:49 <michaelmalachi> add its added
13:49 <michaelmalachi> aaronpk: thnx for the help heh
13:50 <michaelmalachi> s/add/and/
14:05 <aaronpk> nice
14:06 <michaelmalachi> still getting error though, i figure it has to do with provisioning profiles or someting
14:06 <aaronpk> probably. that stuff is really annoying to figure out the first time
14:14 kyledrak_ joined #geoloqi
15:41 <Loqi> http://twitter.com/trakkstar :: Experimenting with the Geoloqi API for real-time tracking. Anyone else have experience with this? http://t.co/UWDw7NSX
16:02 <Loqi> http://twitter.com/skipnewberry :: Congrats to #PDX's @CaseOrganic and @AaronPK of @Geoloqi on 30 Under 30 recognition in @IncMagazine! http://t.co/HqePvrCd
17:15 ciopte7 joined #geoloqi
18:14 starbuckt joined #geoloqi
19:59 ciopte7 joined #geoloqi
20:01 <Loqi> http://twitter.com/gary_stover :: + 2 for Portland. Congrats @geoloqi! Making Location Services Slick & Simple http://t.co/PiQ8Cys1 via @Inc
21:14 patrickarlt joined #geoloqi
21:23 kyledrake joined #geoloqi