Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Canvas2ImagePlugin does not exist on iOS #53

Open
markarupert opened this issue Jul 6, 2015 · 6 comments
Open

Canvas2ImagePlugin does not exist on iOS #53

markarupert opened this issue Jul 6, 2015 · 6 comments

Comments

@markarupert
Copy link

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

@devgeeks
Copy link
Owner

devgeeks commented Jul 6, 2015

That should do it.

Are you trying to call it before deviceready has fired?

@markarupert
Copy link
Author

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

@hirbod
Copy link

hirbod commented Sep 13, 2015

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

@markarupert
Copy link
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:[email protected]]
Sent: Sunday, September 13, 2015 12:04 AM
To: devgeeks/Canvas2ImagePlugin [email protected]
Cc: Mark [email protected]
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

@positlabs
Copy link

@markarupert, what version did you upgrade to?

@markarupert
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants