Hi,
I am using to generate my app the version cli-5.2.0 in Phonegap Build .
In my app I have a forms for uploading images.
When I upgrade my iOS device to v9, I realized that does not work .
I try to open the options to choose picture but remains on the screen only the button "cancel" impeding form work.
I read something about this but I don't see a clear solution.
Have solution for this problem?
Also... I had also a problem with in Android 4.4.2 and 4.4.3. I had no time to fix the problem but I would try now. Have plug-in for Phonegap Build for fix this problem? There is a manual or something explanatory (in foro etc.) where is explain how I can use plug-in?
Thank you
I am using to generate my app the version cli-5.2.0 in Phonegap Build .
In my app I have a forms for uploading images.
When I upgrade my iOS device to v9, I realized that does not work .
I try to open the options to choose picture but remains on the screen only the button "cancel" impeding form work.
I read something about this but I don't see a clear solution.
Have solution for this problem?
Also... I had also a problem with in Android 4.4.2 and 4.4.3. I had no time to fix the problem but I would try now. Have plug-in for Phonegap Build for fix this problem? There is a manual or something explanatory (in foro etc.) where is explain how I can use plug-in?
Thank you
- 29 Posts
- 0 Reply Likes
Posted 5 years ago
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
You can choose pictures with the file plugin or the camera plugin.
You can upload files using the file-transfer plugin.
The plugin documentation is here: http://docs.build.phonegap.com/en_US/...
And PGB for iOS9 is still under development. See http://community.phonegap.com/nitobi/...
You can upload files using the file-transfer plugin.
The plugin documentation is here: http://docs.build.phonegap.com/en_US/...
And PGB for iOS9 is still under development. See http://community.phonegap.com/nitobi/...
- 29 Posts
- 0 Reply Likes
Hi Petra,
thank you for your replay!!!
You know how long they can fix? The usually it takes to fix similar problems?
I'm just publishing my app and I have encountered this problem... I hope I can publish my first App soon posible :)
Thanks
thank you for your replay!!!
You know how long they can fix? The usually it takes to fix similar problems?
I'm just publishing my app and I have encountered this problem... I hope I can publish my first App soon posible :)
Thanks
- 8261 Posts
- 263 Reply Likes
Watch for iOS 4.0.x release here: https://shazronatadobe.wordpress.com/
or here: https://github.com/apache/cordova-ios/releases
PGB usually add support within 1-2 weeks after official release.
Thanks.
or here: https://github.com/apache/cordova-ios/releases
PGB usually add support within 1-2 weeks after official release.
Thanks.
(Edited)
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
You never know how long it will take. They seldomly publish an ETA.
Everything will also depend on whether or not they test the new version decently. Unfortunately, in the recent past, versions have been released apparently untested, which led to much frustration on all sides and sometimes to rollbacks or semi-permanent workarounds..
Perhaps they are testing/correcting a beta-version now.
Meanwhile, however, you could use the mentioned plugins. So far, it hasn't been a good idea to use inputs of type=file, anyway. I would stay away from such inputs.
Everything will also depend on whether or not they test the new version decently. Unfortunately, in the recent past, versions have been released apparently untested, which led to much frustration on all sides and sometimes to rollbacks or semi-permanent workarounds..
Perhaps they are testing/correcting a beta-version now.
Meanwhile, however, you could use the mentioned plugins. So far, it hasn't been a good idea to use inputs of type=file, anyway. I would stay away from such inputs.
- 29 Posts
- 0 Reply Likes
Hi Petra,
In my input file the users only must to upload images...
If I use the plug-in camera and file-tranfer in Phonegap Build work my app with iOS9? or I have the same problema?
Can I use this plugin with Phonegap Build or I must to use Phonegap in local?
I always use Phonegap Build.
If is the better solution for upload photo with plug-ins I can use it! But I need it work.
Also... I want to ask if you know anything about this :)... :
I créate a little chat where users can upload our photo.
The foto must to be a regular square.
Users upload the photo and then have to cut a square piece to be saved as a profile picture. You know about a JQuery Plug-in or similar for doing it? A result like Facebook or instagram etc.
Thank you
In my input file the users only must to upload images...
If I use the plug-in camera and file-tranfer in Phonegap Build work my app with iOS9? or I have the same problema?
Can I use this plugin with Phonegap Build or I must to use Phonegap in local?
I always use Phonegap Build.
If is the better solution for upload photo with plug-ins I can use it! But I need it work.
Also... I want to ask if you know anything about this :)... :
I créate a little chat where users can upload our photo.
The foto must to be a regular square.
Users upload the photo and then have to cut a square piece to be saved as a profile picture. You know about a JQuery Plug-in or similar for doing it? A result like Facebook or instagram etc.
Thank you
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
If I use the plug-in camera and file-tranfer in Phonegap Build work my app with iOS9?Nothing with PGB and iOS9 is guaranteed to work. As I said in another thread: PGB doesn't support iOS9, yet.
See http://community.phonegap.com/nitobi/...
The Camera, File and Filetransfer plugins from npm work well with PGB. Of course, they need to be included correctly, you need to reference phonegap.js in your HTML (without including such file in your assets) and you need to wait for the deviceready event to fire.
The foto must to be a regular square.Is such photo to be uploaded to the server? In that case, I would just mention that users "need to cut it to square" (you can use the camera's allowEdit attribute for that), but I would do the actual cutting and resizing, if necessary, on the server. Just have your server script cut out the largest possible square from the center of the image. The square will have sides as large as photoImage.min(width,height). If the uploaded image is already a square, the server will cut it to its actual dimensions this way.
Users upload the photo and then have to cut a square piece to be saved as a profile picture.
- 29 Posts
- 0 Reply Likes
Hi Petra,
And with phonegap local work in iOS 9 or is the same of PGB?
The image must to be upload in server! Camera's allowEdit? I a function of plugin camera? How can doing with it?
Yes, one solution is in PHP cut square fro center... but is good the people can choose a square in the photo because is posible the piece he want cut don't stay in center.
Thanks
And with phonegap local work in iOS 9 or is the same of PGB?
The image must to be upload in server! Camera's allowEdit? I a function of plugin camera? How can doing with it?
Yes, one solution is in PHP cut square fro center... but is good the people can choose a square in the photo because is posible the piece he want cut don't stay in center.
Thanks
Petra V., Champion
- 7794 Posts
- 1391 Reply Likes
And with phonegap local work in iOS 9 or is the same of PGB?I don't know. This is the Phonegap Build forum. Questions about local build (Phonegap/Cordova) can be asked at Stackoverflow or the Phonegap Google Group
Camera's allowEdit? I a function of plugin camera? How can doing with it?Now, that would be your own homework. Just read the plugin's documentation.
https://github.com/apache/cordova-plu...
- 29 Posts
- 0 Reply Likes
Thank you for all information!!! I try to ask in phonegap grup if work in local.
I hope Phonegap Build have solution for this soon posible! Thanks
I hope Phonegap Build have solution for this soon posible! Thanks
- 283 Posts
- 40 Reply Likes
input file is broken on phonegap build, see this older thread about it
http://community.phonegap.com/nitobi/...
It doesn't affect cordova/phonegap CLIs (local development), so don't wait for the cordova 4.0.0 release, it won't fix this because it isn't affected.
There was a similar issue (input file crash on iOS 8 iPads) that only affects phonegap build and it hasn't been fixed yet, so, best option for you is switch to local cordova/phonegap development and continue using input file or use the camera+file transfer plugins
http://community.phonegap.com/nitobi/...
It doesn't affect cordova/phonegap CLIs (local development), so don't wait for the cordova 4.0.0 release, it won't fix this because it isn't affected.
There was a similar issue (input file crash on iOS 8 iPads) that only affects phonegap build and it hasn't been fixed yet, so, best option for you is switch to local cordova/phonegap development and continue using input file or use the camera+file transfer plugins
- 29 Posts
- 0 Reply Likes
Thank you so much!!! I see for local development!!
Only I must to study it because I never work in local with phonegap!
I hope I found a good manual for translate muy config.xml of PGB to the local PG.
Plug-ins etc...
thanks
Only I must to study it because I never work in local with phonegap!
I hope I found a good manual for translate muy config.xml of PGB to the local PG.
Plug-ins etc...
thanks
Related Categories
-
PhoneGap Build
- 15111 Conversations
- 275 Followers
-
Plugins
- 1283 Conversations
- 38 Followers


