Hi! I've got a problem with your plugin. I've built the sample project with iOS 7.1 target.
I get the following error:
Undefined symbols for architecture arm64:
"_OBJCCLASS$_MFMailComposeViewController", referenced from:
objc-class-ref in libPDFReader.a(PDFReader.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
What can I do? I really need this working soon.
Hello @slavaobninsk
We are using latest PDFReader v.1.37 but in Android 7.1.1 we are not able to load the pdf file.
It throws this error:
06-21 13:49:49.008 5254-5271/? I/Unity: AndroidJavaException: android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/com.opel.OpelExclusiveAR/files/Opel_AR_Marker_60x45.pdf exposed beyond app through Intent.getData()
android.os.FileUriExposedException: file:///storage/emulated/0/Android/data/com.opel.OpelExclusiveAR/files/Opel_AR_Marker_60x45.pdf exposed beyond app through Intent.getData()
at android.os.StrictMode.onFileUriExposed(StrictMode.java:1799)
at android.net.Uri.checkFileUriExposed(Uri.java:2346)
at android.content.Intent.prepareToLeaveProcess(Intent.java:8965)
at android.content.Intent.prepareToLeaveProcess(Intent.java:8926)
at android.app.Instrumentation.execStartActivity(Instrumentation.java:1517)
at android.app.Activity.startActivityForResult(Activity.java:4225)
at android.app.Activity.startActivityForResult(Activity.java:4183)
at android.app.Activity.startActivity(Activity.java:4522)
at android.app.Activity.startActivity(Activity.java:4490)
at com.SlavaObninsk.pdfreader.Logic.OpenDocLocal(Logic.java:57)
Do you know how to solve it?
Thanks