Comments (4)
Are you testing the app(version = 2) in debug mode? If that's the case you need to sign the apk with same key used to build app(version = 3) and build a signed apk. Hope this will solve your issue. If not please let me know.
The reason android OS is not able to install the update as the current app(version = 2) is not signed.
from inappupdater.
I tried this, unfortunately this doesn't work.
from inappupdater.
Sorry for being away. I tried the same code you have added above and was not able to reproduce the problem when I'm using signed apks(Build -> Generate Signed Bundle / APK). But I was able to experience the behavior you have stated when just running the app via Android Studio using the debug mode and just building apks(without signing)(Build -> Build Bundle(s) / APK(s))
from inappupdater.
This is strange, but Google support says this:
Please note that we only support the update while you have downloaded your app from Google Play at least once before using the account to test in-app updates.
To solve this issue, please download app with version 1.2 in Google Play Store and upload a new apk with higher version in Alpha track. After it pass the review, you can try the in-app update again.
Unfortunatly, we are only able to assist the issue if the app is downloaded from Google Play Store instead of installing APK files manually.
Please note that the error install from other source is out of our scope. As a result, we'll still recommend you to use the In App Updates feature while the app is downloaded from our Google Play Store.
So, I downloaded 1.2 on my phone, upload 1.3 to the Google Play, and now I can update my app. But if I build signed apk with 1.2 version using the same key and download it to my phone, I can't do the same, and this is strange because you can do it. Anyway, I think it's Google's area of responsibility. Thanks!
from inappupdater.
Related Issues (20)
- Failed to resolve: com.github.SanojPunchihewa:InAppUpdater:1.0.5 in Android Studio Artic Fox HOT 1
- [BUG]Fatal Exception: java.lang.NullPointerException Attempt to invoke virtual method 'void android.app.Activity.startIntentSenderForResult(android.content.IntentSender, int, android.content.Intent, int, int, int, android.os.Bundle)' on a null object reference
- Close Update Screen after pending loading show
- [BUG] IN app update not working in samsung android 13
- [BUG] Update get cancel.
- app not updating after installing from in-app update screen. HOT 3
- Available Version is empty HOT 1
- [BUG] HOT 2
- [BUG] force update closing on back button. HOT 3
- flexible update not working. HOT 1
- Update not working HOT 1
- error not wroking with fragmentActivity HOT 3
- [BUG] I've got NPE report from firebase HOT 2
- [BUG] Crash and ANR on Huawei devices HOT 2
- Update app dialog disappears after a couple of seconds HOT 2
- Subscription pause and resubscribe HOT 1
- Request - ActivityResult HOT 3
- [BUG] Working fine but my colorAccent is black, so it not showing with black Snackbar HOT 4
- crash app : Failed to call observer method HOT 1
- Can't reset after No thanks click.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from inappupdater.