• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
UBports Robot Logo UBports Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Opening saved files from webapp

Scheduled Pinned Locked Moved General
15 Posts 4 Posters 769 Views 1 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      mihael @MrT10001
      last edited by 13 Jul 2024, 14:54

      @MrT10001 Thank you for your reply. Yes, I can open the picture from the folder that I save it into, it is just that I have to use File Manager to go to that folder. What I would like to do is to open it straight from the webapp, after I download it - when it shows the downloads list and I click there, I select to open it with Gallery but then nothing happens.

      M 1 Reply Last reply 13 Jul 2024, 15:16 Reply Quote 0
      • M Offline
        MrT10001 @mihael
        last edited by MrT10001 13 Jul 2024, 15:16

        @mihael Yep, looks like permissions. If I open the photo in the file manager and then choose Gallery as the app, it opens in gallery and stays there (it has to be selected as photo and not album). You would need to set the permissions for the webapp to use gallery as the viewer.

        Edit, just tried using webber to create a Whatsapp webapp for me and it won't allow saying my browser is not up to date!

        Xiaomi Redmi Note 7.... And more...
        I have too many devices...

        M 1 Reply Last reply 13 Jul 2024, 15:49 Reply Quote 0
        • M Offline
          mihael @MrT10001
          last edited by 13 Jul 2024, 15:49

          @MrT10001 For whatsapp webapp please check the solution here: https://forums.ubports.com/post/77721

          Regarding permissions, how do I setup permissions for a webapp?

          M 1 Reply Last reply 13 Jul 2024, 16:24 Reply Quote 0
          • M Offline
            MrT10001 @mihael
            last edited by 13 Jul 2024, 16:24

            @mihael When I set up the Webapp I noticed a checkbox to link (dammit, I should have screenshotted) which I am trying to reproduce, but failing. When I have more time I am going to sit down and work this out (unless someone with more knowledge sorts it out).

            Xiaomi Redmi Note 7.... And more...
            I have too many devices...

            1 Reply Last reply Reply Quote 0
            • K Offline
              kugiigi
              last edited by 14 Jul 2024, 05:45

              It is probably a permission issue. There are checkboxes in Webber. I believe one of them is export files/contents.

              1 Reply Last reply Reply Quote 0
              • M Offline
                MrT10001
                last edited by MrT10001 14 Jul 2024, 10:38

                screenshot20240714_113456946.png

                This is my setup. I would tick the two boxes I have circled in red.

                Edit:

                Successfully setup Whatsapp on my device (thanks for the useragent tip), I still cannot open images in Gallery, even though I have selected it.

                Xiaomi Redmi Note 7.... And more...
                I have too many devices...

                M 1 Reply Last reply 14 Jul 2024, 11:17 Reply Quote 0
                • M Offline
                  mihael @MrT10001
                  last edited by 14 Jul 2024, 11:17

                  @MrT10001 It looks like you managed to reproduce the issue that I'm talking about...

                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    mihael
                    last edited by 17 Jul 2024, 09:58

                    And it's the same with any other type of documents, like pdfs, etc - no downloads can be opened directly from the webapp's downloads list.

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mihael
                      last edited by 24 Jul 2024, 07:41

                      I made a webapp for another website and there is no problem to open downloaded pictures directly in Gallery from that webapp... So it only happens to web.whatsapp.com... What could the problem be then?

                      M 1 Reply Last reply 2 Aug 2024, 12:09 Reply Quote 0
                      • * Offline
                        *george9843 Banned
                        last edited by 2 Aug 2024, 12:03

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          MrT10001 @mihael
                          last edited by 2 Aug 2024, 12:09

                          @mihael At a guess it will be security related on the WhatsApp side.

                          Xiaomi Redmi Note 7.... And more...
                          I have too many devices...

                          M 1 Reply Last reply 2 Aug 2024, 17:39 Reply Quote 0
                          • M Offline
                            mihael @MrT10001
                            last edited by 2 Aug 2024, 17:39

                            @MrT10001 And what could it be? - so that I could work around that... I'm rather sure it's a bug because once the file is in the download list, the website should not be able to interfere with the webapp... unless it has anything to do with the name of the file - which name is indeed related to whatsapp.

                            The thing is that the logs don't show any helpful information in this matter...

                            M 1 Reply Last reply 2 Aug 2024, 19:29 Reply Quote 0
                            • M Offline
                              MrT10001 @mihael
                              last edited by MrT10001 8 Feb 2024, 19:37 2 Aug 2024, 19:29

                              @mihael Logic would point to the Whatsapp side if another webapp was able to open images directly in gallery.

                              Xiaomi Redmi Note 7.... And more...
                              I have too many devices...

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post