Giter Site home page Giter Site logo

aviarycordovaplugin's People

Contributors

danieldkim avatar guysch avatar m1is avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aviarycordovaplugin's Issues

Aviary photo editor does not appear on iOS7

Once I retrieve the photo URI and send it to Aviary, I get the following warning:

Warning: Attempt to present <AFSDKViewController: 0xce7ebe0> on <MainViewController: 0xbf4bf40> while a presentation is in progress!

The Editor does not appear. I don't get this issue with iOS6 with the same code.

Plugin Causes app to crash under Android L (5.0)

I have used the plugin for a cordova based app and it works great under both android and iOS until today.

I received a crash report by a user that uses a nexus 5 updated to Android 5.0.1. I was able to reproduce the problem and I think the issue will be resolved if the plugin is updated to the latest Aviary version.

I was wondering if there is an update path to the latest SDK?
Thanks in advance

Failing on Cordova 3.3?

I've set up a simple application, and I'm calling the sample code on camera success. The app halts, and I'm getting the following error:

2014-02-24 11:40:51.154 MyApp[320:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Application tried to present a nil modal view controller on target <MainViewController: 0x1464f1b0>.'
*** First throw call stack:
(0x2d74be83 0x37aac6c7 0x2ffb81eb 0x3019447b 0x12da0b 0x10a091 0x1099b7 0x109561 0x109747 0x109659 0x2e12fe4b 0x2d716f1f 0x2d7163e7 0x2d714bd7 0x2d67f471 0x2d67f253 0x323b32eb 0x2ff34845 0x10fd57 0x10fd18)
libc++abi.dylib: terminating with uncaught exception of type NSException

Not much to go on here.. Any ideas?

How to setup the apikey/secret for aviary sdk 4.3

First of all thank you very much for that cool plugin.

I currently try to get the aviary sdk to run in combination with a cordova app under iOS.

After installing cordova (3.6.3-0.2.13) and the latest Aviary SDK (4.3.0) and your aviary plugin.
I managed to get a simple example app to work with android.

When I try to build the exact same app for iOS with xcode(6.0.1) and i try to call the cordova.plugins.Aviary.show method, I get the following error in the xcode console:

WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: You must provide your Aviary API key before creating an instance of the AFPhotoEditorController. Please see the Aviary SDK documentation for details.

I understand from reading the SDK documentation for iOS that aviary changed the apikey/secret setup to require it to put it in the code:

The API key and secret must be provided before instantiating an instance of AFPhotoEditorController.

and here my problem arises: I do not have any idea on how to submit the apikey/secret to the SDK

missing exec:Aviary.show

I create a new apache/cordova project with VisualStudio15 adn add the plugin from the git repo.
When i'm go to test the app with ripple i got this error message on console:

missing exec:Aviary.show

TypeError: Cannot read property 'show' of undefined(โ€ฆ)
TypeError: Cannot read property 'show' of undefined
at Object.module.exports.exec (ripple.js:40)
at _show (Aviary.js:44)
at Object.Aviary.show (Aviary.js:73)
at onPhotoFileSuccess (index.js:47)
at ripple.js:40
at ripple.js:38

It seem to fail find native function of Aviary.

I also tryed to create the project from cordova cmd, adding plugin and building it for android and install the .apk file in my phone. It doesn't work and force the closing of the app after capturing the image.

In addition i see that when i build the project, in the androidManifest.xml my APIkey been always rewrite with the apiKey you use in you example.

What can be the problem?

Thanks

64bit support issue

I submit the app which is using this plugin in last year (2014).

but this plugin didn't include 64-bit support. so i can't submit the app to app store now (2015).
Could you resolve this issue asap?

or Could you update this plugin with latest AviarySDK?

Thanks.

aviary not running

I installed the plugin with "cordova plugin add" command and when I run 'cordova.plugins.Aviary.prepareForShow' returns OK.

After running show command, I got this error on Xcode
"WebKit discarded an uncaught exception in the webView:decidePolicyForNavigationAction:request:frame:decisionListener: delegate: Application tried to present a nil modal view controller on target <MainViewController: 0x10de289d0>."

I am using phone gap 3.4.0-0.19.21 and trying to run on IOS simulator

Is using phone gap a problem? Is there a solution for that?

Plugin fail on Android

After I add the plugin and run cordova.plugins.Aviary.prepareForShow ,it return OK.
But I run cordova.plugins.Aviary.show ,the app crash with a error message in eclipse :

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.gutschat.wedding/com.aviary.android.feather.FeatherActivity}: java.lang.NullPointerException

Aviary Key and Secret

Thanks for the plugin.
I am using latest cordova version, but please let me know where to put Aviary Key and Secret?

Thanks in advance.

Quality argument not handled properly in iOS

The iOS plugin is passing the compressionQuality argument to the UIImageJPEGRepresentation constructor incorrectly.

"The quality of the resulting JPEG image, expressed as a value from 0.0 to 1.0. The value 0.0 represents the maximum compression (or lowest quality) while the value 1.0 represents the least compression (or best quality)."

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.