Closed dan-dekalb closed 9 years ago
The first thing to check would be file permissions. Can you open the same file with FileMaker Go?
Secondly, when you follow step by step as described here: https://github.com/PDF417/pdf417-ios/blob/master/pdf417-interop-sample/README-FILEMAKER.md , does it work then?
Is there any way to get debugging information out of the scan app? I just got back to this project. Now, when I try either the sample demo, or my database, it goes into the scan app, but never calls back to Filemaker. I am using the exact URL from the documentation. I have upgraded to IOS 8.0.2.
Try typing "fmp://Dan-Macbook-Pro/test.fmp12?script=insert-barcode" into Safari on your device and then open it. Does in this case the file open properly in FileMaker Go?
By typing "fmp://Dan-Macbook-Pro.local/test.fmp12" in Safari, I was able to get it to open the database. However, when I call the scan URL with
"pdf417://scan?type=PDF417&text=true&fmp=true&beep=true&callback=" & GetAsURLEncoded ("fmp://" & Get (HostName) & ".local/" & GetAsURLEncoded(Get(FileName)) & ".fmp12?script=insert_barcode")
It launches the PDF417 scan, and I can scan the barcode, but it doesn't return to Filemaker Go.
Have you checked the URL that GetAsURLEncoded ("fmp://" & Get (HostName) & ".local/" & GetAsURLEncoded(Get(FileName)) & ".fmp12?script=insert_barcode")
gives out is like the one you expect? Maybe Get (HostName)
already appends .local
to the URL and you are adding it a second time?
What I can verify from our side is that the pdf417 Pro application is correctly invoking the callback URL that's provided to it. If the FileMaker file is not properly being opened, it means that the provided URL is incorrect in some way, either the hostname is incorrect, or the file path/name or the query parameters appended to it.
In the next version, we will add a debug=true
invocation query parameter that will help troubleshoot these kinds of issues by displaying all the provided parameters onscreen instead of trying to invoke them so developers can easily check if everything they are providing to the app is in the correct form.
Hi Dan,
can you please contact us on our email address? The address is given here: https://github.com/PDF417/pdf417-ios#0900
We updated our iOS pdf417-pro app and would like to add you as external beta tester so we can solve this issue as soon as possible.
Closed as inactive.
I did finally identify the problem. Illinois drivers licences include an encrypted section. If there are Non utf-8 characters, it wouldn't return to file maker. I ultimately just had it return raw hex and converted it within file maker.
Sent from my iPhone
On Mar 3, 2015, at 3:16 AM, Jurica Cerovec notifications@github.com<mailto:notifications@github.com> wrote:
Closed #4https://github.com/PDF417/pdf417-ios/issues/4.
Reply to this email directly or view it on GitHubhttps://github.com/PDF417/pdf417-ios/issues/4#event-245044741.
Yes, this explains it! We'll note that for the future. Thanks for reporting this back to us! Cheers, Jurica.
I've tried to follow the instructions in the tutorial, but after I scan a PDF417 bar code, it goes back to Filemaker Go, but I get an error "The file "...fmp12" could not be opened. Either the host is not available, or the file is not available on that host."
The callback parameter is listed below. Any idea what I might be missing? I'm running Filemaker Pro Advanced 13, and an iPad updated to IOS 8.0.2. The filename does end in fmp12.
fmp:%2F%2FDan-Macbook-Pro%2Ftest.fmp12%3Fscript%3Dinsert-barcode