vitaminncpp / TouchDroid

An Android App that can be used as laptop touchpad via local Network
GNU General Public License v3.0
167 stars 7 forks source link

wrong APK ersion? #20

Closed IzzySoft closed 1 year ago

IzzySoft commented 2 years ago

While the APK file attached to release v1.4.0 is named MouseRemove-1.4.0.apk, it identifies as v1.1.0:

package: name='com.akshayaap.mouseremote' versionCode='2' versionName='1.1.0' compileSdkVersion='32' compileSdkVersionCodename='12'

The build.gradle at that tag also states 1.1.0 (and also versionCode:2). Could you please adjust that?

Thanks in advance!

PS: Looking at the other releases, maybe you just misnamed the tag and the APK is fine?

vitaminncpp commented 2 years ago

Thank you for considering my application. The issue raised by you will be fixed shortly. It will be reflected in next patch release v1.4.1.

IzzySoft commented 2 years ago

Thanks a lot! Your app is btw. available now via my repo. If you wish you can pick a badge and link there e.g. from your Readme. And if you have a dedicated icon (currently your app is using the Android default icon), it can be integrated easily (as can screenshots if there are any).

vitaminncpp commented 2 years ago
vitaminncpp commented 2 years ago
IzzySoft commented 2 years ago

I already have added custom icon.

Where can I find it? the one at https://github.com/Akshayaap/MouseRemote/blob/master/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.webp is the Android default icon. I could not find another one.

there is little typo mistake in the link to MouseRemoteServer in your repo

If it's the same one you have in your Readme, I've just fixed this now (goes live in about an hour). If not, please point out what it is and I will take care. And apologies, but I cannot communicate with Gmail accounts.

will you please tell me that I am allowed to make changes

Sure. Most details are described here. My updater fetches new releases within 24h of your tagging them and having an APK attached to the tag. As for description, screenshots etc: you can use Fastlane structures in your repo here to maintain them yourself, my updater then fetches them along with new releases. If you wish, I can send you a "starter package" from what is set up with my repo as PR here.

As the new releases will be published I will need to update in your repo accordingly.

Yes, of course – they will as described. "Pickup time" usually is between 5 pm and 6 pm UTC (or rather 7 pm and 8 pm CE(S)T).

IzzySoft commented 2 years ago

PS: You only fixed it partially. v1.4.1 still has versionCode: 2. This must be increased with each release as it is what Android uses internally to tell versions apart. For technical reasons, the combination applicationId+ versionCode must be unique. Your v1.4.1 now simply replaced (woverwrote) the previous one with the same versionCode, and no users were informed as versionCode was not increased (so Android considers it the very same app and version and thus decides to not put out an update notification – and of course to not update the installed app).

vitaminncpp commented 2 years ago
IzzySoft commented 2 years ago

Thanks @Akshayaap – I've added the new icon and ran a manually triggered update for you (the latter would have run automatically in about3 hours), so you can see what happens whenever you have a new release ready:

$ getRelease -vp com.akshayaap.mouseremote
com.akshayaap.mouseremote: looking for 'https://api.github.com/repos/Akshayaap/MouseRemote/releases'
com.akshayaap.mouseremote: checking tag 'v1.4.2'
com.akshayaap.mouseremote: lastRelNo set to '1.4.2', checking for files
Upstream file date (2022-09-09 12:37) is newer than ours (2022-09-07 02:00).
com.akshayaap.mouseremote: returning ['1.4.2','https://github.com/Akshayaap/MouseRemote/releases/download/v1.4.2/MouseRemote-1.4.2.apk']
com.akshayaap.mouseremote: 1.4.1/1.4.2, https://github.com/Akshayaap/MouseRemote/releases: https://github.com/Akshayaap/MouseRemote/releases/download/v1.4.2/MouseRemote-1.4.2.apk
- Grabbing update for com.akshayaap.mouseremote: OK
- Checking 'com.akshayaap.mouseremote_4.apk' for libraries and malware …
com.akshayaap.mouseremote: check if repo contains FUNDING.yml
com.akshayaap.mouseremote: looking for 'https://api.github.com/repos/Akshayaap/MouseRemote/contents/.github'
com.akshayaap.mouseremote: Github reports "Not Found" for https://api.github.com/repos/Akshayaap/MouseRemote/contents/.github
com.akshayaap.mouseremote: looking for 'https://api.github.com/repos/Akshayaap/MouseRemote/contents/'
com.akshayaap.mouseremote: no FUNDING.yml detected.
com.akshayaap.mouseremote: no Fastlane configured, skipping Fastlane check.

So the new tag was found, the APK attached to it was fetched, passed all checks – and will go live with the next sync. My offer for a "Fastlane starter package" still stands :wink:

vitaminncpp commented 2 years ago
IzzySoft commented 2 years ago

I've linked my Fastlane Cheat Sheet above already, everything's there. Plus some formatting hints for full_description.txt here. I'll send you a starter package in a few minutes to make it easier for you.

vitaminncpp commented 1 year ago
IzzySoft commented 1 year ago

A new applicationId means a different app (users also cannot simply "update" the existing app to the renamed one) – which means we'll need to list it as new app. Doing so, we can insert a note to the old entry stating it's discontinued and link to the new one. Then, giving users a decent time to "move over", the old record should be deleted (e.g. at the end of the year).

If there are settings / data, I hope the current version offers a way to export those, and the new one has means to import that, to ease migration?