Coder Social home page Coder Social logo

Comments (14)

kolbasa avatar kolbasa commented on June 27, 2024

On which device(emulator?), with which Android version does this happen?

from cordova-plugin-apkupdater.

carlocarlini avatar carlocarlini commented on June 27, 2024
  • Xiaomi 10 lite - Android 11
  • and Samsung J5 Prime - Android 8.0.0

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on June 27, 2024

Android Versions?

Edit: Ok, you added the versions.

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on June 27, 2024

And this also happens with the Samsung device?

from cordova-plugin-apkupdater.

carlocarlini avatar carlocarlini commented on June 27, 2024

WIth Samsung the screen of the installation overlaps the screen of the App and the message is not even shown. The App just quits

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on June 27, 2024

Ok, thanks for the tip. I'll see what I can do.
I'll definitely have to check that out. 👍

from cordova-plugin-apkupdater.

carlocarlini avatar carlocarlini commented on June 27, 2024

thanks to you, i will be glad to test on my devices

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on June 27, 2024

So far, I have not been able to reproduce the behavior here. I also fear that there is nothing I can do here. The actual installation is managed by Android.
However, the update should still install in that case. Only the restart of the app fails.

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on June 27, 2024

The issue is reopened. I can reproduce it now after all and am already working on a solution.

Here you can see some progress. The plugin can skip the dialog completely and start the app without having to press "Open".

Dialog

from cordova-plugin-apkupdater.

carlocarlini avatar carlocarlini commented on June 27, 2024

Hi
is it already possible to test the update?

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on June 27, 2024

No, not yet. For this to work a permission must be requested from the user (MANAGE_OVERLAY_PERMISSION).
For the example I have set the permission manually.
So I still need to build the function to request it. I need one more day.

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on June 27, 2024

Okay, I'm an idiot. I've been looking for a way to trick Android for hours now. And now I realize that it was just a little bug in my installation logic.
The bug is now fixed on the master branch and can already be tested with the demo.
I will create a release version soon.

from cordova-plugin-apkupdater.

carlocarlini avatar carlocarlini commented on June 27, 2024

if you are an idiot i'd like to be idiot too...
i'm looking forward to test the update of the updater ;)

from cordova-plugin-apkupdater.

kolbasa avatar kolbasa commented on June 27, 2024

See release: 1.2.4. You are welcome to reopen the issue if it still doesn't work.

from cordova-plugin-apkupdater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.