Comments (17)
Quick instructions to play around with this:
npm install -g cordova
git clone https://github.com/vulume/Cordova-DBCamera
cordova create dbcamera-test
cd dbcamera-test
cordova platform add iOS
cordova plugin add ../Cordova-DBCamera
open platforms/ios/*.xcodeproj
from dbcamera.
Hi @mkcode ,
sorry for my delay. Your work is awesome. I'm very happy. I hope to finish the new release asap with a refactor on many classes and many bug fixes. Specially a little documentation on all API.
Thanks again and let me know what you think about new changes.
Daniele
from dbcamera.
Sounds great. Btw - I evaluated every IOS camera related cocoapod before deciding that dbcamera was the best so thank you for creating this.
Looking forward to see what changes in the upcoming release. There are a few changes I will make shortly to the cordova plugin, mainly using an already compiled .a file instead of source files - will avoid having to set the gnu99 dialect. Will do this when I pull in the next release.
Also, I was forced to temporarily disable passing the metadata back to the JS callback. Cordova JSONSerializes the metadata NSdictionary - but it breaks on iPhone5Ss. It looks like the 5S and the 5 send back different metadata - and I don't have a 5S to debug this on. I'd like to look into this more some point soon.
Cheers
from dbcamera.
Thanks a lot @mkcode. You can take a look to the master, for a preview. I'll just add a few small changes and more precise documentation.
from dbcamera.
Lot's of good changes. The new image cropping bounds are exactly what I wanted.
Look's like I'll need to update the Container related code in the plugin. I spent some time yesterday working on a update script that makes the plugin from the cocoapod spec, with compiling the source for the plugin. Hopefully, it won't be just me who is will update the project. I'll get this out this week.
from dbcamera.
I've done a name refactoring; all the controllers have ViewController suffix. This is because i've created a custom settings of alloc option (in the Profiler) to check if the app has some retain cycle. And fortunately it's ok. No retain cycles ;)
from dbcamera.
The completion block within the container, handles the cameraView. This avoid the init of the cameraViewController in the init method of the container (solution for a old pull request i've accepted). In the block you can change the properties values of the cameraView.
from dbcamera.
Plugin is working nicely at version 2.0 :-)
I ended up making this repo to manage updating https://github.com/mkcode/cocoapod-to-cordova
from dbcamera.
Great! I've merged the pull request!
from dbcamera.
Hi @mkcode ,
i've done a little change... take a look to this commit bc9a3fcbb056dd3d765005821d080a9f4f1f7080. I've moved the DBCameraGridView (thinking about a custom grid view implementation) to a public property. Only this.
from dbcamera.
Thanks for the update. The cordova plugin is up to date with this change. The default grid view is perfect for my use case, but adding a way to easily customize this is a great change.
I'm considering the best way to handle locking the orientation to portrait. I did this in the cordova plugin: vulume/Cordova-DBCamera@34d7a40...9e8625b
This forces portrait mode for the lifetime of the NavController, but I questioned when I implemented this if should add this to the individual ViewControllers and submit a PR to this project. Currently - the views don't support landscape, so perhaps they should be locked into portrait mode in each ViewController - then they could be updated on an individual basis if they do support landscape in the future. I'm also not sure of the best practice for this - to lock the orientation in the NavController or the ViewControllers.
from dbcamera.
Hi @mkcode ,
i've updated the library with different bug fixes and pull requests.
Take a look ok?
from dbcamera.
Thank you so much. You both @mkcode , @danielebogo have done really a great work. Can you please help me out regarding how to use these plugins in DevExpress ? As my application works on DevExpress + AngularJS + Cordova, and I want to access camera properties like Grids, Tilt Angle, orientation. Please help me out.
from dbcamera.
@danielebogo thanks for creating such a great plugin.
Can you guys please tell me how can i add a label in place of grid button? I want to show a category title in place of grid button. Objective-C is not not my thing. I am a javascript developer.
Any help would be highly appreciated.
from dbcamera.
Hi @mkcode,
I would like to use your plugin via build.phonegap. What do I have to write in the config.xml file to install your plugin through the phonegap build website?
Thanks
from dbcamera.
@dalmendray - the plugin title is com.vulume.cordova.dbcamera
. Hopefully you get it by referencing that.
I no longer maintain this project. Feel to use it, but at your own risk.
from dbcamera.
@danielebogo - Just a note, that I am no longer contributing to this project. Let me know if I can help transition this work in any way.
from dbcamera.
Related Issues (20)
- Can't inherit DBCameraViewController in Swift
- Thumbnail in Camera roll are pixelated on iPhone 6 HOT 1
- Captured photo with extra space (issue resolved here)
- Enable APN Service for Porr App ID
- Device setFlashMode not working iOS 8
- Is there a way to hide the filters bar?
- Is there a method to hide the crop Icon/Button?
- gesture function on CameraBaseCropView doesn't work well HOT 1
- Can I turn off shutter sound of camera ? HOT 1
- Some localization bundle(s) are not available on cocoapod HOT 1
- GPUImage optional? HOT 1
- Photos are not showing on iPad Air. HOT 1
- Init camera long time HOT 5
- Camera roll with 2000+ photos = Picture selector unusable HOT 4
- Leaks when open photo Library and pick a photo.
- Blurry images from CameraRoll/PhotoLibrary
- Problem with iOS 10.2 HOT 2
- Can't take photos on iOS 10.2.1 HOT 1
- How to save Video recording? Tried but not worked
- iPhoneX layout issues
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dbcamera.