Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-23569] SDK Release containing 2 Bug Fixes

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2016-06-30T08:00:56.000+0000
Affected Version/sn/a
Fix Version/sRelease 6.0.0
ComponentsAndroid
Labelsn/a
ReporterSidney
AssigneeAshraf Abu
Created2016-06-13T14:17:39.000+0000
Updated2018-08-06T17:49:23.000+0000

Description

Comments

  1. Hans Knöchel 2016-06-13

    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!
  2. Sidney 2016-06-14

    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?
  3. Sidney 2016-06-14

    msamah this is the ticket I talked to you before. Txs for your supporte team!
  4. Sidney 2016-06-14

    @msamah
  5. Ashraf Abu 2016-06-16

    [~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?
  6. Sidney 2016-06-16

    @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?
  7. Sidney 2016-06-20

    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.
  8. Hans Knöchel 2016-06-20

    [~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.
  9. Sidney 2016-06-20

    @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?
  10. Hans Knöchel 2016-06-20

    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!
  11. Sidney 2016-06-20

    I hope it doesn't take too much! thank you for your support. I will wait your words than.
  12. Sidney 2016-06-23

    @hknoechel do you guys have any update on this issue? Things are getting worst here because of this bug. :( Txs team!
  13. Ashraf Abu 2016-06-24

  14. Sidney 2016-06-24

    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?
  15. Sidney 2016-06-27

    @hknoechel is it possible to have this little help from you guys?
  16. Ashraf Abu 2016-06-28

    [~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.
  17. Ashraf Abu 2016-06-28

    I'll be adding this fix/PR in 6.0.0.
  18. Ashraf Abu 2016-06-28

    PR for master: https://github.com/appcelerator/titanium_mobile/pull/8082
  19. Sidney 2016-06-28

    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
  20. Ashraf Abu 2016-06-29

    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
  21. Ashraf Abu 2016-06-29

    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.
  22. Ashraf Abu 2016-08-01

    Testcase is from TIMOB-19463
        var webview = Titanium.UI.createWebView({url:'http://demoserver.tacme.net:3030/MOFDIGI/Portal/new-waiste-container-mobile.html'});
         var window = Titanium.UI.createWindow();
         window.add(webview);
         window.open();
        
  23. Sidney 2016-08-01

    After opening the webview, click in button "Choose" and make sure that application open the view to select files.
  24. Eric Merriman 2018-08-06

    Cleaning up older fixed issues. If this issue should not have been closed as fixed, please reopen.

JSON Source