cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nattapol Taboonma (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CB-7679) [InAppBrowser][iOS 8] Plugin closes itself before image picker shown
Date Tue, 11 Nov 2014 04:02:34 GMT

     [ https://issues.apache.org/jira/browse/CB-7679?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nattapol Taboonma updated CB-7679:
----------------------------------
    Description: 
I use inappbrowser plugin from the following link : https://github.com/apache/cordova-plugin-inappbrowser

Firstly,I open the Disqus on the inapp browser and it perform perfectly fine. Unfortunately,
when I click the upload photo icon, then the 2 native buttons will show up. The buttons are
'Take Photo' and 'Choose Existing'. No matter buttons I tapped, the inappbrowser close immediately,
and it lead to error 

Warning: Attempt to present <UIImagePickerController: 0x17aed600> on <CDVInAppBrowserNavigationController:
0x175e3770> whose view is not in the window hierarchy!

After that, the inappbrowser seem to broke permanently. I have to close and re-start my app
to make it work again.

For more info, I already try the tutorial from this: http://www.codepool.biz/tech-frontier/html5/take-a-photo-and-upload-it-on-mobile-phones-with-html5.html
with out the inappbrowser the image ui picker work perfectly fine, it surely that the error
not come from the image select code, but it from the inappbrowser itself.

I'm waiting for hearing from you.

  was:
I use inappbrowser plugin from the following link : https://github.com/apache/cordova-plugin-inappbrowser

Firstly,I open the Disqus on the inapp browser and it perform perfectly fine. Unfortunately,
when I click the upload photo icon, then the 2 native buttons will show up. The buttons are
'Take Photo' and 'Choose Existing'. No matter buttons I tapped, the inappbrowser close immediately,
and it lead to error 

Warning: Attempt to present <UIImagePickerController: 0x17aed600> on <CDVInAppBrowserNavigationController:
0x175e3770> whose view is not in the window hierarchy!

After that, the inappbrowser seem to broke permanently. I have to close and re-start my app
to make it work again.

For more info, I already try the tutorial from this: http://www.codepool.biz/tech-frontier/html5/take-a-photo-and-upload-it-on-mobile-phones-with-html5.html
with out the inappbrowser the image ui picker work perfectly fine, it surely that the error
not come from the image select code, but it from the inappbrowser itself.

I'm waiting for hearing from you.

Best Regards.
Nattapol Taboonma


> [InAppBrowser][iOS 8] Plugin closes itself before image picker shown
> --------------------------------------------------------------------
>
>                 Key: CB-7679
>                 URL: https://issues.apache.org/jira/browse/CB-7679
>             Project: Apache Cordova
>          Issue Type: Sub-task
>          Components: Plugin InAppBrowser
>    Affects Versions: 3.5.0
>         Environment: IOS8,Cordova Plugin
>            Reporter: Nattapol Taboonma
>            Priority: Critical
>
> I use inappbrowser plugin from the following link : https://github.com/apache/cordova-plugin-inappbrowser
> Firstly,I open the Disqus on the inapp browser and it perform perfectly fine. Unfortunately,
when I click the upload photo icon, then the 2 native buttons will show up. The buttons are
'Take Photo' and 'Choose Existing'. No matter buttons I tapped, the inappbrowser close immediately,
and it lead to error 
> Warning: Attempt to present <UIImagePickerController: 0x17aed600> on <CDVInAppBrowserNavigationController:
0x175e3770> whose view is not in the window hierarchy!
> After that, the inappbrowser seem to broke permanently. I have to close and re-start
my app to make it work again.
> For more info, I already try the tutorial from this: http://www.codepool.biz/tech-frontier/html5/take-a-photo-and-upload-it-on-mobile-phones-with-html5.html
> with out the inappbrowser the image ui picker work perfectly fine, it surely that the
error not come from the image select code, but it from the inappbrowser itself.
> I'm waiting for hearing from you.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message