Open PDF-File out of a Phonegap-App which includes generated code (Adapt Learning)

95 views Asked by At

I'm using Adapt Learning to create responsive E-Learning courses. I downloaded the course code (HTML5, less, CSS, JavaScript) and wrapped it into a mobile application by using PhoneGap Build (cli 6.5.0). Now I want to open the attached PDF-Files. The code is generated and I don't want to change it cause its more efficiency for upcoming projects. I have already created my config.xml in which I tried this:

<feature name="http://api.phonegap.com/1.0/file"/>

Generated Code:

<button class="base resources-item-open drawer-item-open" data-href="course/en/assets/bec3d79837937eab7f5937b3beb9d66bb0b89943.PDF" tabindex="0" role="button" aria-label="Documents. . Training Solutions. ">
    <div class="drawer-item-title">
        <div class="drawer-item-title-inner h5">Training Solutions</div>
    </div>
    <div class="drawer-item-description">
        <div class="drawer-item-description-inner"></div>
    </div>
</button>   

I need a solution which works for both iOS and Android.

1

There are 1 answers

3
John Niezen On

I think you will get a faster answer here: https://community.adaptlearning.org/mod/forum/view.php?id=4