flomio / cordova-plugin-flomio

Flomio SDK plugin for Cordova.
10 stars 8 forks source link

Attempt to build with SDK 2.1 fails with error in FlomioPlugin.m line 167 #24

Open waimate01 opened 8 years ago

waimate01 commented 8 years ago

Error building with the 2.1 SDK

For background, see forum thread

/FlomioPlugin.m:167:25: error: no visible @interface for ‘FmDevice’ declares the selector ‘getDataBlocks’

ritey commented 7 years ago

@stuart-xyz Any idea when this may get resolved?

damiansastre commented 7 years ago

Does anyone have an update on this?

grundyoso commented 7 years ago

we have revamped our SDK interface so need to overhaul this plugin to match with it. you can fork the repo and submit PRs if you'd like to help. we're currently understaffed to take this on right now.

damiansastre commented 7 years ago

sadly im not an ios developer, would have to find time to learn and fork it. I bought this device in order to build a cordova based app, bummer.

grundyoso commented 7 years ago

I understand. we strongly believe that web developers represent a very large market segment that we want to tap into but have just been held back with getting our native software in place first. In other words, we're committed to getting this Cordova plugin working for you with the latest Flomio SDK. It just make take a month or so. what's your application? do you need just UUID reading or full data block access??

damiansastre commented 7 years ago

For now I just need UUID access and it would be cool to be able to read credit card swipes from the MSR.

grundyoso commented 7 years ago

ok, we can offer UUID access as that's the most basic function we aim to provide. MSR card information has not been implemented even at the native iOS/Android level so that's a much more complex ask. Ping me on this thread in a couple weeks and we should have something for you to try.

damiansastre commented 7 years ago

Hey do you have any updates on this?

thank you!

grundyoso commented 7 years ago

@scottire has made progress on this and will push a formal update for you to try today/tomorrow.

scottire commented 7 years ago

@tagercito Hi, Unfortunately because of a threading issue with the MSR, which tends to cause issues because of the use of the audio-jack port, there has been a delay with the release of the cordova bridge support for the MSR. I will continue working on it and update you early next week (or earlier if it's good news).

scottire commented 7 years ago

It is worth putting here that NDEF reading is now supported when using a FloBLE Plus device on branch v2.2. There are still issues with threading using the Flojack MSR.

damiansastre commented 7 years ago

I will be compiling version 2.2 with this cordova plugin today. will keep you posted.