Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding custom Template to Phonegap plugin #12

Closed
ffranz84 opened this issue Feb 21, 2017 · 5 comments
Closed

Adding custom Template to Phonegap plugin #12

ffranz84 opened this issue Feb 21, 2017 · 5 comments

Comments

@ffranz84
Copy link

Hello,

I want to implement a custom Template for a not yet supported card. I already found the templating example with the croatian ID card. My question now is: how do I get the new template into my phonegap plugin. I am not very firm in Java or Android so any hint will be apprechiated.
I already tried to import com.microblink.util into BlinkIdScanner.java, but the compiler only said "symbl not found". I am sure, I am making something fundametally wrong here and I need some help to get this to work.

@DoDoENT
Copy link
Member

DoDoENT commented Feb 21, 2017

Hi @ffranz84,

unfortunately, Templating API is not exposed to PhoneGap, due to its complexity. You can implement the support for your card using native Java/Objective C API and then modify the PhoneGap plugin source to use your native integration to start scanning.

Another approach would be to create a full-blown javascript wrapper for entire Templating API, but this is complex and a lot of work.

@ffranz84
Copy link
Author

Thank you @DoDoENT, for your reply.
But I am kind of lost here. Do I have to adapt the teplate from the example and place it in the BlinkIdScanner.java of the plugin?

@DoDoENT
Copy link
Member

DoDoENT commented Feb 21, 2017

Yes - you've got it right.

@ffranz84
Copy link
Author

I will give it a try, prepare to hear from me again. Thank you!

lirfu pushed a commit that referenced this issue Dec 13, 2017
Feature/upgradeCordovaTo7/AND-198

Approved-by: Juraj Fulir <juraj.fulir@microblink.com>
@jcular
Copy link
Contributor

jcular commented Sep 20, 2018

Closed due to inactivity.

@jcular jcular closed this as completed Sep 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants