Home › Forums › Ask the Flomies › Phonegap Integration
-
AuthorPosts
-
December 19, 2013 at 10:24 am #5252
Hi Flomies, I was wondering if anyone has successfully integrated the Flojack into a phonegap plugin. There is an existing NFC Phonegap plugin on GitHub..
https://github.com/chariotsolutions/phonegap-nfc
If it hasn’t already been done I am looking to fork this plugin and write an iOS adaptor, meaning one NFC enabled app that can run on all platforms.
When plugged into a non NFC Android device will the FloJack behave as if it was a native NFC reader, or does that also need further development?
Cheers, Andy
December 19, 2013 at 12:11 pm #5253Hey Andy, no one has done the phonegap plugin for the FloJack yet. We had it on our long list of todos, but you prolly know how that’s going. With that said, we’d love for you to take it on!! 🙂 You will need to normalize the iOS SDK across the NFC Phonegap plugin to get your implementation down. From comparing API’s, seem the basic NDEF support is all you need. Most of the people that purchase/use the Flojack actually only use the UUID off the tags, so perhaps opening that up in the plugin would be useful.
On Android, unfortunately, the SDK has a long way to go. It can read inbound data from the Flojack (which only works with Flojacks in Standalone mode) but was in the process of getting outbound data working when the iOS7 nuke landed in our backyard. The design paradigm of the SDK is very much like the SerialMagic Gears setup where a “driver app” in the background manages the Flojack and relays data through Intent exchanges with other apps (eg Phonegap apps). After getting data to work bidirectionally we need to implement the FloJack Messaging Protocol per the specification. Then (with the “driver app” running) the Flojack will be able to behave as if it was a native NFC reader.
I hope this helps. I’ll keep an eye on this thread to keep you unblocked.
January 9, 2014 at 10:08 pm #5295Andrew, I am looking for precisely the same thing you are! Have you forked your own plugin yet?
I am waiting on my Flojack orders but I will be glad to pitch in once I receive them. My personal priorities for a PhoneGap plugin would be to get it working on all of the below:
1. iOS 6 with Flojack
2. Android with native NFC
3. iOS 7 with Flojack
4. Android with FlojackPlease direct me to you project!
November 14, 2014 at 12:47 pm #27406Hey guys, we’ve been shipping new FloJacks (v2) and they are much more robust than our first version. They are supported on latest iOS and Android releases too. We started working on a PhoneGap integration last week and it’s coming along well. Thought perhaps you’d want to test it out for us and potentially evolve it’s functionality. We started from scratch because the phonegap-nfc project was overwhelming and we found several bugs when using it. We hope to be able to tie into it after we get a better grip on the PhoneGap ecosystem.
-
AuthorPosts
You must be logged in to reply to this topic.