You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
In an iOS app generated by codenameone there is an issue using a BrowserComponent. The web page loaded, only have a to select files.
When you choose "Photo Library" or "Choose Files" works fine. But if you choose "Take Photo or video" the application closes abruptly.
To Reproduce
Steps to reproduce the behavior:
1.
Example code:
public void start()
{
if(current != null)
{
current.show();
return;
}
Form hi = new Form("", new BorderLayout());
BrowserComponent browser = new BrowserComponent();
String baseUrl = "https://xxxxxx.com/test.html";
browser.setURL(baseUrl);
hi.add(BorderLayout.CENTER, browser);
hi.show();
}
Compile a generate an iOS app with codenameone.
Open the app and click on Input component. Then select "Take Photo or video".
The app crash.
Expected behavior
Don't crash, take a picture or video and the photo are selected.
Screenshots
Here and example, but can be test it with any simple html with a form and an input to choose files.
Desktop (please complete the following information):
OS: iOS
Smartphone (please complete the following information):
Device: [iPhone 16]
The text was updated successfully, but these errors were encountered:
Describe the bug
In an iOS app generated by codenameone there is an issue using a BrowserComponent. The web page loaded, only have a to select files.
When you choose "Photo Library" or "Choose Files" works fine. But if you choose "Take Photo or video" the application closes abruptly.
To Reproduce
Steps to reproduce the behavior:
1.
Example code:
Expected behavior
Don't crash, take a picture or video and the photo are selected.
Screenshots
Here and example, but can be test it with any simple html with a form and an input to choose files.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: