Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 10    Views: 212

RFConcierge
Lost but trying
Profile
Posts: 142
Reg: May 08, 2012
San Diego, ca
7,520
01/24/13 02:35 PM (13 years ago)

Implementing Passbook in your BT apps

All, Just sat in on a webinar through Urban Airship about Apple Passbook usage. They recently acquired PassTools and so they are getting in the game. I've figured out a simple way to integrate Passes into your apps. Using a template service like PassSource or others: http://mashable.com/2012/10/16/passbook-apps/ Create a template and copy the link provided. Paste the link into a "Launch NATIVE APP" screen set to the safari browser. This link will NOT work with the "custom URL" screen. The pass will pop up and the screen will convert to the "Add or Cancel" button navigation bar. Hit "add" and the pass is in your passbook. Slick. Figuring out if this is needed for your client is up to you.... Ryan
 
Cakebit
Code is Art
Profile
Posts: 502
Reg: Dec 15, 2010
In your local b...
16,520
like
01/24/13 02:59 PM (13 years ago)
Thanks Ryan! Awesome stuff!
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
01/24/13 03:14 PM (13 years ago)
Nice! Thanks Ryan! Cheers! -- Smug
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
01/24/13 06:13 PM (13 years ago)
ACE Man. Absolutely ACE! That webinar was great, thanks for posting the link. BT should think about advertising this as a feature - EASY IOS PASSBOOK integration.. It's all JSON with a few graphics. I keep saying once David takes a serious look at it he's gonna laugh. He could pick it apart in a minute and build us a good back end to manage the passes. and probably build an Android version to connect with Attido passbook. This technique makes perfect sense, it's a native app so must use some cusom url scheme! What do those links Passcode generates start with? I looked briefly at the PKpasslibrary class and saw some interesting ways to integrate in a view controller. May explore that more, But this is great and easy as it gets :) I've been studying a couple guides to manage, sign passes, etc.. None of those services were giving away the api for free! Playing with PassDock myself. There was a post yesterday with a bunch of links, maybe from smug? Excellent share. If passbook takes off this will be used a lot. Thanks again!
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
01/24/13 07:50 PM (13 years ago)
Hi all, I've been away from Buzztouch for a few months, working as a consultant building a Passbook product called Passjoy.com. Check it out! We used Buzztouch to build a couple iOS apps with Passbook too. Would be happy to talk about whatever we've learned in the process! Passtools is indeed great, as is Passsource and Passkit. The key is to have API access. And remember that these tools only allow you to create static passes, and update those passes. But there is still a big pile of database work that you need to do to track and manage that pass once those services have "created" it (this is where the API comes in). We found that "just giving customers a pass" isn't much of a win. The big win is to get that pass to be dynamic and to provide the pass holder with live data of some useful sort. That means a lot of push notifications that need to be scripted and database-driven to make sense to the pass holders. It's really fun and I think is going to be a great new area for developers to help their clients. Cheers, Tom
 
Kaybee
buzztouch Evangelist
Profile
Posts: 659
Reg: Sep 22, 2012
Perth, Australi...
44,690
like
01/24/13 10:24 PM (13 years ago)
Very Interesting. Not sure I understand the link for BT? Are you suggesting we create plugins that are able to create passes? and manage them etc? Interesting to follow this opportuntiy and see what benefits there would be for developers. Cheers
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
01/25/13 08:04 AM (12 years ago)
Nice to see you back Thomas! You've got some catching up to do. Some fun new plug-ins you may need. Think: a Buzzcarousel of passes! Building one myself... Passjoy looks nice. It's a website you can peruse to find passes that folks upload if I'm understand it correctly? Best of luck with it! agreed - static pass is OK but the real magic is in the dynamic stuff. I'm researching a few Passkit enterprise back ends. if passkit proves to be popular I can totally see BT adding to the CP at some point. It's so similar to BT in how it works. We've already got back end capable of consuming that api!
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
01/25/13 10:33 AM (12 years ago)
A buzz carousel of passes. Wow I could use that right now!!
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
01/25/13 11:31 AM (12 years ago)
Right here- https://www.buzztouch.com/plugins/plugin.php?pid=9DF7B623DFB942E66270D14 It's awesome. Kittsy is coding some amazing viewcontrollers to use in BT projects now. That's a menu that you could link to the passes.
 
ThomasB
Lost but trying
Profile
Posts: 162
Reg: Jun 23, 2011
Palo Alto
3,270
like
01/25/13 12:04 PM (12 years ago)
Fantastic. But hmmm....not sure how to make it work with passes. I suppose you could make a snapshot of each pass and then feed those snapshots into the carousel view controller via the JSON data, but that assumes you have some way to make snapshots of your passes...which is actually quite difficult to do strangely enough, unless I missed a trick :)
 
RFConcierge
Lost but trying
Profile
Posts: 142
Reg: May 08, 2012
San Diego, ca
7,520
like
01/30/13 09:48 PM (12 years ago)
Use GRAB or take a screenshot on your phone. Or have the carousel open up native browser screens with the pass links. This would make it easier to update if they aren't dynamic. I'm having an issue right now. I'm trying to use Aurasma trigger images to load overlays that "tap" to passes. For print advertising if you haven't figured it out yet. Problem is my apps with aurasma kernels are coming up black right now after my xcode update and the actual Aurasma Lite app has the same issue with the pkpass file as the BT "custom URL" screen... the pass never materializes. Anyone have any solutions to this? What is the URI scheme to open up the native safari browser? Thanks, Ryan
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.