Git Product home page Git Product logo

Comments (10)

nevyn avatar nevyn commented on July 4, 2024

Hey Ryan,

This is because the Lookback resources are missing from the final built Cordova app. All the files in "Lookback-Resources" need to be bundled into the app, particularly the storyboard file.

from cordova-lookback.

littke avatar littke commented on July 4, 2024

Nice!

from cordova-lookback.

nevyn avatar nevyn commented on July 4, 2024

Awesome :D

from cordova-lookback.

nevyn avatar nevyn commented on July 4, 2024

Oops, actually that won't work either, as the resources need to be at the root of the bundle. I've forked this repo to https://github.com/lookback/cordova-lookback and will make a working fix :)

from cordova-lookback.

RYFN avatar RYFN commented on July 4, 2024

No? I created an empty cordova project, installed the plugin & the UI elements seem to show, maybe I missed something! :)

from cordova-lookback.

nevyn avatar nevyn commented on July 4, 2024

I did the same and it didn't work :P First off, the folder was copied and no resources were in the root of the bundle, so that shouldn't work (it might, I haven't tested). But more importantly: the build process copied the symlinks instead of the actual resources. So I can't see how it would've worked for you o_O very confused

Anyway, I'm doing this now:

        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/GFSettings.storyboard" />
        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/lookback-logo.png" />
        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/[email protected]" />
        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/lookback-recorder-logo.png" />
        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/[email protected]" />
        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/lookback-recorder-settings.png" />
        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/[email protected]" />
        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/lookback-recorder-status.png" />
        <resource-file src="src/ios/lookback-sdk/HD/Lookback.framework/Versions/A/Resources/[email protected]" />

from cordova-lookback.

RYFN avatar RYFN commented on July 4, 2024

ah maybe I had some leftover resources from an old build... my bad! I probably broke it with 3c01aa9

from cordova-lookback.

nevyn avatar nevyn commented on July 4, 2024

yeaaap. np tho.

from cordova-lookback.

nevyn avatar nevyn commented on July 4, 2024

https://github.com/lookback/cordova-lookback/commit/d82c64be4dcac55021d80ec65f4e952e8da8e851

from cordova-lookback.

RYFN avatar RYFN commented on July 4, 2024

👍

from cordova-lookback.

Related Issues (1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.