merbin2012 / cordova-plugin-codeplay-in-app-update

Keeping your app up-to-date on your users’ devices enables them to try new features, as well as benefit from performance improvements and bug fixes. Although some users enable background updates when their device is connected to an unmetered connection, other users may need to be reminded to update. In-app updates is a Play Core library feature that introduces a new request flow to prompt active users to update your app.
7 stars 14 forks source link

Plugin works, but using the .update("immediate") always calls error handler #6

Open sithwarrior opened 2 years ago

sithwarrior commented 2 years ago

https://github.com/merbin2012/cordova-plugin-codeplay-in-app-update/blob/60f07fc220c03b3d38945e0ccfd42fa60c27e4b2/src/android/inappupdate.java#L110

The plugin is working fine, but for some reason, the error handler is always called with "Invalid action" as the error.

using the provided example:

cordova.plugins.inappupdate.update("immediate",function(){},function(){});

error Invalid action

edineibauer commented 2 years ago

same here

ayubUOL commented 2 years ago

Is this plugin working in Ionic ?

andreszs commented 2 years ago

Try this in-app update plugin which fixes that and works since Android 5.1. Both Flexible and Immediate updates are working.