Skip to content
This repository was archived by the owner on Jul 24, 2026. It is now read-only.
This repository was archived by the owner on Jul 24, 2026. It is now read-only.

Canvas2ImagePlugin does not exist on iOS #53

Open

Description

@markarupert

Thanks for the plugin. I got it to work fine on Android but it is not being recognized on iOS.

I installed it with this command:
cordova plugin add https://github.com/devgeeks/Canvas2ImagePlugin.git

But I get this error. Is there a step I am missing?
CDVPlugin class Canvas2ImagePlugin (pluginName: Canvas2ImagePlugin) does not exist.

Thanks,
Mark

Activity

  1. devgeeks commented on Jul 6, 2015

    @devgeeks
    Owner

    That should do it.

    Are you trying to call it before deviceready has fired?

  2. markarupert commented on Jul 6, 2015

    @markarupert
    Author

    No, the app is fully initialized. I actually go to a second page and take a picture before I call it.

  3. hirbod commented on Sep 13, 2015

    @hirbod

    This is a cordova bug. I made a video for this a while ago, it's quite easy to fix it.
    Just set the correct target memberships inside of xcode (only for .m files and all the files inside the framework)

    https://www.youtube.com/watch?v=gr0QrEShPbQ

  4. markarupert commented on Sep 14, 2015

    @markarupert
    Author

    Hirbod,

    Thanks! I was able to get it working a while back. I can’t remember what exactly what did it but I updated the plugin and the Cordova version and everything seems good.

    Mark

    Mark A. Rupert, President - RGi

    One of the worst things we can do in business is an excellent job at something that didn’t need to be done in the first place.


    This electronic message transmission contains information from The Rupert Group, Inc. that may be proprietary, confidential and/or privileged. The information is intended only for the use of the individual(s) or entity named above. If you are not the intended recipient, be aware that any disclosure, copying or distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify the sender immediately by replying to the address listed in the "From:" field.

    From: Hirbod [mailto:notifications@github.com]
    Sent: Sunday, September 13, 2015 12:04 AM
    To: devgeeks/Canvas2ImagePlugin Canvas2ImagePlugin@noreply.github.com
    Cc: Mark github@rupertgroup.com
    Subject: Re: [Canvas2ImagePlugin] Canvas2ImagePlugin does not exist on iOS (#53)

    This is a cordova bug. I made a video for this a while ago, it's quite easy to fix it.
    Just set the correct target memberships inside of xcode (only for .m files and all the files inside the framework)

    https://www.youtube.com/watch?v=gr0QrEShPbQ

    —
    Reply to this email directly or view it on GitHub #53 (comment) . https://github.com/notifications/beacon/ACmv2q3PgJiiJjs1vgZInnOmiWu5gsVCks5oxO1EgaJpZM4FSb1X.gif


    This email has been checked for viruses by Avast antivirus software.
    http://www.avast.com

  5. positlabs commented on Oct 13, 2015

    @positlabs

    @markarupert, what version did you upgrade to?

  6. markarupert commented on Oct 13, 2015

    @markarupert
    Author

    My Cordova version is 5.0.0 and I am using the branch created by nicolasgrolleau at

    https://github.com/nicolasgrolleau/Canvas2ImagePlugin

    that will save the image to a file that I can upload to my server.

    It is version 0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions