Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    Yaroslav Petrichka
    @slavaobninsk
    Share you problems or offsers about PDFReader
    developer6dlab
    @developer6dlab
    Hello, writting for PDFReader unity asset
    Yaroslav Petrichka
    @slavaobninsk
    Hello can you try open it in Unity application?
    developer6dlab
    @developer6dlab
    I to try open from unity application
    but show me add to cart
    Yaroslav Petrichka
    @slavaobninsk
    You log in in Unity view?
    Maybe unity logout from you account
    Retry login
    After click on button "Toggle Download Manager"
    developer6dlab
    @developer6dlab
    ok, wait
    sorry, where is "Toggle Download Manager"?
    Yaroslav Petrichka
    @slavaobninsk
    Capture.PNG
    developer6dlab
    @developer6dlab
    ok, click on the button
    but not show me PDFReader
    Yaroslav Petrichka
    @slavaobninsk
    after log in you try refresh PDFReader market page?
    developer6dlab
    @developer6dlab
    No, after log in and refresh
    Yaroslav Petrichka
    @slavaobninsk
    Please send you order number and problem to support@unity3d.com
    Because i can't check you payment
    developer6dlab
    @developer6dlab
    was looking for this
    thanks
    Yaroslav Petrichka
    @slavaobninsk
    If they no answer during 3-4 days, send me message i rebuild unitypackege and send you by mail manually
    developer6dlab
    @developer6dlab
    ok, thank you very much
    mischaal
    @mischaal

    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.

    Yaroslav Petrichka
    @slavaobninsk
    @mischaal import MessageUI.framework in Xcode
    and test it on real device not simulator
    Sorab Pithawala
    @sorab2142
    @slavaobninsk This plugin does not open PDF inside the Unity game on Android. It only opens it in external app. Is there a way to make it open in the app itself?
    Yaroslav Petrichka
    @slavaobninsk
    @sorab2142 Hello, no now it's implemented only for iOS, because android can provide native API
    Besjan
    @Besjan

    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

    Besjan
    @Besjan

    @slavaobninsk hi, thanks for the link.
    I tried adding in pdfreader AndroidManifest located in Plugins/Android/PDFReader/AndroidManifest.xml the following:

        <provider
              android:name="android.support.v4.content.FileProvider"
              android:authorities="com.company.appname.provider"
              android:exported="false"
              android:grantUriPermissions="true">
          <meta-data
              android:name="android.support.FILE_PROVIDER_PATHS"
              android:resource="@xml/provider_paths"/>
        </provider>

    but still throws the same error.

    I also tried adding it in the main AndroidManifest which is located in Plugins/Android/AndroidManifest.xml but then it doesn't build the app at all.

    Any other ideas?
    Thanks.