[TIMOB-23569] SDK Release containing 2 Bug Fixes
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2016-06-30T08:00:56.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 6.0.0 |
Components | Android |
Labels | n/a |
Reporter | Sidney |
Assignee | Ashraf Abu |
Created | 2016-06-13T14:17:39.000+0000 |
Updated | 2018-08-06T17:49:23.000+0000 |
Hey there, the first one can be tracked in the above-mentioned ticket, the second one is fixed in all Ti.SDK versions starting in 5.0.0 (so also 5.1.0, 5.2.0 and 5.3.0, ...). Thanks!
According to TIMOB-23229, the last version I can use with it fixes is 5.2.2. and as it is 5.x version, it should include the second bug resolution. Am I right? Where Can I find compiled 5.2.2 SDK version?
msamah this is the ticket I talked to you before. Txs for your supporte team!
@msamah
[~sidneyhaddad] The fix in TIMOB-23229 should have resolved both the issues that you mention. The solution for TIMOB-23229 was to provide a custom SDK with that fix, thus, it's not in the Master Branch. Did you previously use a version that allowed you to have that functionality? Were you using that?
@msamah I was using the modified SDK posted on description of TIMOB-23229. I understood that version 5.2.2 should have both fixes, problem is that I didn't find this compiled SDK version anywhere. where can I find it? Any idea on when this fix is moving to master Branch?
Do you guys have any news about it? Our app users are waiting for this :( and I don't know how to resolve it yet. txs for your support.
[~sidneyhaddad], the latest Titanium SDK can be downloaded through Appcelerator Studio or manually [here](http://builds.appcelerator.com/#5_2_X), but you still should install it through Studio.
@hknoechel, txs for you quick message! I just compiled using version osx/5.2.3.v20160404160237 and I am still having problem on "webview upload error on android" resolved on TIMOB-23229, any idea?
It is not exposed in the SDK, yet. We are currently investigating a timeline to see if and when we can provide more information. Thank you!
I hope it doesn't take too much! thank you for your support. I will wait your words than.
@hknoechel do you guys have any update on this issue? Things are getting worst here because of this bug. :( Txs team!
I have no environment set for this compilation, would it be possible for you guys to compile it and make it available for me to resolve this issue?
@hknoechel is it possible to have this little help from you guys?
[~sidneyhaddad] This is the compiled SDK from that branch https://drive.google.com/file/d/0Bwc0Q8uRp3ZvVnlxSzRoMFo3Mnc/view?usp=sharing This is just a temporary link and will only be that for a short while.
I'll be adding this fix/PR in 6.0.0.
PR for master: https://github.com/appcelerator/titanium_mobile/pull/8082
Great to know that it is going to be available on 6.0.0! Txs very much! I just tested it and the application is working just fine but in the log I see this message when I click in the from remote webview: [ERROR] : TiWebChromeClient: (main) [9148,23167] Unable to create Image File [ERROR] : TiWebChromeClient: java.io.IOException: open failed: EACCES (Permission denied) [ERROR] : TiWebChromeClient: at java.io.File.createNewFile(File.java:942) [ERROR] : TiWebChromeClient: at java.io.File.createTempFile(File.java:1007) [ERROR] : TiWebChromeClient: at ti.modules.titanium.ui.widget.webview.TiWebChromeClient.createImageFile(TiWebChromeClient.java:415) [ERROR] : TiWebChromeClient: at ti.modules.titanium.ui.widget.webview.TiWebChromeClient.onShowFileChooser(TiWebChromeClient.java:274) [ERROR] : TiWebChromeClient: at com.android.webview.chromium.WebViewContentsClientAdapter.showFileChooser(WebViewContentsClientAdapter.java:1069) [ERROR] : TiWebChromeClient: at org.chromium.android_webview.AwWebContentsDelegateAdapter.runFileChooser(AwWebContentsDelegateAdapter.java:220) [ERROR] : TiWebChromeClient: at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method) [ERROR] : TiWebChromeClient: at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:39) [ERROR] : TiWebChromeClient: at android.os.Handler.dispatchMessage(Handler.java:102) [ERROR] : TiWebChromeClient: at android.os.Looper.loop(Looper.java:158) [ERROR] : TiWebChromeClient: at android.app.ActivityThread.main(ActivityThread.java:7229) [ERROR] : TiWebChromeClient: at java.lang.reflect.Method.invoke(Native Method) [ERROR] : TiWebChromeClient: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230) [ERROR] : TiWebChromeClient: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120) [ERROR] : TiWebChromeClient: Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied) [ERROR] : TiWebChromeClient: at libcore.io.Posix.open(Native Method) [ERROR] : TiWebChromeClient: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186) [ERROR] : TiWebChromeClient: at java.io.File.createNewFile(File.java:935) [ERROR] : TiWebChromeClient: ... 13 more The app is working but this message is showing on log. Any idea? Those are the permissions I have on tiapp.xml
That error looks like it's a permission error on an Android 6.0+. https://developer.android.com/training/permissions/requesting.html You need to request the permission at runtime in the app. Example:- http://docs.appcelerator.com/platform/latest/#!/api/Titanium.Filesystem-method-requestStoragePermissions
If you do not request the runtime permission, you would just not have the ability to take photos from the camera and upload it. This error can be ignored otherwise.
Testcase is from TIMOB-19463
After opening the webview, click in button "Choose" and make sure that application open the view to select files.
Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.